batcmd.com Windows 11 Services

Performance Counter DLL Host - Windows 11 Service

Enables remote users and 64-bit processes to query performance counters provided by 32-bit DLLs. If this service is stopped, only local users and 32-bit processes will be able to query performance counters provided by 32-bit DLLs.

This service exists in Windows 11 only.

Startup Type

Windows 11 version Home Pro Education Enterprise
21H2 Manual Manual Manual Manual
22H2 Manual Manual Manual Manual
23H2 Manual Manual Manual Manual
24H2 Manual Manual Manual Manual

Default Properties

Display name:Performance Counter DLL Host
Service name:PerfHost
Type:own
Path:%WinDir%\SysWow64\perfhost.exe
Error control:normal
Object:NT AUTHORITY\LocalService
Privileges:
  • SeImpersonatePrivilege

Default Behavior

The Performance Counter DLL Host service is running as NT AUTHORITY\LocalService in its own process of perfhost.exe. It doesn't share its process with other services. If Performance Counter DLL Host fails to start, the error is logged. Windows 11 startup proceeds, but a message box is displayed informing you that the PerfHost service has failed to start.

Dependencies

Performance Counter DLL Host is unable to start, if the Remote Procedure Call (RPC) service is stopped or disabled.

Restore Default Startup Type for Performance Counter DLL Host

Automated Restore

1. Select your Windows 11 edition and release, and then click on the Download button below.

2. Save the RestorePerformanceCounterDLLHostWindows11.bat file to any folder on a local drive such as SSD or a hard disk.

3. Right-click the downloaded batch file and select Properties.

4. Check the Unblock checkbox and click OK.

5. Right-click the batch file again and select Run as administrator.

6. Restart the computer to save changes.

Note. Make sure that the perfhost.exe file exists in the %WinDir%\SysWow64 folder. If this file is missing you can try to restore it from your Windows 11 installation media.

Yea, though I walk through the valley of the shadow of death, I will fear no evil: for thou art with me; thy rod and thy staff they comfort me.