Kernel Cryptography, Next Generation by Microsoft Corporation.
This service also exists in Windows 10, 11 and 8.
Windows 7 edition | without SP | SP1 |
---|---|---|
Starter | Boot | Boot |
Home Basic | Boot | Boot |
Home Premium | Boot | Boot |
Professional | Boot | Boot |
Ultimate | Boot | Boot |
Enterprise | Boot | Boot |
Display name: | CNG |
Service name: | CNG |
Type: | kernel |
Path: | %WinDir%\System32\Drivers\cng.sys |
Error control: | critical |
Group: | Base |
The CNG service is a kernel driver. If the CNG fails to load or initialize, the error is logged and the computer attempts to restart with the LastKnownGood configuration. If the LastKnownGood configuration fails, Windows 7 startup also fails, and the boot process halts with a Stop error. If you disable this service, Windows 7 will fail to start. Do NOT change this service startup configuration if your computer is working.
1. Select your Windows 7 edition and Service Pack, and then click on the Download button below.
2. Save the RestoreCNGWindows7.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 7 installation media.