The SVSCMD executable file is installed with the Workspace Virtualization Agent. You can use this executable file with its command-line parameters to work with Virtual Software Packages. Many of the command-line parameters also have associated flags.
The following table is a list of the available command-line parameters:
Table: SVSCMD command-line parameters
Activates the layer.
Sets a layer to activate at the start of the computer. If this parameter is entered without a flag, the default behavior is to automatically activate on start.
Add or delete process to automatically run in the layer. Providing no options lists the processes that are set to automatically run in the layer.
Creates a new layer by capturing changes. You cannot perform a capture if any other layer is activated on the computer. Layer names are limited to 50 characters.
Checks for a valid product serial number. This parameter tells you if your key is good and provides information about it. If this parameter is entered without a flag, the default behavior is to check for a valid product serial number.
Clones a layer.
Creates an empty layer. Layer names are limited to 50 characters
Deactivates the layer.
Add, delete, or view independent layers.
Deletes the layer.
Create a patch file.
Lists all layers on the computer.
Excludes all files that are stored in the user profile. This option creates a global exclude that affects all layers.
Executes a process as a part of a layer so that it appears to run from the layer. This command can be used as follows:
If you want an audit tool to see the computer from the perspective of the layer, you can run SVSCMD "LayerName" EXEC [path to the executable file]. Then, any process that runs has the same priority as if it were run from the layer.
If you run a process that makes changes to the file system or registry, those changes are saved in the layer and not in the base. For example, you can run an EXE patch with this parameter to save changes that the patch in the layer makes.
Exports the layer to a virtual software archive file or virtual runtime archive file. The provided file extension specifies the layer archive type. Provide an xpf extension to use the Extensible Package Format. Provide a vsa extension to use the legacy virtual software archive format.
Set a layer to deactivate on last process exit.
Displays the SVSCMD command-line parameters, flag options, and command-line examples.
Tells Workspace Virtualization to ignore this process.
Imports a virtual software archive file. Archive files can be in xpf, vsa, or vra format.
File/registry items to keep in a layer. Providing no options lists the registry items currently set to keep in the layer.
Create new reset point. Copy read-write sublayer to read-only sublayer. The SID option copies the given SID's read-write to the read-only's user template area. Without -SID no SID information is copied
Displays the following properties of a layer: name, state, type, priority, version, GUID, last activated time, create time, last reset time, redirect locations, layer subtype, depot GUID, and the layer's depot path.
This parameter has been deprecated.
Renames the layer. Layer names are limited to 50 characters.
Reloads the Global Exclude list from the registry into the Workspace Virtualization Agent. Use this command after the global exclude properties have been manually changed in the registry. This list is reloaded automatically when the computer is restarted, or if the changes were made locally using the SWV Admin tool.
Resets the layer.
Sends updated inventory data to Notification Server.
Sets the layer ID to the new GUID.
Updates the product serial number. You can use this parameter to manually set a key.
Displays Workspace Virtualization version information.
Set, unset, or view a layer's visibility.
Imported Document ID: HOWTO50142
Subscribing will provide email updates when this Article is updated. Login is required.