Home Networking

How to Fix Windows Error 0x80070020 After Forced Shutdown

Encountering Windows error 0x80070020 after a forced shutdown? This guide walks you through checking for file corruption and restarting essential services to regain access.

3 min read

Error 0x80070020 indicates that a file operation is blocked by another process, commonly occurring after a forced shutdown. This error can prevent you from installing updates or accessing certain applications. To resolve it, you'll need to check for file corruption and apply a series of commands to restart the necessary services.

What does error 0x80070020 mean?

Error 0x80070020 usually signifies that a file operation is being blocked by another process. This often happens after a forced shutdown, which can leave files or processes in an unstable state. You might notice this error when trying to install updates, run certain applications, or access files. Symptoms include failed updates, inability to open specific programs, or error messages appearing during file operations.

How to safely check for file corruption

Before proceeding with fixes, check your system for any file corruption that might be causing this error. You can use the built-in Windows tools:

  • CHKDSK: This tool checks the file system and repairs logical file system errors.
  • SFC (System File Checker): This scans for and restores corrupt system files.

To run these tools, follow these steps:

  1. Press Windows + X and select Windows Terminal (Admin) or Command Prompt (Admin).
  2. To check for disk errors, type:

    chkdsk C: /f

    You may need to restart your computer to allow CHKDSK to run.

  3. After that, check for system file integrity by entering:

    sfc /scannow

    This process may take some time, and you'll see a message indicating if any issues were found and fixed.

Steps to fix error 0x80070020

If you have confirmed that file corruption is not the issue, you can proceed to fix the error with the following steps:

  1. Run the Windows Update Troubleshooter: - Go to Settings > Update & Security > Troubleshoot > Additional troubleshooters > Windows Update > Run the troubleshooter.
  1. If the troubleshooter does not fix the issue, open the Command Prompt as an administrator again and execute:

    net stop wuauserv
    net stop cryptSvc
    net stop bits
    net stop msiserver
  1. Then, restart the services you stopped:

    net start wuauserv
    net start cryptSvc
    net start bits
    net start msiserver
  1. Finally, check for updates again in Settings > Update & Security > Windows Update.

How to verify the fix was successful

To confirm that the error has been resolved, follow these steps:

  1. Try running the update process again or opening the application that previously triggered the error.
  2. If the system does not display error 0x80070020 and updates install successfully, the fix worked.
  3. Additionally, you can check the Event Viewer for any lingering issues related to the error by: - Pressing Windows + X, selecting Event Viewer, and navigating to Windows Logs > Application. Look for any error messages that relate to the previous issue.

Preventing future occurrences

To avoid encountering error 0x80070020 in the future, consider these best practices:

  • Always shut down your computer properly to prevent forced shutdowns.
  • Regularly update your system to ensure you have the latest fixes and improvements.
  • Perform routine maintenance checks, including using CHKDSK and SFC periodically to catch potential issues early.

Conclusion

If the above steps do not resolve the issue, consider seeking professional technical support or visiting the official Microsoft support page for further assistance.