Hello Ka Ho Cheng,
Thank you for posting in Q&A forum.
For your request, you can read this article (Workarounds parts) and check if it helps.
I know more about manage the passwords of local administrator accounts on domain-joined machines in AD.
Managing local account passwords through Active Directory (AD) can be effectively done using Microsoft's Local Administrator Password Solution (LAPS). LAPS is specifically designed to manage the passwords of local administrator accounts on domain-joined machines in a secure and automated way.
Below are the steps to deploy and configure LAPS:
Step 1: Check domain functional level and domain controller OS version requirements
Step 2: Extend the Active Directory Schema
Step 3: Configure Permissions in Active Directory Configure the necessary permissions to allow computers to update their passwords and to allow administrators to read the passwords.
Step 4: Configure Group Policy Create a GPO to configure LAPS settings.
1.Create a New GPO:
Open Group Policy Management and create a new GPO or edit an existing one.
2.Edit GPO Settings:
Navigate to **Computer Configuration** > **Administrative Templates** > **System** > **LAPS**
.
Define the Name of administrator account to manage
if you need to manage a specific account other than the default local administrator account.
Step 5: Monitor and Retrieve Passwords
You can retrieve the local administrator passwords using the LAPS UI or through PowerShell.
LAPS is a robust and secure solution for managing local administrator passwords on domain-joined machines, ensuring that passwords are rotated regularly and stored securely in Active Directory.
For more information, please refer to the links below:
https://learn.microsoft.com/en-us/windows-server/identity/laps/laps-scenarios-windows-server-active-directory
I hope the information above is helpful.
If you have any questions or concerns, please feel free to let us know.
Best Regards,
Daisy Zhou
============================================
If the Answer is helpful, please click "Accept Answer" and upvote it.