0xc0000221 is an error code that typically indicates that a driver is not loading properly. This can be caused by a number of things, including outdated drivers, incorrect driver installation, or a corrupted driver file. In some cases, this error can also be caused by malware or a virus.
You are here because you have a question about:
- error code: 0xc0000221
- windows error code 0xc0000221
- 0xc0000221
1. Restart your computer and try again
- Boot your computer from the Windows installation media.
- Click "Start" and type "cmd" in the search box.
- Right-click on the "Command Prompt" shortcut and select "Run as Administrator."
- Type "regedit" and press Enter.
- Navigate to "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" and create a new string value named "UserName" with the value of your username.
- Navigate to "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\Secrets" and create a new string value named "LogonUser" with the value of your username.
- Close regedit.
- Type "net stop wuauserv" and press Enter.
- Type "net start wuauserv" and press Enter.
- Type "reboot" and press Enter.
- If the error still persists, restore your system to its previous configuration using the " Restore Computer to Previous Configuration " option on the Windows Installation Media.
2. Check for updates and install any available Windows updates
- Launch the Control Panel.
- Under the Programs category, click Windows Update.
- In the Windows Update window, click Check for updates.
- In the Check for updates window, review the available updates, and then click Install updates.
- In the Install updates window, click OK.
- If the update requires a restart, click Restart now. Otherwise, click OK.
- After the updates are installed, click OK in the Windows Update window.
3. Run the System File Checker tool to repair missing or corrupted system files
- Open the System File Checker tool by clicking on the link below.
- On the System File Checker tool screen, click on the Start button.
- In the Start Search box, type “cmd” and press Enter.
- In the Command Prompt window, type the following command and press Enter. sfc /scannow
- If the System File Checker tool finds any missing or corrupted system files, it will show you a list of the affected files. It will also give you a recommendation on how to fix the problem. Follow the recommendation to fix the system files.
- If the System File Checker tool does not find any missing or corrupted system files, it will report that the system is healthy and will not give you a recommendation on how to fix the problem.
4. Run the DISM tool to repair the Windows image
To run the DISM tool to repair the Windows image, follow these steps:
- Open a command prompt window. To do this, click Start, typecmd, and then press Enter.
- Type DISM /online /remove-package /packagepath:C:\Windows\System32\WindowsUpdate\WindowsUpdate.exe
- Type DISM /online /add-package /packagepath:C:\Windows\System32\WindowsUpdate\WindowsUpdate.exe
- Type DISM /online /enable-feature /featurename:WindowsImageBackup
- Type DISM /online /enable-feature /featurename:WindowsFeatures
- Type DISM /online /enable-feature /featurename:WindowsStorageServer
- Type DISM /online /enable-feature /featurename:WindowsServerBackup
- Type DISM /online /enable-feature /featurename:WindowsServerStorage
- Type DISM /online /disable-feature /featurename:WindowsServerBackup
- Type DISM /online /disable-feature /featurename:WindowsServerStorage
- Type DISM /online /rebuild-image /source:C:\Windows\System32\WindowsUpdate\WindowsUpdate.exe
- Type DISM /online /remove-package /packagepath:C:\Windows\System32\WindowsUpdate\WindowsUpdate.exe
- Type DISM /online /add-package /packagepath:C:\Windows\System32\WindowsUpdate\WindowsUpdate.exe
- Type DISM /online /enable-feature /featurename:WindowsImageBackup
- Type DISM /online /enable-feature /featurename:WindowsFeatures
- Type DISM /online /enable-feature /featurename:WindowsStorageServer
- Type DISM /online /enable-feature /featurename:WindowsServerBackup
- Type DISM /online /enable-feature /featurename:WindowsServerStorage
- Type DISM /online /quit
- Restart your computer.
5. Reset your PC to factory settings
- Boot your computer into Safe Mode with Networking.
- Click on Start and then enter "cmd" into the search box.
- Type "reset" and press Enter.
- At the command prompt, type "net stop winmgmt" and press Enter.
- Type "net start winmgmt" and press Enter.
- At the command prompt, type "regedit" and press Enter.
- Navigate to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Restore Points and delete the current restore point.
- Exit regedit.
- Type "reboot" and press Enter.
- After your computer reboots, open Microsoft Edge and visit https://www.microsoft.com/en-us/windows/reset-pc. Click on the link in the Microsoft Edge browser window.
- Click on the link that says "Reset this PC."
- Follow the on-screen instructions.
- After your computer has finished resetting, open the Task Manager and verify that the "Microsoft Windowsreset" process has finished.
Still not working? maybe try one of these options:
- Replace the affected file with a known good copy.
- Run a virus scan to check for malware.
- Perform a clean boot of your PC.
- Contact Microsoft support for further assistance.