PC Review


Reply
Thread Tools Rate Thread

SYSPREP not running under GUIRUNONCE

 
 
oscarmok
Guest
Posts: n/a
 
      15th Jul 2004
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
/ouu=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
 
Reply With Quote
 
 
 
 
oscarmok
Guest
Posts: n/a
 
      21st Jul 2004
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


(E-Mail Removed) (oscarmok) wrote in message news:<(E-Mail Removed)>...
> 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
> /ouu=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

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Sysprep.inf is not executing the single line under [GuiRunOnce] Spin Windows XP General 2 27th May 2008 08:15 PM
Sysprep and GUIRUNONCE COMMAND: NEED HELP =?Utf-8?B?amFyZWR3ZXRtb3Jl?= Windows XP Setup 2 17th Jun 2006 08:05 AM
Sysprep and GuiRunOnce Aaron Wright Windows XP Setup 2 8th Apr 2005 05:46 PM
"Advanced INF Install" reboot prompt during GuiRunOnce with SP2/Sysprep claude.henchoz@gmail.com Windows XP Setup 0 18th Mar 2005 12:05 PM
sysprep guirunonce Ted Microsoft Windows 2000 Deployment 0 19th Jan 2004 07:25 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 04:48 PM.