SYSPREP not running under GUIRUNONCE

O

oscarmok

For some reasons, my script would not run under [Guirunonce] section.
The odd thing is not all pc are like that. (Some works, some don't).
They have identical model (HP 530S). We will be deploying XP pro.

Does anyone has the similar problem?

Thanks

Here are the script:

Sysprep.inf

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

[GuiUnattended]
AdminPassword="123456"
EncryptedAdminPassword=NO
AutoLogon=Yes
AutoLogonCount=2
OEMSkipRegional=1
TimeZone=35
OemSkipWelcome=1

[UserData]
ProductKey=XXXX-XXXX-XXXXX-XXXXX-XXXX
FullName="default"
OrgName="My Company"
ComputerName=*

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

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

[GuiRunOnce]
Command0="c:\joinme.cmd"

[Identification]
JoinWorkgroup=WORKGROUP

[Networking]
InstallDefaultComponents=Yes

In Joinme.cmd (I save it in C:\. I also placed the netdom.exe in
C:\.)

@echo off
c:\netdom.exe join %COMPUTERNAME% /domain:MYDOMAIN
/ou:blush:u=sales,ou=toronto,ou="users and computers",dc=MYDOMAIN,dc=ca
/userd:test /passwordd:123456 /reboot:5
net localgroup Administrators "MYDOMAIN\ELF" /add
regedit /s c:\wutemp\instalnw.reg
exit
 
O

oscarmok

I did more test on the script. And I found the netdom fails to run
because the Windows Services has not started yet. Does anyone
encounter that problem? I tried to put a delay for 10 seconds but it
still say Windows Services has not started. How can I ensure the
Windows Service has start prior launching netdom from GUIRUNONCE
during SYSPREP?

Thanks
 

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