As you know the Windows 10 operating system is has a lot of features and some of them are related to turning off your computer in different ways in order to save power at different levels. These particular features are Shut down, Restart, Hibernate, and Sleep. However, there are times when you might encounter some issues when using any of the aforementioned features. One of these issues is when your computer shuts down instead of going to Sleep.
This issue could be caused by several factors including a bug related to the Intel Management Engine Interface or IMEI driver as well as any misconfiguration in the power settings of the BIOS or UEFI. If your computer is going through this problem, read on as this post will guide you in fixing it.
There are several potential fixes you can try to fix the problem. You can try to check the Sleep Advanced Settings or run the built-in Power troubleshooter or run the Power Efficiency Diagnostic Report. In addition, you can also try to troubleshoot the problem in a Clean Boot State or reset or update the BIOS.
The next thing you can do is to run the Power troubleshooter. To do so, follow these steps:
The issue with Sleep Mode might be caused by some third-party programs installed on your computer. This program might be the one that puts your computer to sleep and so to isolate this possibility, you have to put your PC in a Clean Boot State using the steps below.
You could also try to run the Power Efficiency Diagnostics Report to fix the problem. This tool is helpful and will help you analyze the status of the battery but note that this can be quite overwhelming especially if you’re not well-versed in this matter.
Updating the BIOS can help you fix the ATTEMPTED_WRITE_TO_READONLY_MEMORY BSOD error but as you know, BIOS is a sensitive part of a computer. Even though it is a software component, the functioning of the hardware depends on it largely. Thus, you must be careful when modifying something in the BIOS. So if you don’t know much about it, it’s best if you skip on this option and try the other ones instead. However, if you are well-versed in navigating the BIOS, then follow the steps below.
Note: If updating the BIOS didn’t help, you might want to consider resetting it instead.

Set-ExecutionPolicy Unrestricted
Get-AppXPackage -AllUsers | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)AppXManifest.xml"}Note: In the command given, do not forget to replace the “PackageFullName” with the actual package name for the Photos app. After executing the command, it will uninstall the Photos app from your computer so you need to install it again from the Windows Store by simply looking for it. Once you found it, just click on install to start the installation process.
One of the problems encountered by Windows users when upgrading to Windows 10 from Windows 7 or Windows 8/8.1 is the Error Code 0x80070020. This error code normally occurs when users try to download updates from the Windows Update Website or simply by upgrading to Windows 10. Error Code 0x80070020 also occurs when the device already has a Windows 10 installed.
Once this error is encountered, it will cause malfunction of update installs and display the following message:
An error (-5006 : 0x80070020) has occurred while running the setup. Or The process cannot access the file because it is being used by another process”
In an attempt to fix Error Code 0x80070020, it is important to pinpoint what the cause is. The most probable cause of this error is due to interference. This error code most likely occurs when there is another automatic update running, for instance, an Antivirus scanning in real-time. If you’re scheduled to have an automatic update during real-time scanning, the Windows 10 update might malfunction.
In trying to fix Error Code 0x80070020, you can perform manual repair methods to resolve the issue effectively and efficiently. Most Windows users can easily employ these manual repair methods, even those who do not have technical abilities. However, there are certain instances where a Windows professional’s help is needed. If you don’t want to face any risk in resolving the issue, it would be best to consult a professional Windows technician or you can also make use of a powerful automated tool.
NOTE: It is best to attend immediately to errors encountered since unresolved errors can result in slowing down your computer’s performance. This might also cause other error messages to arise such as Error Code 0x80070057.
Since Error Code 0x80070020 is most likely encountered due to interference during your update, the easiest method you can do is to close all opened programs and restart your device. After restarting, try to start the update process again.
Another quick and safe way to fix Error Code 0x80070020 is to disable your antivirus. You must take note though that in doing so, your computer will be susceptible to virus attacks. If you want to proceed with this method, follow these steps:
The Windows Update Troubleshooter may resolve many of the errors encountered by Windows users when installing updates from Windows Update. To execute the troubleshooter, follow the steps below:
Executing a clean boot means starting Windows using only a few resources, including startup programs and drivers. This safeguards minimizing conflicts and prevent software clash when an update is received. In performing a clean boot, you will be able to pinpoint what caused the manifestation of error code 0x80070020. Check Microsoft’s Support website to know how to execute a clean boot.
Performing this method is a bit risky and should be your last option if all methods were unsuccessful. This process will alter your device’s registry so you must ensure to perform accurately the steps. A single mistake can lead to modifying your registry erroneously, which might result in the occurrence of other error messages. Carefully follow the steps found on Microsoft’s Support website to successfully reset Windows Update components.
Resetting Windows Update components can also be done by implementing the following steps:
A third-party antivirus such as BitDefender may recognize the Windows Update as a threat since the new update of Windows 10 is probably not yet registered with this third-party antivirus vendor. To solve this, you must disable temporarily the antivirus before performing the update. Once the third-party antivirus is disabled, you can now proceed with the updating process. Update as well your third-party antivirus.
The Deployment Image Servicing and Management (DISM) is a command-line utility that is installed by default in Windows 10 system. This program is used to fix images in Windows. In the case of Error Code 0x80070020, the DISM can repair the recovery image in Windows 10 and can perform as a virtual hard disk as well.
/CheckHealth – to check for corrupted files or components
/ScanHealth – to check for corrupted Windows image. This may take up to 10 minutes to finish
/RestoreHealth – to check for corrupted Windows image and do an automatic repair. This may take up to 20 to 30 minutes to finish
NOTE: In an instance where you cannot locate the good files in your computer, the system image files may be corrupted. If this happens, you need to have a copy of install.wim from a computer with good Windows 10 OS or the Windows 10 ISO file. Make sure that the source of the good files has the same language, version, and edition of your OS.
Enter the following commands one by one to perform the /RestoreHealth switch using the source path location of good files you copied:
For example purposes, the “repairSource” is the source of the good files.
net stop vss net start vssOnce the commands execute successfully, try the system image backup again. The operation should complete successfully. You need to also check if the Software Protection Service is disabled. If it is, then Start it and ensure that it is set to default which is Automatic (Delayed Started).
Error CausesChatZum is a Potentially Unwanted Program that installs a Toolbar into your browser. This program allegedly allows users to zoom in on photos without clicking on them, however, upon further research, it was discovered that this function does not work on the latest version of browsers.
From the Author: ChatZum is a Browser add-on (toolbar) that enables its users to hover over images in Major Social network's websites and view a larger version of an image.
While installing this toolbar will track user web browsing sessions and will record website visits, clicks, and sometimes even personal information. This information is later used to display targeted ads to the user. To allow easier user tracking, the program changes the browser home page and default search engine to Nation Search Advanced, which injects additional advertisements and tracks user activity.
Several anti-virus applications have marked this program as Potentially Unwanted, and it is not recommended to keep it on your computer, especially considering the fact it will most likely not work on your browser.