KSecPkg Service Defaults in Windows 10

Kernel Security Support Provider Interface Packages by Microsoft Corporation.

Default Settings

Startup type: Boot
Display name:KSecPkg
Service name:KSecPkg
Service type:kernel
Error control:critical
Group:Cryptography
Path:%SystemRoot%\System32\Drivers\ksecpkg.sys
Registry key:HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\KSecPkg

Default Behavior

KSecPkg is a kernel device driver. In Windows 10 it is starting by the operating system Boot Loader as a part of the driver stack for the boot volume. If KSecPkg fails to load or initialize, Windows 10 attempts to record the error details into Event Log and restart the PC, using the Last Known Good configuration. If the Last Known Good configuration cannot be applied or working improperly, Windows 10 startup process halts with a Stop error. If you disable or delete the KSecPkg service, Windows 10 won't start.

Restore Default Startup Configuration of KSecPkg

1. Run the Command Prompt as an administrator.

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

sc config KSecPkg start= boot
sc start KSecPkg

3. Close the command window and restart the computer.

The KSecPkg service is using the ksecpkg.sys file that is located in the C:\Windows\System32\Drivers directory. If the file is removed or corrupted, read this article to restore its original version from Windows 10 installation media.