Fix error all apps closing when computer is in sleep mode – Windows 10

Putting the computer to Sleep mode is probably the choice of many people who want to pause their work to go out to breathe fresh air or simply make a cup of coffee

A lot of computers have experienced an extremely uncomfortable issue related to Sleep mode. Those are all applications that are closed when Windows goes to sleep mode

Fix windows 10 closes all apps when going to Sleep

Method 1: Use the Power Troubleshooter tool

Whenever you encounter any errors on the system, the first tool that we should use is the Troubleshooter toolkit available in Windows.

And in this case, the Power Troubleshooter will automatically fix common Power Plans related errors, it will bring the settings in Power Plan back to the factory default settings.

This debugging tool helps you check settings such as the time the device automatically turns off the screen, automatically Sleep …
The use of tool also helps to adjust and increase the the battery life of Laptop. Probably more accurate to say is to save Laptop Battery.

How to:

Step 1: Use the Windows + S key combination → Input keyword ” Troubleshooter” → Open the Troubleshoot Settings tool in the list of search results.

Step 2: In the Troubleshoot Settings window → Scroll down to find Power → click it and select Run the Troubleshooter to run the Windows 10 Power Plans debugger.

Wait for this tool to run for 10-30 seconds and until the system makes the appropriate settings for your computer, just click Apply this fix.

OK, Now turn on some applications and switch the computer to sleep mode → Go make coffee and then enjoy the result.

Method 2: Use the script in the Command Prompt

Step 1: The first open Windows Run (using Windows + R key combination) → enter “notepad” → click OK to open Notepad editor.

Step 2:

Next, copy and paste the commands below into Notepad → then press Ctrl + Shift+ S to save this file ( Or File → Save as..)

@echo off
date /t & time /t
echo Dism /Online /Cleanup-Image /StartComponentCleanup
Dism /Online /Cleanup-Image /StartComponentCleanup
echo …
date /t & time /t
echo Dism /Online /Cleanup-Image /RestoreHealth
Dism /Online /Cleanup-Image /RestoreHealth
echo …
date /t & time /t
echo SFC /scannow
SFC /scannow
date /t & time /t

Step 3:

This file you can save arbitrary name, however the file format is required to be .BAT.
To do that, when saving, select All files (.) In the Save as type section to save the .bat extension.

Step 4: Finally , right click on the *.bat ( ex: uptowindows.bat) → Run Administrator → and wait for the scan process in the Command Prompt to complete.

The process running at 100% complete, please restart your computer and check if the error of closed applications when switch to sleep mode appears ?


In my opinion, this error is easy to fix. However, many people often misunderstand that this error is caused by MAIN or RAM.
Hopefully this article will help you fix the computer error that automatically closes the application when the computer goes into Sleep mode.

0 0 vote
Article Rating
Notify of
Inline Feedbacks
View all comments
Would love your thoughts, please comment.x