Jump to content

Domain by default


Recommended Posts

I have been able to install RIS and get it working pretty well. One thing that I have had an issue with is after the initial RIS installation, the workstation is joined to the domain but by default you have to click options, select domain from drop down, than logon to the domain. Is there a way to set the default log on to the domain rather then the local machine??

-Dave

Link to comment
Share on other sites


Here's the code I use to force an auto domain logon. It's included in RunOnceEx.cmd at T-13.

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

::ENABLES SINGLE 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 ADD "%KEY%" /f /v DontDisplayLastUserName /t REG_DWORD /d 0
REG ADD "%KEY%" /f /v ShowLogonOptions /t REG_DWORD /d 1
REG DELETE "%KEY%" /f /v DcacheUpdate

Regards, theunknown

Edited by theunknown
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...