Jump to content

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


Recommended Posts

Guest Spin
Posted

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

  • Replies 2
  • Created
  • Last Reply
Guest Anthony [MVP]
Posted

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

 

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

Guest wisdomkiller & pain
Posted

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

 

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?


×
×
  • Create New...