59
Novell ZENworks Application Virtualization
Start by creating a new GPO with the
Group Policy Management Console (GPMC):
•
Open the
GPMC
•
Right-click on the OU that you want to link a GPO to
•
Select
Create and Link a GPO Here
and give it a name
•
Right-click the GPO and select
Edit.
This will open the
Group Policy Object Editor
•
Navigate to
Computer Configuration > Windows Settings > Scripts
•
Open the
Startup
item
•
Click
Show Files
•
In the directory that is displayed by the
Show Files
button, create a
.bat
file. This file will
serve as the
Startup Script
that will deploy your virtual applications to all the computers
in the specified OU.
Use these samples as a guide to create the startup script:
Sample 1
. Register virtual applications to the default sandbox in the
All Users
profile:
\\VirtualAppServer\Tools\SpoonReg.exe /allusers \\VirtualAppServer\AllVirtualApps\Excel.exe
\\VirtualAppServer\Tools\SpoonReg.exe /allusers \\VirtualAppServer\AllVirtualApps\Firefox.exe
\\VirtualAppServer\Tools\SpoonReg.exe /allusers
\\VirtualAppServer\AllVirtualApps\AcrobatReader.exe
Sample 2
. Register virtual applications to the specified sandbox in the
All Users
profile:
\\VirtualAppServer\Tools\SpoonReg.exe /allusers /c sandboxname
\\VirtualAppServer\Tools\SpoonReg.exe /allusers \\VirtualAppServer\AllVirtualApps\Excel.exe
\\VirtualAppServer\Tools\SpoonReg.exe /allusers \\VirtualAppServer\AllVirtualApps\Firefox.exe
\\VirtualAppServer\Tools\SpoonReg.exe /allusers
\\VirtualAppServer\AllVirtualApps\AcrobatReader.exe
Once the Startup Script is created, add it to the GPO:
•
Navigate to
Computer Configuration > Windows Settings > Scripts
in the
GPMC
•
Open the
Startup
item
•
Click
Add
•
Click
Browse
•
Select the
Startup
Script
that was created
•
Click
Open
•
Click
OK
•
Click
OK