MSFN Forum: Autologon as different user - MSFN Forum

Jump to content



Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Autologon as different user Rate Topic: -----

#1 User is offline   mbaker33 

  • Group: Members
  • Posts: 5
  • Joined: 21-September 06

Posted 26 September 2006 - 11:44 AM

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


#2 User is offline   Ctrl-X 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 444
  • Joined: 29-August 06

Posted 26 September 2006 - 12:29 PM

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"


#3 User is offline   theunknown 

  • Newbie
  • Group: Members
  • Posts: 14
  • Joined: 08-December 03

Posted 26 September 2006 - 08:38 PM

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

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2011 msfn.org
Privacy Policy