Jump to content


  • 0
glen8

Deplopying AutoLogin reg key in OSD TS

Question

Hi all,

 

I have a .reg file which adds the autologin keys for admins. This is needed for after an OSD deployment as the machine has to auto login as the local admin to finish off certain scripts before going out to the end user.

 

If manually run from the desktop the reg key works ok, but it doesn't work from within an OSD deployment. The actual package installs after after the first reboot windows attempts to autologin but fails. It's as if the password is incorrect but like I say it works fine if done manually.

 

The file is...

 

Windows Registry Editor Version 5.00

 

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon]

 

"AutoAdminLogon"="1"

"DefaultUserName"="blah"

"DefaultPassword"="blahpassword"

 

I guess I'm going to have to somehow run another reg key to remove after the first reboot. Has anyone done something similar, and if so how? Thanks!!

Share this post


Link to post
Share on other sites

7 answers to this question

Recommended Posts

  • 0

One other alternative to keep in mind... Tweak your scripts so they can run from SCCM so there's no need to auto login. When a packaged script is set to run with administrative rights they're running as SYSTEM so they can do pretty much whatever you need. And you can populate the registry keys for new users by loading the default user profile's registry hive, making changes, then unloading it. Just a thread with a quick example: http://www.windows-noob.com/forums/index.php?/topic/3379-configure-default-user-profile-while-deploying-windows-7/

Share this post


Link to post
Share on other sites

  • 0

Can't automate certain packages? Hmmm in cases where I've run into those types of apps, a quick VBScript wrapper did the trick. Most were poorly packaged and turned out to just needed me to grab the installed files from a manual install and then let the script copy them over and populate a few registry keys.

 

Anyway, like I said, just tossing it out there...

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
Answer this question...

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