Hello,
Thank you so much for posting here.
Microsoft removed the password function via group policy due to security consideration. We could use LAPS to manage local admin password. It is easy to set up and automatically manage local admin password on domain joined computers.
For more information about LAPS, please refer to:
https://learn.microsoft.com/en-us/previous-versions/mt227395(v=msdn.10)?redirectedfrom=MSDN
https://blog.thesysadmins.co.uk/deploying-microsoft-laps-part-1.html
https://blog.thesysadmins.co.uk/deploying-microsoft-laps-part-2.html
Best regards,
Hannah Xiong