VMware Cloud Community
TheDonMiguel
Contributor
Contributor

GuiRunOnce does not work with install from template

Hello

VMware changed the Windows Sysprep template format from VirtualCenter 1.x to 2.x. I've the problem with the "guiRunOnce" command. I did not get it to work on the new VC. When I export the stored customization I'll get this:

The goal is to mapp a drive and start the vbscript from this drive. But it does only open a CMD Window... What is the mistake and how can I solve it?

Thanks a lot for your help!

Miguel

0 Kudos
3 Replies
cheeko
Expert
Expert

Instead of ...

net use z: share /persistent:no

cscript z:\script.vbs

use

cmd /c[/b] net use z: share /persistent:no

cmd /c[/b] cscript z:\script.vbs

0 Kudos
TheDonMiguel
Contributor
Contributor

I tried this also, same problem. When the Admin does Auto-Logon a CMD Windows opens and hangs:

Microsoft Windows \[Version 5.2.3790]

(C) Copyright 1985-2003 Microsoft Corp.

C:\Documents and Settings\Administrator>_[/i]

Do you have another idea?

Thanks,

Miguel

0 Kudos
TheDonMiguel
Contributor
Contributor

How do you start further scripts? Do I have to put the command into " " or should it work without?

Thanks!

0 Kudos