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

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 8 it will not be started until the user starts it. When the Health Key and Certificate Management service is started, it runs as localSystem in a process of svchost.exe, sharing it with other services. If Health Key and Certificate Management fails to start, the error details are added to Windows 8 error log. When the operating system startup is complete, the user is being notified that the hkmsvc service hasn't been started.

Dependencies

Health Key and Certificate Management can't start, if the Remote Procedure Call (RPC) service is disabled or not available.

Restore Default Startup Configuration of Health Key and Certificate Management

Before you begin doing this, make sure that all the services on which Health Key and Certificate Management depends are configured by default and function properly. See the list of dependencies above.

1. Run the Command Prompt as an administrator.

2. Copy the command below, paste it into the command window and press ENTER:

sc config hkmsvc start= demand

3. Close the command window and restart the computer.

The hkmsvc service is using the kmsvc.dll file that is located in the C:\Windows\system32 directory. If the file is removed or corrupted, read this article to restore its original version from Windows 8 installation media.