- When you get a cng.sys failed/ missing error, your Windows device might crash or stop booting.
- Most users get cng.sys with Blue Screen of Death, which is the most dreaded error.
- Yet, troubleshooting is not difficult, but it might require working in Safe Mode.
- Other solutions include running a disk cleanup, deleting certain processes, or reverting the entire OS.
What is cng.sys? It’s an essential next-generation, Windows Operating System file found on your computer.
When this file goes missing, there is a high chance that other Windows-related files are missing as well.
Some of the most common reasons for the cng.sys error include:
- A virus attack
- Driver conflicts
- Faulty memory
- Corrupt registry
- Hardware failure
The cng.sys file isn’t a threat to your computer though, and as a part of Windows OS, you shouldn’t delete or prevent it from loading each time you start up your computer.
This would cause other unexpected errors, or even cause Windows to stop working.
Before you try any solutions, take note of the following details, because they are related to the solutions:
- The make and model of your machine
- When you received the cng.sys error
- Whether you have any recently made changes to your computer settings
- Any recent changes to your computer’s hardware
- Whether you installed any third party security app
If you’ve experienced cng.sys errors such as cng.sys missing, the solutions below will help you fix them.
How do I fix cng.sys on Windows 10?
1. Run a BSOD quick fixer
Restoro is powered by an online database that features the latest functional system files for Windows 10 PCs, allowing you to easily replace any elements that can cause a BSoD error.
This software can also help you by creating a restore point before starting the repairs, enabling you to easily restore the previous version of your system if something goes wrong.
This is how you can fix registry errors using Restoro:
- Download and install Restoro.
- Launch the application.
- Wait for the software to identify stability issues and possible corrupted files.
- Press Start Repair.
- Restart your PC for all the changes to take effect.
As soon as the fixing process is completed, your PC should work without problems, and you will not have to worry about BSoD errors or slow response times ever again.
Disclaimer: This program needs to be upgraded from the free version in order to perform some specific actions.
2. Restore an earlier version of Windows
- Go to Settings.
- Click Updates and Security.
- Click Recovery.
- Select the Go back to an earlier build tab.
- Click Get started.
- Click Next when asked why you have chosen to revert your software.
This is one of the fastest ways to resolve the cng.sys error but you have to do it within the 10 days window after upgrading to Windows 10.
And it only applies if you had an earlier version of Windows prior to the upgrade. Otherwise, you’ll have to make do with the new version.
3. Download and install pending updates
Downloading and installing Windows pending updates may help to resolve the issue.
For that, go to the Update & Security section of your device’s Settings. You should see there whether any updates were paused or need your immediate attention.
4. Run a full scan of your computer
Run a full scan of your computer using the antivirus solution installed on your device, and check if it helps.
Any infected data files may be cleaned only by completely deleting the file in its entirety, meaning there is a possibility of losing data.
Use a reliable, powerful tool to remove malware for good. Also, allow it to run in real-time, to prevent possible attacks
5. Restart in Safe Mode
- Click on Start button.
- Select Settings (the Settings box will open up).
- Click Update & Security.
- Select Recovery from the left pane.
- Go to Advanced startup.
- Click Restart now
- Select Troubleshoot from, then choose an option screen.
- Then click Advanced options.
- Go to Startup Settings and click Restart.
- Once your computer restarts, a list of options will come up.
- Choose 4 or F4 to start your computer in Safe Mode.
Note that there are two options:
- Safe mode (regular)
- Safe mode with Networking
The two are similar, though the latter includes network drivers and other services necessary to access the web and other computers in the same network.
The cng.sys file is critical to the functionality of Windows, so any corruption or damage on this file can create serious system errors, Blue Screens of Death included.
Safe Mode starts up your computer with limited files and drivers but Windows will still run. To know whether you’re on Safe mode, you’ll see the words at the corners of your screen.
If the cng.sys issue persists, check whether it occurs while your computer is in Safe mode.
If the cng.sys problem isn’t there while in Safe mode, then your default settings and basic drivers are not contributing to the issue.
Once you start your computer in safe mode, do the following:
- Right-click on Start.
- Select Device Manager.
- Expand Display adapters.
- Right-click the listed adapter.
- Select Uninstall device.
- Choose the Delete the driver software for this device box.
- Select Uninstall.
- Reboot your computer.
Once your computer reboots, click Start, choose Settings, then select Update & Security > Windows Update > Check for updates.
How to exit Safe Mode:
- Right-click the Start button.
- Select Run.
- Type msconfig.
- A pop up will open.
- Go to the Boot tab.
- Deselect or uncheck Safe Boot option box.
- Restart your computer.
6. Run disk clean up
- In the search bar on the home screen, type disk cleanup.
- The disk cleanup drive selection box will appear.
- Click OK to set off the disk space calculation process.
- Go to Properties > Tools > Error checking.
- Check the box and click Run.
Before doing this, ensure you have sufficient disk space on Windows drive.
7. Perform a Startup Repair
- Tap on the F8 key on your computer.
- Do this until you reach the Advanced Startup Options menu.
- Choose Repair your computer.
- Click Startup Repair.
If these steps didn’t fix the issue, try the steps below:
- Restart your computer.
- Boot to the Advanced Startup Options menu.
- Select Disable automatic restart on system failure.
Blue screen errors associated with cng.sys file can occur if a serious problem causes Windows to shut down, or reboot unexpectedly. Such errors occur due to hardware and software problems.
If you added new hardware before you got the cng.sys error, shut down the computer, remove the hardware, and then reboot (you can also boot in Safe Mode).
8. Perform an SFC scan to fix cng.sys missing error
- Press Windows + X keys at the same time
- Click Command Prompt (Admin) to open a command prompt
- If prompted for permissions, click Yes
- In Command prompt, type sfc/scannow and press Enter.
Wait for the process to finish. it should take about 15-20 minutes and hopefully it will also restore your device’s functionality.
9. Update drivers
This is more of a last resort if all else fails. Visit the manufacturer’s website and install the latest drivers available for your version of Windows (or latest).
Or, you can use a third-party driver updater like DriverFix. It will detect outdated or missing drivers in no time, with a single click.
These were our solutions to fix cng.sys file missing on a Windows PC. We’d like to hear if any of them helped and which one. Use the comments section.