Skip to content

SCCM is removing configured register values after OSD

Featured Replies

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

  • Author

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.

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

  • 3 years later...

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.

 

 

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.