Jump to content

SysPrep and GuiRunOnce


Recommended Posts

Hello,

I use Sysprep to setup my computer, to speed-up the installation process, i have setup a visual basic script, that script is able to detect which type of computer (WorkStation and Laptop) and of course is able to process silent installation (VPN software, Backup software for laptop, and additional software for Workstations).

When i test my script everything is fine (every step is process, my script works perfectly)(without sysprep).

I added the following lines to my sysprep

[GuiRunOnce]
"%systemdrive%\system 32\cscript.exe %systemdrive%\temp\unattended.vbs"

I have an issue, when the sysprep completes, when i log with my admin account, my script is not entirely process, do you know if there is an issue with script in GuiRunOnce ?

Regards

Nikoos

Link to comment
Share on other sites


I added the following lines to my sysprep

[GuiRunOnce]
"%systemdrive%\system 32\cscript.exe %systemdrive%\temp\unattended.vbs"

I have an issue, when the sysprep completes, when i log with my admin account, my script is not entirely process, do you know if there is an issue with script in GuiRunOnce ?

Are you sure that you don't want it to say:

"%systemroot%\system32\cscript.exe %systemdrive%\temp\unattended.vbs"

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...