Jump to content


stylaren

SCCM is removing configured register values after OSD

Recommended Posts

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

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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.

 

 

Share this post


Link to post
Share on other sites

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...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...


×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.