The Official Microsoft App-V Team Blog

Your official source for all the latest news and tech tips for Microsoft Application Virtualization (App-V).

App-V: New command line for running CMD prompts inside the bubble

App-V: New command line for running CMD prompts inside the bubble

  • Comments 4
  • Likes

Ever wanted to open a command prompt for a Virtual Application without editing the package's OSD file?  In Microsoft Application Virtualization 4.5 you no longer have to edit the virtual apps OSD to get a command prompt, just run the following command in START -> RUN:

Sfttray.exe  /exe cmd.exe "APPNAME"

This is great for running various utilities within the Virtual Apps user context like:

Regedit  - See the registry as the application sees it
Explorer  - Open and view the contents of the Q drive (see note below)

Note: To view the contents of the virtual drive using Explorer.exe, you will need to check the "Launch folder windows in a separate process" option in Explorer ->Tools ->Folder Options -> View then close and reopen Explorer.

One Caveat: This will not work with Process Monitor.  You will still need to edit the OSDs and use the prelaunch command string if you're wanting to use Process Monitor for troubleshooting.  See the Knowledge Base article below for more information:

KB939896 - How to use the Process Monitor tool to generate a log file for an application in the SoftGrid virtual environment

John Behneman | SoftGrid Support Engineer

Comments
  • Ever wanted to open a command prompt for a Virtual Application without editing the package's OSD

  • Les bulles virtuelles ne sont pas vues du poste de travail. Cela signifie que les applicatifs lancés

  • I loved this method for troubleshooting Appv 4.6 packages, is there a similar method with Appv 5.0?

  • http://blogs.technet.com/b/gladiatormsft/archive/2013/04/24/app-v-5-0-launching-native-local-processes-within-the-virtual-environment.aspx

Your comment has been posted.   Close
Thank you, your comment requires moderation so it may take a while to appear.   Close
Leave a Comment