Jump to content

auto login win xp


Recommended Posts

hi thanks for a great forum

I havent made any unatttended cds for quite a while

but a freind needs me to make him one ive got it all working exsept auto loging in

when windows has finished installing as it loads to run my GuiRunOnce i get two logins new user and owner

i know ive done it before but cant find the awser thanks for reading

; Generated by nLite 1.4.7

[Data]
AutomaticUpdates="No"
Autopartition=0
MsDosInitiated=0
UnattendedInstall="Yes"

[Unattended]
UnattendMode=ReadOnly
UnattendSwitch="Yes"
OemPreinstall="Yes"
OemSkipEula="Yes"
FileSystem=*
WaitForReboot="No"
NoWaitAfterTextMode=1
NoWaitAfterGUIMode=1
DriverSigningPolicy=Ignore
NonDriverSigningPolicy=Ignore
OemPnPDriversPath= "Drivers\Display,Drivers\Display2,Drivers\Audio,Drivers\Network,Drivers\chipset,Drivers\SYSTEM"


[OemInfFiles]
OemDriverFlags = 1

[Display]
Xresolution = 1280
Yresolution = 1024


[SystemRestore]

[GuiUnattended]
AutoLogon = "Yes"
AdminPassword = *
EncryptedAdminPassword = "No"
TimeZone=085
OEMSkipRegional=1
OemSkipWelcome=1

[Components]

[UserData]
ProductKey="=========================="
ComputerName = "jim"
FullName = "owner"
OrgName = "owner"

[RegionalSettings]
LanguageGroup=1
SystemLocale="0809"
UserLocale="0809"
UserLocale_DefaultUser="0809"
InputLocale="0809:00000809"
InputLocale_DefaultUser="0809:00000809"

[Networking]
InstallDefaultComponents="Yes"

[Identification]
JoinWorkgroup="Home"


[GuiRunOnce]
%systemdrive%\install\start.cmd

Link to comment
Share on other sites

  • 3 weeks later...

To get the autologin working, you must set the following parameter in your "WINNT.SIF" file:

AutoLogonCount="1"

You must set a number of how many autologins you'd like to perform.

Edited by HØLLØW
Link to comment
Share on other sites

  • 3 weeks later...

OK, AutoLogon="Yes" in the WINNT.SIF or SYSPREP.INF are only intended to complete any build processing. To enable autologon once the build is complete you need to set some reg keys under HKLM\Software\Microsoft\Windows NT\CurrentVersion\Winlogon. MSKB 315231 gives you the details, but essentially you need to set these values:

  • AutoAdminLogon=1
  • DefaultUserName=<user account name>
  • DefaultPassword=<account password>
  • DefaultDomain=<domain or computername if in a workgroup>

But remember, if for some reason the user logs out and logs in with another username the DefaultUserName will change dynamically as it's intended to do, not to mention the password is sitting in your registry in cleartext. TweakUI can obfuscate this, but for those that know how, it's not difficult to obtain the password. Hence the reason autologins are not recommended on any OS.

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