LAPS and PowerShell RRS feed

  • Question

  • We have LAPS installed and running but I am having an issue with get-admpwdpassword

    From a server, I can run this cmdlet, enter the computer name, and receive the password.

    From my PC, I do a PS remote session to the server, connecting as the same user, run the cmdlet, enter the computer name and receive this error:

    An operation error occurred.
        + CategoryInfo          : NotSpecified: (:) [Get-AdmPwdPassword], DirectoryOperationException 
        + FullyQualifiedErrorId : System.DirectoryServices.Protocols.DirectoryOperationException,AdmPwd.PS.GetPassword 

    I get the same error if running the PowerShell Web Access.

    Any ideas would be greatly appreciated.


    Friday, December 14, 2018 7:14 PM

All replies

  • You cannot use remoting with LAPS CmdLets.  It is restricted by the second hop restriction.


    Friday, December 14, 2018 10:11 PM
  • Hi,

    Was your issue resolved?

    If you resolved it using our solution, please "mark it as answer" to help other community members find the helpful reply quickly.

    If you resolve it using your own solution, please share your experience and solution here. It will be very beneficial for other community members who have similar questions.

    If no, please reply and tell us the current situation in order to provide further help.

    Best Regards,


    Just do it.

    Monday, December 24, 2018 3:07 AM