LAPS Not showing password - ms-Mcs-AdmPwd not set;

mohamed tawfik 1 Reputation point
2020-07-29T21:25:18.293+00:00

Hi Everyone,

i tried to installed LAPS but its not showing the password, but i am able to see and send and view password expiry

my steps :

  1. install LAPS on my DC
  2. Created a security group ' LAPS Admins' and given all extendded rights
  3. Deployed LAPS through GPO to OU 'Domain Computers'
  4. Created a GPO to OU 'Domain Computers' to enable local Admin password managment
  5. Enabled Administrator Account on local machine

PS C:\Windows\system32> Import-module AdmPwd.PS
PS C:\Windows\system32> Update-AdmPwdADSchema

Operation DistinguishedName Status


AddSchemaAttribute cn=ms-Mcs-AdmPwdExpirationTime,CN=Schema,CN=Configuration,DC=o... EntryAlreadyExists
AddSchemaAttribute cn=ms-Mcs-AdmPwd,CN=Schema,CN=Configuration,DC=Domain... EntryAlreadyExists
ModifySchemaClass cn=computer,CN=Schema,CN=Configuration,DC=Domain,DC=c... AttributeOrValueExists

PS C:\Windows\system32> Set-AdmPwdComputerSelfPermission -OrgUnit 'Domain Computers'

Name DistinguishedName Status


Domain Computers OU=Domain Computers,DC=Domain,DC=co,DC=uk Delegated

PS C:\Windows\system32> Set-AdmPwdReadPasswordPermission -OrgUnit 'domain computers' -AllowedPrincipals 'LAPS Admins'

Name DistinguishedName Status


Domain Computers OU=Domain Computers,DC=Domain,DC=co,DC=uk Delegated

PS C:\Windows\system32> Set-AdmPwdResetPasswordPermission -OrgUnit 'domain computers' -AllowedPrincipals 'LAPS Admins'

Name DistinguishedName Status


Domain Computers OU=Domain Computers,DC=Domain,DC=co,DC=uk Delegated

PS C:\Windows\system32> Get-AdmPwdPassword Computer Name

ComputerName DistinguishedName Password ExpirationTimestamp


Computer Name CN=Computer Name,OU=Domain Computers,DC=Domain... 29/07/2020 18:22:24Thanks
Mo

Windows for business | Windows Client for IT Pros | User experience | Other
0 comments No comments
{count} votes

10 answers

Sort by: Most helpful
  1. mohamed tawfik 1 Reputation point
    2020-08-03T18:24:50.83+00:00

    Hi Hannah,

    I have also tried the power shell as administrator and got the below results

    PS C:\Windows\system32> Get-AdmPwdPassword Computer Name

    ComputerName DistinguishedName Password ExpirationTimestamp


    Computer Name CN=Computer Name,OU=Domain Computers,DC=domain... 29/07/2020 18:22:24

    0 comments No comments

  2. Anonymous
    2020-08-04T06:03:38.963+00:00

    Hi,

    Thank you so much for your feedback.

    Usually, we try to deploy LAPS according to the following steps:

    1.Install LAPS.msi on one domain controller.

    2.Install LAPS to all the clients via GPO and check if we install LAPS on clients..
    Computer Configuration->Policies->Software Settings->Right click Software Installation and click New->Package

    3.Import module AdmPwd.PS and update AdmPwdADSchema on DC.
    Import-module AdmPwd.PS
    Update-AdmPwdADSchema

    We need to run these commands while logged in to the network as a schema admin.

    4.Adding Machine Rights
    We need to delegate to right to allow the computer object to write to the ms-MCS-AdmPwd and ms-Mcs-AdmPwdExpirationTime attributes.

    For example, the OU is called Computers.

    Set-AdmPwdComputerSelfPermission -OrgUnit "OU=Computers,DC=domain,DC=com"

    5.Check ExtendedRights permissions on OU

    To get information on the groups and users able to read the password (ms-MCS-AdmPwd) for a specific Organizational Unit (OU), run the following command.

    Find-AdmPwdExtendedRights -identity "OU=Computers,DC=domain,DC=com" | Format-Table ExtendedRightHolders

    6.Delegate a Security group the rights to view and reset LAPS

    Set-AdmPwdReadPasswordPermission -OrgUnit "OU=Computers,DC=domain,DC=com"-AllowedPrincipals <users or groups>
    Set-AdmPwdResetPasswordPermission -OrgUnit "OU=Computers,DC=domain,DC=com"-AllowedPrincipals <users or groups>

    7.Configure GPO for LAPS.

    15295-1111.png

    8.Restart the clients to make the GPO take effect.

    After the above steps, check whether we can view the local administrator password with PowerShell command or computer Properties or LAPS app.

    1.View the local administrator password on Computer Properties:

    15350-22.png

    2.Or view the local administrator password by running get-admpwdpassword ComputerName

    15416-2222.png

    3.View the local administrator password by LAPS app.

    15377-222.png

    We could kindly have a recheck of the deployment. It is also suggested that we could run gpresult /h to check the group policy result report to see whether the specific settings get applied or not.

    Best regards,
    Hannah Xiong


  3. Austin Tovey 101 Reputation points
    2021-10-06T20:36:32.87+00:00

    We had this but it turned out for us you needed to run LAPS GUI as Admin, or PowerShell as Admin then the passwords displayed. Otherwise blank. Hope this helps.

    0 comments No comments

  4. Silas Schulte 1 Reputation point
    2022-11-29T10:40:27.93+00:00

    Hello,

    i have the exact same Issue the Password is not set yet. Everything is configured.

    • "ms-Mcs-AdmPwd" shows <Nicht festgelegt/NotSet>
    • "ms-Mcs-AdmPwdExpirationTime" Shows Data like 133141913278269400

    Ive tryed everything to make it work.

    My Laps UI started as Administrator is attached Showing no Password and wrong Expire Time. The Default is set to 5 Days.

    265028-screenshot-2022-11-29-114005.png


  5. Yuka 0 Reputation points
    2023-08-10T02:58:21.6533333+00:00

    In case you are still waiting for the right answer pertaining to the ms-Mcs-AdmPwd still says <Not Set> or it shows empty in the password field of the LAPS fat client.

    Why it was empty is because your built-in .\Administrator account were still disabled by default.

    Go and enable it then do a gpupdate again and reboot the workstation. Hope that works for ya ~ cheers

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.