Forum Discussion
Wesoley
Apr 06, 2022Copper Contributor
Rename built-in local admin and change password
I'm trying to rename the local built-in admin account and change the password using the following Devices > Windows > Create custom profile > OMA-URI /Device/Vendor/MSFT/Policy/Config/LocalPoli...
- Apr 06, 2022So far as i know: yes… we created our own laps (powershell) to change those passwords. Leanlaps was the creation of that idea
Apr 06, 2022
Hi as responded on reddit:
https://www.reddit.com/r/Intune/comments/txkdyf/rename_builtin_admin_account_and_set_password/
Hi,
I noticed you also reached out in a comment.. Looking at what you are trying to do and the CSP. It looks like you can only change the administrator account name with it... but I don't see anything mentioned a password change?
Could you still login with the password that was configured for the old account? Could you also check if that account is disabled?
https://www.reddit.com/r/Intune/comments/txkdyf/rename_builtin_admin_account_and_set_password/
Hi,
I noticed you also reached out in a comment.. Looking at what you are trying to do and the CSP. It looks like you can only change the administrator account name with it... but I don't see anything mentioned a password change?
Could you still login with the password that was configured for the old account? Could you also check if that account is disabled?
- WesoleyApr 06, 2022Copper Contributor
Yes, I can still login with the password for the old account. No, the account is not disabled. Btw, I apologize for the double/triple posting. I should clarify - set password.
Is it that the ./Device/Vendor/MSFT/Accounts/Users/localadmin/Password will only set a password for a newly created account and not an existing one?
- Apr 06, 2022So far as i know: yes… we created our own laps (powershell) to change those passwords. Leanlaps was the creation of that idea
- WesoleyApr 06, 2022Copper ContributorAh, hence my current issue. I've deployed Leanlaps yesterday and it works pretty well. Will resort to this then. Thank you again for the insight.