Laps Saved password count

Muhammad Hussain 201 Reputation points
2020-09-16T10:13:45.95+00:00

Is there any way we can count how many passwords are stored in our LAPS database?I have a command to export all the passwords but I don't want to export them I just want to count how many passwords of systems are available.

Active Directory
Active Directory
A set of directory-based technologies included in Windows Server.
6,431 questions
{count} votes

2 answers

Sort by: Most helpful
  1. Fan Fan 15,326 Reputation points Microsoft Vendor
    2020-09-17T01:37:44.5+00:00

    Hi,
    Thanks for posting here!
    I found you post the questions in other platform :
    https://community.spiceworks.com/topic/2288606-laps-saved-password-count

    I'm glad that a command was provided , and i tested that it should be working for you.
    If there's anything you'd like to know, don't hesitate to ask.
    Best Regards,


  2. Fan Fan 15,326 Reputation points Microsoft Vendor
    2020-09-17T06:25:29.757+00:00

    Hi,

    For your 2 questions:
    1,To view who has permissions, you can use the command :Find-AdmPwdExtendedRights
    Find-AdmPwdExtendedRights –Identity “OU Name”

    2,Based on my research, there is not such a command to remove the permission, we need to do it in another way:
    Open Active Directory Users and Computers as an account with Domain Admin rights
    Right click on the OU in question and select Properties
    Click on the Security tab
    Click Advanced
    Select the user or group to modify permissions for
    Click Edit
    Uncheck the All extended rights box

    Fan


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.