Jump to content

Domain Logon


Recommended Posts

I am having problems with my win 2000 pro install stalling at the logon prompt. My applications install off the network so connecting to our Domain is important for the rest of the install to work. THe install works right up to login then stops. Then if I manually logon to the domain the install proceeds just fine. But I want it to login with the User of my choice on the Domain. NOT the administrator on the local computer. I have tried the NET USER meathod and it does not work for me. Any ideas what I am doing wrong?

Autologon.reg

I changed the username and password for obivous reasons.

Windows Registry Editor Version 5.00 

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon]
"DefaultUserName"="XXxxxxx"
"DefaultPassword"="xxxxxx"
"AutoAdminLogon"="1"

cmdlines.txt

[COMMANDS]
"useraccounts.cmd"

useraccounts.cmd

net user XXxxxx xxxxxx /add
net localgroup Administrators XXxxxxx /add
net accounts /maxpwage:unlimited
REGEDIT /S autologon.reg
EXIT

and winnt.sif

;SetupMgrTag
[Data]
   AutoPartition=0
   MsDosInitiated="0"
   UnattendedInstall="Yes"

[Unattended]
   UnattendMode=FullUnattended
   OemSkipEula=Yes
   OemPreinstall=yes
   TargetPath=\WINNT

[GuiUnattended]
   AdminPassword=xxxxx
   OEMSkipRegional=1
   TimeZone=4
   OemSkipWelcome=1
   
[UserData]
   FullName="xxxx"
   OrgName="xxxxxxx"
   ComputerName=*

[Display]
   Xresolution=800
   YResolution=600

[Identification]
   JoinDomain=XXXXX
   DomainAdmin=XXxxxxx
   DomainAdminPassword=xxxxx

[Networking]
   InstallDefaultComponents=Yes

[GuiRunOnce]
   %systemdrive%\install\HotFix.bat
   %systemdrive%\install\8Install.exe

Any help would be much appreciated. This is the last piece of the puzzle for me. If I can get this to work then the whole thing will proceed from start to finish without input from me.

Thanks in Advance.

Craig Jesson

Link to comment
Share on other sites


I use WinPE for installs so am not certain if this would work when creating an unattended CD install, but couldn't you just logon with your local Admin account and map a drive using Net Use in the bat file? I do something similar in PE and have not had any issues.

Link to comment
Share on other sites

OK I have added DefaultDomainName to Autologon.reg and it still stops at the login screen. So it still does not logon onto the domain. Not sure what I am doing wrong. Any other suggestions or possible errors to look for. mbouchard I like your idea I may try that if I still can't get this to logon.

Windows Registry Editor Version 5.00 

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon]
"DefaultUserName"="XXxxxxx"
"DefaultPassword"="xxxxxx"
"DefaultDomainName"="XXXXX"
"AutoAdminLogon"="1"

  Have you tried DomainAdmin=domainname/XXxxxxx ?

Dahi is this put in the useraccounts.cmd? Also the username I am using is not an administrator account it just has access to the network drive where the applications are stored. Does it have to be an admin account?

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