0

recently I have problems with my windows 10 shutdown time. It takes few minutes after pressing shutdown option to see spinner . When spinner shows computer turns off within few seconds but until that I can still work, open new programs etc. There almost no disk activity (SSD). No jams, everything works normally, like no shutdown was ever pressed. The same is for shutdown command in cmd. No new hardware was added or new applications. It have worked normally on one day, and next day shutdown takes forever. It looks like "shutdown" command start is delayed or something.

I followed this thread https://superuser.com/a/1117585/1164544 and by using Windows Performance Recorder (GUI) I got shutdown log. But I don't understand data. It looks like most time computer spends on turning off user session. But graph starts at 155s, what does it mean? Also why there are no processes in "User session shutdown" section, is it possible to get more details?

Slow shutdown of Windows 10 - Windows Performance analyzer

EDIT: nothing has helped. I have disabled 'fast boot' option, edited other options found in internet and nothing helped. I Have problems even with taking proper log because when I shut down computer via Windows Performance Recorder it closes almost instantly. But when I shut it down from windows menu it takes few minutes. It looks like some lag in shutdown command itself. As I wrote before it takes few minutes between clicking shutdown (or running command in console) and windows showing "close screen" spinner. When spinner is shown it takes few seconds to shutdown system completely.

  • Maybe your pagefile is set to empty on exit (session), and that's what taking most time. In Regedit, if you navigate to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management, you'll find an entry called "ClearPageFileAtShutdown". If it has a "1" value, then Windows will delete everything in your pagefile before the system can shutdown. Depending on how fast your PC is and the size of your pagefile, this can take quite some time, up to several minutes on a slow machine. Give this entry a "0" (zero) value, restart, then restart again after a few minutes. –  Apr 17 '20 at 09:51

1 Answers1

-1

Ok, I will answer my own question but I don't have good news for people with problem like this. For me everything fixed itself. I don't know why, maybe windows update installed some patch. My PC now closes in few seconds.

  • This is **not** an [answer](https://superuser.com/help/how-to-answer)... at best it's a comment and would be better served as a comment or edit. – JW0914 Jun 08 '20 at 08:57