Share via


Launch local applications inside the App-V virtual environment

In App-V 5, a new argument was introduced: /APPVE 

This command can be used to start a local application inside the virtual environment of the virtual package. Here are some examples how to use the /APPVE command line.

To start a local application inside the virtual environment, you first need to know the PackageId and VersionId.
To find this, open PowerShell and run:

Get-AppVClientPackage -all

Find the PackageId and VersionId of the package that you want to use. The /APPVE parameter used the PackageId and VersionId with a _ in between.

With the PackageId and the VersionId. The following commands can be used.

The PackageId and VersionId needs to be changed with the values of your package.

Start the Command Prompt inside the virtual environment****

cmd.exe /appvve:d2a8cc9e-9238-4a57-8486-c3695af05881_0c28a8bc-ee97-4d77-925c-34983f297492

Copy a file inside the virtual environment
**
**

cmd.exe /appvve:d2a8cc9e-9238-4a57-8486-c3695af05881_0c28a8bc-ee97-4d77-925c-34983f297492 /c xcopy \\server\share\file.ini %appdata%\Folder\Folder /Y

Start Internet Explorer inside the virtual environment**
**

iexplore.exe /appvve:d2a8cc9e-9238-4a57-8486-c3695af05881_0c28a8bc-ee97-4d77-925c-34983f297492

Start the Registry Editory inside the virtual environment
**
**

regedit.exe /appvve:d2a8cc9e-9238-4a57-8486-c3695af05881_0c28a8bc-ee97-4d77-925c-34983f297492