stylaren Posted November 18, 2014 Report post Posted November 18, 2014 Hello! Im trying to deploy Windows Embedded 8.1 with alot of configured register values, the problem is that SCCM is running some "cleanup" when the task sequence is completed so my configured values is reset or deleted. I've found this blog post regarding MDT 2010 cleaning up register values.. But I don't really understand how this works in SCCM. The values that SCCM "resets" is the following: [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon] "AutoAdminLogon"="1" "DefaultPassword"="User" I know that my script that im running is working since I'm via regedit can see that the values are set under the OSD. Also tried to use the SMSTSPostAction variable with a simple .bat script that add the register values without success.. Any suggestions how i can solve this? Thank in advance! // Stylaren Quote Share this post Link to post Share on other sites More sharing options...
ludi2014 Posted November 18, 2014 Report post Posted November 18, 2014 I em shure powershell scritpt can do for you very easy.like this $RegPath = "HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" remove-ItemProperty $RegPath "AutoAdminLogon" -Value "1" -type String kind regard Safet Grahic http://www.learnmesccm.com/ https://www.linkedin...ahic/a0/842/b21 Quote Share this post Link to post Share on other sites More sharing options...
stylaren Posted November 18, 2014 Report post Posted November 18, 2014 Thank you for your answer Ludi2014. Actually i don't wan't to remove the value, i wan't to keep since I wan't a spesific user to logon automatically. Sorry if i was unclear. But for some reason, SCCM removed/reset two of my values i try to set in the task sequence. SCCM is reseting AutoAdminLogon to 0 and completely removed DefaultPassword. Quote Share this post Link to post Share on other sites More sharing options...
ludi2014 Posted November 19, 2014 Report post Posted November 19, 2014 hi $RegPath = "HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" Set-ItemProperty $RegPath "AutoAdminLogon" -Value "1" -type String Set-ItemProperty $RegPath "DefaultUsername" -Value "DomainName\Administrator" -type String Set-ItemProperty $RegPath "DefaultPassword" -Value "Password" -type String kind regard Safet Grahic http://www.learnmesccm.com/ https://www.linkedin...ahic/a0/842/b21 Quote Share this post Link to post Share on other sites More sharing options...
tuffno Posted January 25, 2018 Report post Posted January 25, 2018 You misunderstand the problem Ludi2014. The problem isn't creating the registry value. Its that even if you create all the values needed for autologon during an OSD-Task there is an invisible cleanup that removes AutoAdminLogon and DefaultUserName which makes autologon not work on first boot. Quote Share this post Link to post Share on other sites More sharing options...