Forum Discussion
Local admin account creation error
- mbuonassissi-toyotaAug 09, 2023Copper 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
- Mathg76Aug 09, 2023Brass ContributorMight i see what have you enter in the properties of that Configuration Profile please?
- mbuonassissi-toyotaAug 09, 2023Copper Contributor
LocalUserGroup [./Device/Vendor/MSFT/Accounts/Users/localadmin/LocalUserGroup]
and
Password [./Device/Vendor/MSFT/Accounts/Users/localadmin/Password]
Same old standard as everyone uses. Same result. This works, but the report shows it failed in intune.
- AB21805May 26, 2023Bronze 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-MVPMay 26, 2023Bronze 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
- AB21805May 26, 2023Bronze ContributorAs in I cant get the LAPS to appear in intune
I have set the policy with the correct user name