virtansedit

This command creates or updates a container namespace filter. Administrator privileges are required.

Syntax

VIRTANSEDIT  Appliance namespace {Add | Delete | typeaccess={/D |/S{1.. 9} | filter[:filter...]}} [Root]

Options

Option

Description

Appliance

Full path of the container.

namespace

The namespace to create or update:

  • self - the appliance namespace

  • hostid - the underlying operating system, or

  • sourceid - the tethered source machine

add

Add the namespace to the read access for both file and registry types, with its namespace order set to 1 and its filter set to all files.

delete

Delete the namespace from both read and write access for both file and registry types.

typeaccess

Two-character data store type and access specifier (FR|FW|RR|RW):

Character #1 (type): F-file, R-registry

Character #2 (access): R-read, W-write

/D

Delete the namespace.

/S{1..9}

Set the namespace order (a number between 1 and 9). The namespace must already exist.

filter

One or more filter specifications for the namespace:   

File: Valid file filters. Include the full path without the drive letter. For example:

\:-\Containers

Registry: The valid root registry hive filters are:

\REGISTRY\MACHINE

\REGISTRY\CUSER

\REGISTRY\ROOT

\REGISTRY\USER

\REGISTRY\CONFIG

ROOT

Specify drive as Root (default is All Drives). Used only with ‘Add’, ‘FR’, and ‘FW’.

Usage example

To exclude chcp.com, msvcrt.dll, and ulib.dll from the hostid (underlying operating system) file-read namespace:

virtansedit <VAA> hostid FR="\:-\windows\system32\chcp.com:-\windows\system32\msvcrt.dll:-\windows\system32\ulib.dll"