Health Key and Certificate Management (hkmsvc) Service Defaults in Windows 7

Provides X.509 certificate and key management services for the Network Access Protection Agent (NAPAgent). Enforcement technologies that use X.509 certificates may not function properly without this service.

Default Settings

Startup type:Manual
Display name:Health Key and Certificate Management
Service name:hkmsvc
Service type:share
Error control:normal
Object:localSystem
Path:%SystemRoot%\System32\svchost.exe -k netsvcs
File:%SystemRoot%\system32\kmsvc.dll
Registry key:HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\hkmsvc
Privileges:
  • SeChangeNotifyPrivilege
  • SeImpersonatePrivilege

Default Behavior

Health Key and Certificate Management is a Win32 service. In Windows 7 it won't be started if the user doesn't start it. When the Health Key and Certificate Management service is started, it is running as localSystem in a shared process of svchost.exe. Other system components, such as drivers and services, may run in the same process. If Health Key and Certificate Management fails to start, Windows 7 attempts to write the failure details into Event Log. Then Windows 7 startup should proceed and the user should be notified that the hkmsvc service is not running because of the error.

Dependencies

Health Key and Certificate Management is unable to start, if the Remote Procedure Call (RPC) service is stopped or disabled.

Restore Default Startup Configuration for Health Key and Certificate Management

1. Select your Windows 7 edition and service pack, and then click Download.

2. Save the Win7_hkmsvc_Service_Startup.cmd file to a local storage device.

3. Run the saved file as an administrator.

4. Restart the computer.

The hkmsvc service is using the kmsvc.dll file that is located in the %WinDir%\system32 folder. If the file is changed, damaged or deleted, you can restore its original version from Windows 7 installation media.