Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

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


View products that this article applies to.

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.

↑ Back to the top


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:


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.

↑ Back to the top


Keywords: kb

↑ Back to the top

Article Info
Article ID : 2616986
Revision : 2
Created on : 3/27/2020
Published on : 3/27/2020
Exists online : False
Views : 168