Forum Discussion
Local admin account creation error
Hi all,
I have set a policy to create a local admin which is erroring out on intune:
However the account logs in and is part of the admin group.
Any ideas why it is erroring out?
- rahuljindal-MVPBronze ContributorKnown bug related to the CSP. GET function not supported so the compliance is never reported as success. But the local admin account will apply.
- mbuonassissi-toyotaCopper Contributor
How do I find the official release on the known bug? Where did you see this as I need this information for a project I'm working on.
Thanks!
Mark
- Mathg76Brass ContributorMight i see what have you enter in the properties of that Configuration Profile please?
- AB21805Bronze Contributor
Thank you! I have a script to enable built in password which works on device as admin but via intune it doesnt is there something easy why? rahuljindal-MVP
$Username = "Administrator"
$Password = "my password" # Set your desired password# Enable the built-in Administrator account
Enable-LocalUser -Name $Username# Set the password for the Administrator account
$SecurePassword = ConvertTo-SecureString -String $Password -AsPlainText -Force
Set-LocalUser -Name $Username -Password $SecurePassword# Verify the Administrator account
Get-LocalUser $Username- rahuljindal-MVPBronze ContributorBetter to create a custom admin account instead of using the built-in. Here is a something you can look at..https://rahuljindalmyit.blogspot.com/2021/05/intune-different-ways-of-setting-local.html
- Mathg76Brass ContributorYou have it now in Intune! 🙂
https://techcommunity.microsoft.com/t5/intune-customer-success/announcing-windows-laps-management-through-microsoft-intune/ba-p/3801584
Working well!!!