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

/userd:test /passwordd:123456 /reboot:5
net localgroup Administrators "MYDOMAIN\ELF" /add
regedit /s c:\wutemp\instalnw.reg
exit