Microsoft KB Archive/281884

From BetaArchive Wiki
Knowledge Base


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

Article ID: 281884

Article Last Modified on 10/11/2007



APPLIES TO

  • Windows Vista Home Basic
  • Windows Vista Home Premium
  • Windows Vista Ultimate
  • Windows Vista Business
  • Windows Vista Enterprise
  • Windows Vista Home Basic 64-bit Edition
  • Windows Vista Home Premium 64-bit Edition
  • Windows Vista Ultimate 64-bit Edition
  • Windows Vista Business 64-bit Edition
  • Windows Vista Enterprise 64-bit Edition
  • Microsoft Windows XP Home Edition
  • Microsoft Windows XP Professional
  • Microsoft Windows Server 2003, Standard Edition (32-bit x86)
  • Microsoft Windows Server 2003, Enterprise Edition
  • Microsoft Windows Server 2003, Datacenter Edition (32-bit x86)
  • Microsoft Windows Server 2003, Web Edition
  • Microsoft Windows Server 2003, Standard x64 Edition
  • Microsoft Windows Server 2003, Enterprise x64 Edition
  • Microsoft Windows Server 2003, Datacenter x64 Edition
  • Microsoft Windows Server 2003, Enterprise Edition for Itanium-based Systems
  • Microsoft Windows Server 2003, Datacenter Edition for Itanium-Based Systems



This article was previously published under Q281884

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.

Keywords: kbui kbprb KB281884