Sysprep.inf is not executing the single line under [GuiRunOnce]

  • Thread starter Thread starter Spin
  • Start date Start date
S

Spin

Gurus,

Have a question concerning sysprep.inf. In this file I have a [GuiRunOnce]
section with a single line under it: C:\i386\$oem$\Reg_change.vbs. The
file Reg_change.vbs is not being executed. It changes one line in the
registry but that winds up not happening at all. Inside the Sysprep folder
I have an i386 folder and under that I have a $oem$ folder containing
Reg_change.vbs. What am I doing wrong? All other features of Sysprep are
working properly.

--
Spin
 
Spin,
I would start with something very simple, and work back from there. For
example, put a simple batch file that you know the user account can run
(like a login script) into the root of C: and make sure that works.
Anthony,
http://www.airdesk.co.uk


"Spin" <Spin@invalid.com> wrote in message
news:6a19q9F361qoaU1@mid.individual.net...
> Gurus,
>
> Have a question concerning sysprep.inf. In this file I have a
> [GuiRunOnce] section with a single line under it:
> C:\i386\$oem$\Reg_change.vbs. The file Reg_change.vbs is not being
> executed. It changes one line in the registry but that winds up not
> happening at all. Inside the Sysprep folder I have an i386 folder and
> under that I have a $oem$ folder containing Reg_change.vbs. What am I
> doing wrong? All other features of Sysprep are working properly.
>
> --
> Spin
 
Spin wrote:

> Gurus,
>
> Have a question concerning sysprep.inf. In this file I have a
> [GuiRunOnce]
> section with a single line under it: C:\i386\$oem$\Reg_change.vbs. The
> file Reg_change.vbs is not being executed. It changes one line in the
> registry but that winds up not happening at all. Inside the Sysprep
> folder I have an i386 folder and under that I have a $oem$ folder
> containing
> Reg_change.vbs. What am I doing wrong? All other features of Sysprep are
> working properly.
>

Do you have a one-time admin autologon defined after the restart?
 
Just at a quick glance, the path is incorrect should be
"c:\sysprep\i386\$oem$\Reg_change.vbs" since you said your i386 folder
is inside your sysprep folder. Quick note the sysprep folder is
deleted at end of mini-setup "pretty sure?" you should move your
scripts folder to some other location Ex: "c:\windows\myscripts". If
sysprep folder is deleted after mini-setup your script is not there to
execute. I hope this helps.


--
pcpldtech
 
Back
Top