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

Article ID: 2616986 - View products that this article applies to.
Expand all | Collapse all

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 http://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 2

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

http://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.
Note This is a "FAST PUBLISH" article created directly from within the Microsoft support organization. The information contained herein is provided as-is in response to emerging issues. As a result of the speed in making it available, the materials may include typographical errors and may be revised at any time without notice. See Terms of Use for other considerations.

Properties

Article ID: 2616986 - Last Review: September 17, 2011 - Revision: 4.0
APPLIES TO
  • Microsoft Enterprise Desktop Virtualization 2.0
Keywords: 
KB2616986

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com