Jump to content

Recommended Posts

Posted

Hey!

I am having problems with doing a second Administrative Logon. Here are the files I am working with :

Setup.reg (called from the Cmdlines.txt)

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

"AutoAdminLogon"="1"

"DefaultUserName"="Administrateur"

"DefaultPassword"="mypassword"

I then call back a reboot command using the ShutDown.exe program, importing these values in the registry.

** Problem is when I want to log back, I still have the admin username/password screen. This prevents me from doing a fully unattended install as I import other RunOnceEx values to complete minor installs.

Anyone have an idea ?


Posted

Try adding (quick and dirty here - adapt accordingly)

AutoLogonCount = 2 (REG_DWORD)

DefaultDomainName = "%COMPUTERNAME%" (REG_SZ)

Posted

Hey!

Thank you very much for the hint as it finally works out very well! I was missing thse two values all along ...

Thanx again for saving me some precious time!

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