ThreadNameFormat

Applies To: Windows Server 2003, Windows Server 2003 R2, Windows Server 2003 with SP1, Windows Server 2003 with SP2

HKLM\SYSTEM\CurrentControlSet\Services\PerfProc\Performance

Data type Range Default value

REG_DWORD

1 | 2

(None)

Description

Specifies whether System Monitor or the Performance Logs and Alerts service displays and logs thread counter instances with the ID of the associated thread appended.

If the value of this entry is 1, or if this entry is absent from the registry, then Performance Logs and Alerts appends a unique integer to each instance of a thread name to distinguish the multiple instances from each other. If the value of this entry is 2, then Performance Logs and Alerts appends the thread ID for each instance of the thread name.

This entry does not exist in the registry by default. You can add it by using the registry editor Regedit.exe.

Change Method

You can change this entry only by editing the registry.

Activation Method

The value of this entry is read each time the ReqQueryValueEx API is called. For Performance Logs and Alerts, you must stop and restart the service for changes to this entry to be effective.