- 1 Reasons for the error
- 2 Alternative ways to solve the problem
- 2.1 Use the updater from Microsoft
- 2.2 Reset update services via command line
- 2.4 net stop bitsnet stop wuauservnet stop appidsvcnet stop cryptsvcDel “%ALLUSERSPROFILE%Application DataMicrosoftNetworkDownloader*.*”rmdir %systemroot%SoftwareDistribution /S /Qrmdir %systemroot%system32catroot2 /S /Qregsvr32.exe /s atl.dllregsvr32.exe /s urlmon.dllregsvr32.exe /s mshtml.dllnetsh winsock resetnetsh winsock reset proxynet start bitsnet start wuauservnet start appidsvcnet start cryptsvc (code-box)
- 2.5 Use the troubleshooter
- 3 Conclusion
Reasons for the error
The cause is a corrupted update file or corrupted system files. And the reasons for file corruption can be the following:
- Unstable internet connection while downloading the update. If you are away from the city and use the Internet through a mobile phone, distributing Wi-Fi , or using a 4G modem, the chances of downloading a damaged update file are much higher. Do not forget to set the “Limited connection” option on mobile Internet connections. And while you use this connection, the system will not try to download its updates through it.
- System files can become corrupted if your hard drive begins to slowly die or if you forcefully unplug your computer very often, preventing the system from shutting down properly. Don’t do that again! Always shut down your computer gracefully and check your hard drive for errors about once every six months. If you have an SSD, you can’t even force a power off. SSD drives are more sensitive to such things.
How to fix 0x800f0905
Depending on what caused the file corruption, the repair methods will be different.
Unstable internet connection
If you are unable to connect to a normal Internet, let the system try to update again.
If that doesn’t help, delete the contents of the c:windowsSoftwareDistribution folder to remove downloaded but corrupted update files. The system will download them when you try to update again.
System file corruption
If the above methods did not solve the problem, most likely you have corrupted system files. The following will help you:
- On your keyboard, hold down the win+r key combination .
- Type cmd and press OK or Enter.
- The console will open. In console type: sfc /scannow
- Press Enter. Wait for the scanning of system files to finish.
- After that, try to run the update.
- If that doesn’t work, try this command: DISM /Online /Cleanup-Image /RestoreHealth.
Alternative ways to solve the problem
Use the updater from Microsoft
To solve the problem with the updater, do the following:
- Depending on the operating system, download the appropriate program for Windows 10 (you can simply update through the system itself) or Windows 11 .
- After agreeing to the license text, a dialog will appear with options for what to do next. Click “Upgrade this PC”.
- Follow further instructions on the screen.
Reset update services via command line
In order to reset the update services through the command line, do the following:
- Open Command Prompt . Windows + r, cmd, Enter.
- Run the following commands in sequence, pressing Enter after each:
- After that, check for updates.
net stop bits
net stop wuauserv
net stop appidsvc
net stop cryptsvc
Del “%ALLUSERSPROFILE%Application DataMicrosoftNetworkDownloader*.*”
rmdir %systemroot%SoftwareDistribution /S /Q
rmdir %systemroot%system32catroot2 /S /Q
regsvr32.exe /s atl.dll
regsvr32.exe /s urlmon.dll
regsvr32.exe /s mshtml.dll
netsh winsock reset
netsh winsock reset proxy
net start bits
net start wuauserv
net start appidsvc
net start cryptsvc (code-box)
Use the troubleshooter
In order to do this, follow these steps:
- Hold win+I.
- Click the Update & Security tab.
- In the list, click Troubleshoot.
- Click More troubleshooting center tools.
- In the list of what to diagnose, click windows update.
- Follow the instructions on the screen.
After all of the above, here are some more tips for you:
- Mark unstable internet connections as metered connections in settings. To do this, go to the parameters for win + i, network, Wi-Fi, properties of the connected network and check the box set as a metered connection. You can also set up a metered connection for Ethernet.
- Take care of your hard drive or SSD . Check it regularly for errors to avoid corrupting system files or other data. Check for errors using built-in tools and third-party programs. With built-in tools:
- Press win+x.
- From the drop-down menu, select Disk Management.
- Select the desired drive to check. Right click on it and click properties.
- Go to the service tab and click check. Follow the on-screen instructions.
- Always shut down your computer gracefully. Do not forcefully unplug from the outlet, especially if you have an SSD.
We hope this article has been helpful to you. Write questions in the comments if something is not clear.