The Process object in Performance Monitor can display Process IDs (PIDs)

Important This article contains information about how to modify the registry. Make sure that you back up the registry before you modify it. Make sure that you know how to restore the registry if a problem occurs. For more information about how to back up, restore, and modify the registry, click the following article number to view the article in the Microsoft Knowledge Base:
256986 Description of the Microsoft Windows registry

INTRODUCTION

By default, Performance Monitor (Perfmon.msc) displays multiple processes that have the same name by enumerating the processes in the following way:

Process#1
Process#2
Process#3

Performance Monitor can also display these processes by appending the process ID (PID) to the name in the following way:

Process_PID

Note In Microsoft Windows XP and in Microsoft Windows Server 2003, this tool is named System Monitor.

More Information

Warning Serious problems might occur if you modify the registry incorrectly by using Registry Editor or by using another method. These problems might require that you reinstall the operating system. Microsoft cannot guarantee that these problems can be solved. Modify the registry at your own risk.

To enable or to disable PIDs in process names, follow these steps:
  1. Click Start, click Run, type regedit, and then click OK.
  2. Locate and then click the following registry subkey:
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\PerfProc\Performance
  3. On the Edit menu, click New, and then click DWORD Value.
  4. Right-click New Value #1, click Rename, and then type ProcessNameFormat to name the new value.
  5. Right-click ProcessNameFormat, and then click Modify.
  6. In the Data value box, type one of the following values, and then click OK:
    • 1: Disables PID data. This value is the default value.
    • 2: Enables PID data.
  7. Exit Registry Editor.
Important If you enable this feature, you may be unable to monitor process-specific information by using third-party utilities or custom-made programs.
Properties

Article ID: 281884 - Last Review: Oct 23, 2008 - Revision: 1

Feedback