Jump to content

Welcome to MSFN Forum
Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more. This message will be removed once you have signed in.
Login to Account Create an Account


Photo

SysPrep and GuiRunOnce

- - - - -

  • Please log in to reply
2 replies to this topic

#1
Nikoos

Nikoos
  • Member
  • 2 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


How to remove advertisement from MSFN

#2
Yzöwl

Yzöwl

    Wise Owl

  • Super Moderator
  • 4,530 posts
  • OS:Windows 7 x64
  • Country: Country Flag

Donator

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"


#3
Nikoos

Nikoos
  • Member
  • 2 posts
Yes sorry about the mistake, i am at home not at the office...

Do you have any clue regarding this issue ?

My script takes some time to process : lot of software to install... very Strange




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users



How to remove advertisement from MSFN