Wrong Domain login after SYSPREP reboot

O

oscarmok

I am using Compname.exe to change the computer name. In other
threads, it mentions in order to autologin, administrator password
must not be encrypted. I follows all the info I found in google. The
SYSPREP went well and restart the XP, but it still can't autologin.
Instead, a error message telling me that I am trying to login to the
wrong domain. When I press Ctrl-Alt-Del, the domain field under login
shows the random computer name. If I click on the drop down button in
domain field, the computer name which Compname.exe generated is there.
Once I highlight the computer name (generate from Compname.exe), type
in the administrator password, it continues to run the GUIRUNONCE
info. Am I missing a step?

Here are the settings:

In sysprep.inf

;SetupMgrTag
[Unattended]
OemSkipEula=Yes
OemPreInstall=Yes
InstallFilesPath=C:\sysprep\i386
TargetPath=\WINDOWS

[GuiUnattended]
AdminPassword="P@ssw0rd"
EncryptedAdminPassword=NO
OEMSkipRegional=1
OEMDuplicatorstring="IS Developer"
TimeZone=35
OemSkipWelcome=1
AutoLogon=Yes
AutoLogonCount=1

[UserData]
ProductKey=XXXXX-XXXXX-XXXXX-XXXXX-XXXXX
FullName="Oscar Mok"
OrgName="John Smith Enterprise"
ComputerName=*

[Display]
BitsPerPel=32
Xresolution=1024
YResolution=768

[SetupMgr]
DistFolder=C:\sysprep\i386
DistShare=windist

[GuiRunOnce]
Command0="c:\windows\AddGroup.cmd"
Command1="Shutdown -r -t 8"

[Identification]
JoinWorkgroup=WORKGROUP

[Networking]
InstallDefaultComponents=Yes

[Branding]
BrandIEUsingUnattended=Yes

[Proxy]
Proxy_Enable=0
Use_Same_Proxy=0

In AddGroup.cmd

netdom join %COMPUTERNAME% /Domain:MyDomain /UserD:MyAuthID
/PasswordD:123456
net localgroup Administrators "MyDomain\Domain Users" /add
del c:\Windows\AddGroup.cmd

In CMDLINES.TXT

[Commands]
"compname.exe /c WXP-?s"
 
O

oscarmok

Never mind, I found the cause.

Compname.exe must placed in SYSPREP\i486\$oem$.

Also I have Novell Client v4.9 install. I have to change the setting
in Netware client so NT login only.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top