Friday, June 30, 2017

Use PowerShell to find local administrator password of a computer which uses MS LAPS


You can open Powershell as administrator from domain controller or from a client machine which has RSAT installed.

If you are using an older version of powershell make sure you import active directory module by typing 

Get-module Activedirectory 

Run the below command to get the ms-Mcs-AdmPwd 

Get-ADComputer -identity computername -properties * | Select-Object -Property ms-Mcs-AdmPwd



No comments:

How to Install RSAT on Windows 11 - 23H2

 Run Powershell as Admin Change the following registry key that manages the Windows Update source. HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Micr...