Windows Force Shutdown Error Message Solution Hello Hackers… The best way is to close all your applications before shutting down your PC. But If you are a POWER USER , then the below method might help you. Screen Steps 1. Copy the following into notepad. [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management] “ClearPageFileAtShutdown”=dword:00000001 [HKEY_USERS\.DEFAULT\Control Panel\Desktop] “AutoEndTasks”=”1″ [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control] “WaitToKillServiceTimeout”=”1000″ 2. Save the file as shutdown.reg 3. Double click the file to import into your registry. This registry file automatically ends tasks and timeouts, that prevent programs from shutting down and clears the Paging File on Exit.