Jump to content

Auto login after OOBE


pkx

Recommended Posts

I'm in the process of building my second unattended windows install. On the first one I did a year ago, the system automatically logged in for the first time as the top user after the OOBE asks for a list of users.

This is the desired result.

On my latest build, after the OOBE asks for a list of users, I just get the classic login screen.

How do I make it automatically login as the first user specified once?

Thanks!

Link to comment
Share on other sites


Sorry for the bump, but does anyone have any ideas? I've been fighting with this for days :).

If I set AutoLogon=Yes, then the OOBE user screen doesn't even come up and the machine automatically logs in as the administrator acct... even if it does not have a blank password.

How do I get it to automatically log on as the first user I specify during OOBE?

Thanks!

Link to comment
Share on other sites

Try setting AutoLogon to "No", and using one of these methods to designate the user you wish to log on.

http://unattended.msfn.org/unattended.xp/view/web/27/

FullUnattend mode will halt at the MiniSetup screen, and prompt you for a username. If you wish to bypass this, try DefaultHide instead.

Thanks Lazy8. I tried DefaultHide and it still did not have my desired result. I can't use autologon in the registry because I don't know the username that the person will type in at the OOBE screen... and I don't want to specify the username in the OOBEINFO.INI because I want the user to be able to choose it.

Here is the beginning of my WINNT.SIF:

[Data]
Autopartition = 0
MsDosInitiated = 0
UnattendedInstall = Yes

[Unattended]
UnattendMode = DefaultHide
UnattendSwitch = No
OemPreinstall = Yes
OemSkipEula = Yes
FileSystem = *
WaitForReboot = No
NoWaitAfterTextMode = 1
NoWaitAfterGUIMode = 1
DriverSigningPolicy = Ignore
NonDriverSigningPolicy = Ignore

[SystemRestore]

[GuiUnattended]
EncryptedAdminPassword = No
AdminPassword = L0caLAdm1n
TimeZone = 04
OEMSkipRegional = 1
OemSkipWelcome = 1

Any other ideas?

Link to comment
Share on other sites

Would turning off the classic login screen off help, instead using the welcome screen?

edit: nevermind, i dont think that would help at all. Don't mind me. :D

Edited by fly
Link to comment
Share on other sites

Figured it out!!

When I did my previous one by hand, I had the HKLM keys inserted in RunOnceEx.

NLite inserts HLKM entries prior to RunOnceEx.

If Classic logon is turned ON prior to RunOnceEx (HKLM,"SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon","LogonType",0x00010001,0), you get the classic logon screen that wants to login as administrator upon first boot.

Link to comment
Share on other sites

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