LAPS scanning credential Prerequisites are:
- AD LAPS is enabled on your domain.
- You're in possession of an account with admin rights for managing AD LAPS.
- The admin account must have the rights to run Remote PowerShell on the AD LAPS server.
When I test I get a "powershell connection to {DC} failed"
![paucaronka_0-1705976562397.png paucaronka_0-1705976562397.png](/t5/image/serverpage/image-id/3937iA6AE115C83BC14A5/image-size/medium?v=v2&px=400)
from the box lansweeper is installed I can PS: test-WSMan to the DC
![paucaronka_1-1705976562400.png paucaronka_1-1705976562400.png](/t5/image/serverpage/image-id/3936i333D1FB979B4776C/image-size/medium?v=v2&px=400)
As far as I can tell everything is set right and permissions are good. I can recover the correct LAPS password for that device using the LAPS GUI or powershell.
![paucaronka_2-1705976562402.png paucaronka_2-1705976562402.png](/t5/image/serverpage/image-id/3938i3EC85DD6CD348A94/image-size/medium?v=v2&px=400)
![paucaronka_3-1705976562404.png paucaronka_3-1705976562404.png](/t5/image/serverpage/image-id/3939iC9EF58EE69863ED1/image-size/medium?v=v2&px=400)
Any ideas?
How does the test tool operate?
does it construct a powershell command?
does it use a different port maybe blocked in the firewall?