Jump to content

Recommended Posts

Posted

Hello,

Does anyone know of an easy way to autologin after a RIS install as a domain user rather than as a local user. I have tried inserting it into the registry, but for some reason it doesn't seem to pick it up at first boot.

any input would be appreciated.

Thanks


Posted

At what point did you insert the registry entries? If imported from Cmdlines.txt, I'd say it should work... You'll need the following entries:

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon]
"AutoAdminLogon"="1"
"DefaultDomainName"="DOMAIN"
"DefaultPassword"="password"
"DefaultUserName"="User"

Posted

I found auto domain logons to be a problem when using only those four keys. Sometimes it would work and the rest persisted with a local logon. The following keys are the only way i managed to successfully auto logon to the domain everytime.

::SETS AUTOLOGON KEY
SET KEY=HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon

::ENABLES SINGLE ADMIN LOGON
REG ADD "%KEY%" /f /v DefaultDomainName /t REG_SZ /d DOMAIN
REG ADD "%KEY%" /f /v AltDefaultDomainName /t REG_SZ /d DOMAIN
REG ADD "%KEY%" /f /v CachePrimaryDomain /t REG_SZ /d DOMAIN
REG ADD "%KEY%" /f /v DefaultUserName /t REG_SZ /d USERNAME
REG ADD "%KEY%" /f /v AltDefaultUserName /t REG_SZ /d USERNAME
REG ADD "%KEY%" /f /v DefaultPassword /t REG_SZ /d PASSWORD
REG ADD "%KEY%" /f /v AutoLogonCount /t REG_DWORD /d 1
REG ADD "%KEY%" /f /v AutoAdminLogon /t REG_SZ /d 1
REG DELETE "%KEY%" /f /v DcacheUpdate

that gets run at T-13 along with my other RunOnceEx commands.

regards, theunknown

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