have this weird issue I cant figure out. I am deploying integrated MDT with SCCM OSD and a step I am doing is renaming the local administrator and guest accounts. I deploy to 6 laptops .. It works fine on 4 of the 6. It just wont work on the 2 newer models (EliteBook 845G7 and Lenovo T495) but works fine on EliteBook 745 G6 and my ther models just fine. I checked the logs and there are no errors. I am using powershell commands to rename them
(Get-WmiObject Win32_UserAccount -Filter "name='administrator'").Rename("newname")
Also tried
Rename-LocalUser -name "Administrator" -NewName "newname"
Rename-LocalUser -Name "Guest" -NewName "newname"
Disable-LocalUser -Name "newname"
Like I said it works on 4 of the 6 models. Anyone ever heard of a issue like this?
(Get-WmiObject Win32_UserAccount -Filter "name='administrator'").Rename("newname")
Also tried
Rename-LocalUser -name "Administrator" -NewName "newname"
Rename-LocalUser -Name "Guest" -NewName "newname"
Disable-LocalUser -Name "newname"
Like I said it works on 4 of the 6 models. Anyone ever heard of a issue like this?