Jump to content
12 hours ago, Titanworks said:

I don't know why this is happening but normally when I turn my pc off,it shuts down after 20 seconds. But now, the pc take more than 10 mins.I tried to troubleshoot it but nothing worked so far.My pc is windows 11.

Well, it is very simple, when you shut down your system, Windows sends a call to all services, drivers and running programs that the OS is shutting down.

Running apps, drivers and services can go and say to Windows "Wait wait wait!!! Hold on! I am doing something!", and Windows waits for them.

 

So that is your problem.

Now, the fun part is finding the culprit.

 

You can reduce the timeout that Windows sets under the registry:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control

Set WaitToKillServiceTimeout to a lower value like: 2000 (2sec. Time is in milliseconds)

 

Check startup programs, and disable all unneeded application (typically: most of them)

In other words, keep: Defender, OneDrive and Edge (if you use those), the rest can be disabled.

Make sure ALL your drivers are fully up to date, this includes: Printer, Audio, Chipset, keyboard, mouse.

Lastly, close all programs before shutting down your system.

 

If you are using an HDD, then probably the page file is in there, and Windows is having trouble clearing it.

Install Windows on an SSD. Or if it already on an SSD, check the health state of your SSD (although unlikely, else you would report other problems)

Link to comment
https://linustechtips.com/topic/1490279-winodws-problem/#findComment-15816637
Share on other sites

Link to post
Share on other sites

25 minutes ago, Titanworks said:

I everything you've said (Updating everything,the windows registry,closing all the programs before shutting it down) but still it takes a long time to shut down

 

See Event Viewer, if anything shows up related or anything shows up starting from the time you shut down?

If not, do you have an A/V beside Windows Defender? If so, can you uninstall it?

Does the system join to a domain network?

 

If you disable Fast Startup under Windows, does your problem goes away? If so, then the issue is your system is having trouble hibernating, as it partially does that when using that feature to startup faster next time. But aside from knowing this, there is nothing you can really do. I would say deep defrag your system using a special tool, normally, but Windows 11 system requirement is an SSD, so you should be on that, and should be good.

 

The only thing I can think off at this point is to look into: Microsoft's Windows Assessment Tool to see what is going on. (You'll need to do a lot of reading. and I forgot, it's been more than 15 years since I touched it. and things have changed)

https://learn.microsoft.com/en-us/windows-hardware/test/assessments/

https://learn.microsoft.com/en-us/windows-hardware/test/assessments/shutdown-processes-duration

 

Link to comment
https://linustechtips.com/topic/1490279-winodws-problem/#findComment-15817428
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×