You may have faced an issue every time while going to shut down your PC that always says “NVcontainerwindowclass002030230 preventing shutdown” and then it shut downs. If this is the case, then don’t worry, we are on the same ride.
I also have faced a similar issue like this and I can assure you that this isn’t a big problem. NVcontainer of Windows class can prevent the shutdown if the application is running in the background. Thus, it takes time before shutting down your PC and shows ‘preventing shutdown’.
In this article, I am going to tell you the reason behind this issue and also show you how did I get rid of this warning message on my computer. So, what are you waiting for, let’s jump in!
Nvcontainer is a process also known as NVIDIA container, NVIDIA local system container, NVIDIA drivers, and NVIDIA Display Control which belongs to the software NVIDIA ( www.nvidia.com ).
It refers to the nvcontainer.exe file which is a necessary process of controllers and is mainly used to store other NVIDIA processes or other tasks. As it handles the NVIDIA tasks, it closes safely all the NVIDIA process while shutting down the PC and that’s why the PC shows that the NVcontainer Windows Class preventing shutdown.
What to Do Before Fixing the Nvcontainer of Windows Class Error
You can know whether nvcontainer is working in the background or not by using the security task manager. It will show you which app is starting automatically. In the security task manager for every process, you can see :
- Security elevation
- CPU usage graph
- Memory usage
- GPU usage
- Performance of the laptop or desktop
- App history etc.
It will help you to detect if the NVIDIA container is working in the background to prevent shutdown or not.
How to Solve the ‘Nvcontainer Windows Class Preventing Shutdown’ Issue
To prevent this problem there are some options for solving the problem. If one option doesn’t work you can use another option. The prominent options are-
- Uninstall NVIDIA GeForce Experience
- Update the display driver in the device manager
- Uninstall and reinstall the display driver in the device manager
- Run scan health and restore health
- Upgrade windows
Method 1: Uninstall NVIDIA GeForce Experience
To uninstall the NVIDIA GeForce experience you need to follow these steps:
Step 1: First, go to settings and open apps. Then go to the app and features.
Step 2: You can see a search bar, search for Windows NVIDIA GeForce experience or you can find it by scrolling down.
Step 3: Then place the mouse cursor on it and press the right button of the mouse.
Step 4: You can see uninstall option at the end of the options. Click Uninstall.
Step 5: At last, reset your computer and observe changes.
Method 2. Update Display Driver In Your Device Manager
Follow these steps:
Step 1: Press the windows key and X.
Step 2: Search for the device manager and open it.
Step 3: Search for the display adapter and expand it.
Step 4: Then place the mouse cursor on the display driver and press the right button of the mouse. Click Update driver software from there.
Step 5: Then select Search automatically for updated driver software.
Step 6: At last restart your computer and check.
Method 3. Uninstall And Reinstall Display Driver In Device Manager
Follow these steps:
- First, you are going to need DDU ( Display Driver Uninstaller ). Download the display driver uninstaller from the link.
- Run the display driver uninstaller. Restart the computer after the uninstallation of the display driver.
- Then you can see that your driver manager is showing a Microsoft Basic Display adapter.
- Download the display driver from NVIDIA ( www.nvidia.com ).
- Install the driver.
- Reset your computer and observe for changes.
Method 4: Run Scan and Restore Health
Step 1: Press Windows key and type: CMD
Step 2: Click Run as administrator
Step 3: Type in at the prompt OR Copy and Paste these one at a time: (Hit enter after each)
Dism /Online /Cleanup-Image /CheckHealth
Dism /Online /Cleanup-Image /ScanHealth
Dism /Online /Cleanup-Image /RestoreHealth
Also, run the System File Checker utility:
Step 1: Press Windows key and type: CMD
Step 2: Click Run as administrator
Step 3: On the Command Prompt, type: sfc /SCANNOW
This will check for any integrity violations
Step 4: Restart your system
Method 5: Upgrade windows
Windows update will be another fix you can try to resolve the error. I will describe the way below.
Step 1
Firstly, press the Windows and ‘I’ keys together to access the ‘Settings’ window. After that, scroll down to the bottom and select the ‘Update & Security’ section.
Step 2
Then look at the left sidebar of the newly appeared interface and click on the ‘Windows Update’ option.
Step 3
Next, give your concentration on the right sidebar. Here you will get the ‘Check for updates’ option. You have to click on it to check the availability of Windows updates. To apply this, you need an internet connection.
On the other hand, if your PC always has an internet connection, Windows will automatically download the update. And complete the installation.
Frequently Asked Questions and Answers
Can I Disable Nvcontainer?
Yes, Nvcontainer as known as the “Nvdisplay.container.exe” process can be disabled. To disable it, launch File Explorer and navigate to C:\Program Files\NVIDIA Corporation\Display.NvContainer\plugins\LocalSystem\. Then click on the DisplayDriverRAS folder and delete the folder.
How Do I Stop Nvidia Container from Using My GPU?
You can access the in-game overlay using the Nvidia Container. However, it can lead to a high GPU usage issue on your computer as it runs in the background and keep consuming CPU and GPU. You can stop Nvidia Container from using high GPU simply by disabling in-game overlay.
Is Nvidia Docker Necessary?
Yes, Nvidia Docker is necessary. It is necessary to execute a container that uses GPUs. It has a GPU along with the required driver installed.
Is It Ok to Disable Nvidia Container?
Nvidia Container maintains the Nvidia processes. But disabling it won’t affect the performance of your computer. In fact, you can get rid of some Nvidia processes by disabling NVcontainer that were triggering the high CPU and GPU usage.
Conclusion
In this article, we came to know about nvcontainer and why it is preventing shutdown. Also how to solve this problem. The nvcontainer can prevent shutdown because it can be working in the background while closing the computer. It can waste our time while shutting down the laptop.