Partager via


New KB: How to use the Process Monitor tool to generate a log file for an application in the MED-V virtual environment

hotfixHere’s a new MED-V KB article we published this morning that shows you how to use ProcMon to generate a log file for an application in the MED-V virtual environment:

=====

Summary

This article describes how to use the Process Monitor tool (ProcMon.exe) to generate a log file for an application in the Microsoft MED-V virtual environment. The log file provides information about the files and about the registry keys that an application accesses inside the workspace when Process Monitor is running.

More Information

Obtaining and Preparing Process Monitor:

Option 1

1.) If you have not already done so, add in a published Command Prompt shortcut (%SYSTEMROOT%\system32\cmd.exe) in the All Users Start Menu Folder (C:\Documents and Settings\All Users\Start Menu\Programs) in the Windows XP workspace.
2.) Ensure that in the HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Medv\v2\UserExperience registry key, the value AppPublishingEnabled is set to 1.
3.) Restart the MED-V Host Agent.
4.) Launch the legacy published Command Prompt.
5.) In the command prompt, trigger the legacy browser (the instance of Internet Explorer running inside the Windows XP workspace) by typing it along with URL:

start iexplore https://technet.microsoft.com/en-us/sysinternals/bb896645.aspx

6.) Click Download Process Monitor (913K), and then click Save. Save to local directory on XP Workspace.
7.) Type “Explorer” in the command prompt. This will bring up an Explorer window inside the MED-V workspace.
8.) Locate and extract Process Monitor.
9.) From the command prompt, navigate to the directory where you extracted Process Monitor and type:

procmon /accepteula /noconnect

10.) On the Options menu, click Enable Advanced Output.
11.) When you are ready to reproduce the issue, start capturing from within Process Monitor. While Process Monitor is capturing, reproduce the issue.
12.) Once you have finished, save the file as PML and place it in the “My Documents” folder inside the workspace.

Option 21.) From the MED-V Host computer (Windows 7) download Process Monitor. To do this, visit the following Microsoft Web site:

https://technet.microsoft.com/en-us/sysinternals/bb896645.aspx

2.) Click Download Process Monitor (913K), and then click Save.
3.) Save the file to the host to the current user’s Documents folder.
4.) If you have not already done so, add in a published Command Prompt shortcut (%SYSTEMROOT%\system32\cmd.exe) in the All Users Start Menu Folder (C:\Documents and Settings\All Users\Start Menu\Programs) in the Windows XP workspace.
5.) Ensure that in the HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Medv\v2\UserExperience registry key, the value AppPublishingEnabled is set to 1.
6.) Restart the MED-V Host Agent.
7.) Launch the legacy published Command Prompt.
8.) Type “Explorer” in the command prompt. This will bring up an Explorer window inside the MED-V workspace.
9.) Locate and extract Process Monitor (which is located in the “My Documents” folder.)
10.) From the command prompt, navigate to the directory where you extracted Process Monitor and type:

procmon /accepteula /noconnect

11.) On the Options menu, click Enable Advanced Output.
12.) When you are ready to reproduce the issue, start capturing from within Process Monitor. While Process Monitor is capturing, reproduce the issue.
13.) Once you have finished, save the file as PML and place it in the “My Documents” folder inside the workspace.

=====

For the most current version of this article please see the following:

2616986: How to use the Process Monitor tool to generate a log file for an application in the MED-V virtual environment

J.C. Hornbeck | System Center Knowledge Engineer

App-V Team blog: https://blogs.technet.com/appv/
AVIcode Team blog: https://blogs.technet.com/b/avicode
ConfigMgr Support Team blog: https://blogs.technet.com/configurationmgr/
DPM Team blog: https://blogs.technet.com/dpm/
MED-V Team blog: https://blogs.technet.com/medv/
OOB Support Team blog: https://blogs.technet.com/oob/
Opalis Team blog: https://blogs.technet.com/opalis
Orchestrator Support Team blog: https://blogs.technet.com/b/orchestrator/
OpsMgr Support Team blog: https://blogs.technet.com/operationsmgr/
SCMDM Support Team blog: https://blogs.technet.com/mdm/
SCVMM Team blog: https://blogs.technet.com/scvmm
Server App-V Team blog: https://blogs.technet.com/b/serverappv
Service Manager Team blog: https://blogs.technet.com/b/servicemanager
System Center Essentials Team blog: https://blogs.technet.com/b/systemcenteressentials
WSUS Support Team blog: https://blogs.technet.com/sus/

clip_image001 clip_image002