batcmd.com Windows 10 Services

CNG - Windows 10 Service

Kernel Cryptography, Next Generation by Microsoft Corporation.

This service also exists in Windows 7 and 8.

Startup Type

Windows 10 edition RTM 1511 1607
Home Boot Boot Boot
Pro Boot Boot Boot
Education Boot Boot Boot
Enterprise Boot Boot Boot

Default Properties

Display name:CNG
Service name:CNG
Type:kernel
Path:%WinDir%\System32\Drivers\cng.sys
Error control:critical
Group:Core

Default Behavior

The CNG service is a kernel mode driver. If CNG fails to load or initialize, the error is logged and the computer attempts to restart, using the Last Known Good configuration. If the Last Known Good configuration fails, Windows 10 startup also fails, and the boot process halts with a Stop error. If you disable this service, Windows 10 will fail to start. Do NOT change this service startup configuration if your computer is working.

Restore Default Startup Type for CNG

Automated Restore

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

2. Save the RestoreCNGWindows10.bat file to any folder on your hard drive.

3. Right-click the downloaded batch file and select Run as administrator.

4. Restart the computer to save changes.

Note. Make sure that the cng.sys file exists in the %WinDir%\System32\Drivers folder. If this file is missing you can try to restore it from your Windows 10 installation media.