Launching process in an App-V Virtual Environment V5

3:22 PM
Launching process in an App-V Virtual Environment V5 -

App-V packages that run in a virtual environment (or bubble)

In App-V 5 a can pull random processes / programs in an App-V environment

This is well documented and there are a number of blogs that discuss how to do this, but as a refresher here are the three methods :.

1. On any executable file Add / appvve: _ the order in which you want to

2 to run the executable. If the process is already running then the / appvpid: to inject into a running App-V virtual environment

3. If you want something more permanent, you have the key HKEY_LOCAL_MACHINE SOFTWARE Microsoft AppV client specify RunVirtual with a standard REG_SZ key, the name of the executable file in it

in an image that is how it looks:

that's all pretty amazing, but it got me thinking, what starts in the virtual environment, another non-App-V process, if an application does not happen, they start it within the virtual environment (one would hope that is the case) or not.

To test how the Start works, I wrote a very simple application that enumerates all of the modules in a process and also (re) launches itself. I would then start with the / appvve switch and check seeing as looking through a sentinel value, whether the process is in the virtual environment was or not.

The guard value AppVEntSubsystems32.dll (seems AppVEntSubsystems64 probably. DLL for 64-bit processes).

, the results are convincing, as will be launched as a second process can see, and it starts with no additional work within the virtual environment, as one would expect.

Here are the results .:

Here is a download link for the Process Launcher application if you want to try this yourself

Previous
Next Post »
0 Komentar