Jump to content

Recommended Posts

Posted

I am having some trouble getting autologon to work properly. i am using BDD/OSD to create, sysprep, and capture an image. We have a GPO that renames our administrator account so specifiying autologon in Sysprep.inf doesn't want to work becuase it will always use "administrator" as the user name. What I have done previously was have a .reg file with the autoreg entries and then call it from cmdlines.txt during the install. That doesn't seem to be working anymore. here's my files

cmdlines.txt

[Commands]
"\sysprep\sysprep.exe -clean -quiet"
"regedit.exe /s AutoLogon.reg"

autologon.reg

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon]
"DefaultUserName"="LocalAdmin"
"AutoAdminLogon"="1"
"DefaultPassword"="pa$$word"
"autologoncount"="1"

sysprep.inf

[GuiUnattended]
AdminPassword="pa$$word"
OEMSkipWelcome=1
OEMSkipRegional=1
TimeZone=008
AutoLogon="Yes"
AutoLogonCount=1

i have also tried to take the autologon entries out of sysprep.inf to no avail. This has worked for me before, but now it just has the logon screen waiting for a login.


Posted (edited)

I was able to remote reg in it after it failed to login. It seems to be applying DefaultPassword and AutoLogonCount, but i dont see autoadminlogon and the DefaultUserName is still Administrator. It seems like it is applying some of it, there's no where else it could be getting the password

If i log in and apply the autolog.reg and reboot it will work.

Edited by crashball

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...