Forum Discussion
hkusulja
May 24, 2019MVP
Best practice for Win10 local admin user when computer offline
I have question about your best practices for organizations. Scenario: You have only Azure AD joined - Windows 10 computers, with Intune MDM management. Only one user is using Windows 10 PC devi...
Moe_Kinani
May 22, 2020Bronze Contributor
Have you tried Intune Powershell to update localuser name or password?
https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.localaccounts/set-localuser?view=powershell-5.1
Moe
https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.localaccounts/set-localuser?view=powershell-5.1
Moe
Kevin Truong
May 26, 2020Copper Contributor
so i tried it, and i can manually run the ps1 on my computer, and it works, but when i try to run that as a script in Azure AD intunes, i get a error. What am i missing?