My computer takes very long to shutdown about 8 minutes when i played games. If i didnt play games it is a bit faster but still takes about 6 minutes to shut down.

It didnt do this till recently....

My pc specs:
CPU: Intel core i7 8 cores at 1.73 GHz
System type: 64 bit
OS: Windows 7 Home Premium Service pack 1
RAM: 4 GB
Hardrive: 581 GB

Computer: Laptop, Dell inspiron n5010

How can i fix this?

I have tried CCleaner, and it didnt work.

Dani AI

Generated

Good that it’s solved — and useful reminders from (check Task Manager) and (clear temp files). When shutdown stalls after gaming it’s usually because a background service or a user app is not exiting cleanly; Windows waits for those to stop and that wait behavior is controlled by a few registry timeouts, so changing the right key can make the problem go away or expose the real culprit. (howtogeek.com)

Common registry locations people tweak (back up the registry and create a restore point first):

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control   (WaitToKillServiceTimeout)
HKEY_CURRENT_USER\Control Panel\Desktop               (AutoEndTasks, HungAppTimeout, WaitToKillAppTimeout)

Altering these can either give services more time to finish (increase WaitToKillServiceTimeout) or force faster app kills (AutoEndTasks + lower HungAppTimeout/WaitToKillAppTimeout). Windows 7 has some historical quirks around WaitToKillServiceTimeout, so be cautious and prefer measured changes. (support.microsoft.com)

Practical troubleshooting/workflow (apply in order):

  1. Check Event Viewer (Windows Logs → System and Application) for Service Control Manager or app errors at the shutdown time to identify the offending service.
  2. Do a clean boot to rule out third‑party startup items/services. (support.microsoft.com)
  3. While gaming, watch Task Manager / Resource Monitor for processes that keep high disk/CPU activity or don’t exit when you close the game (overlays, anti‑cheat, cloud sync).
  4. Update or temporarily disable GPU drivers, overlays and AV while testing.
  5. Run system checks: sfc /scannow and a CHKDSK scan to rule out corrupted system files or disk errors. (support.microsoft.com)
  6. If a registry tweak is needed, export the key first, change one value at a time (test reboot), and avoid extreme low timeout numbers that risk data loss.

This approach explains why ’s registry change could fix the hang and gives safe steps to find whether the fix needs to be a tweak or a real update/cleanup of a misbehaving service.

Recommended Answers

All 3 Replies

It could be some residual service still running that's part of the game.
Check the Task Manager to see if there's something that uses a lot of CPU and/or memory.

rtemove the softwares which are not to be used permenantly and clear the temp through %temp% keyword.place this in Run and press enter to see the temp files delete all the files which are available and ping me back i will have some more tips lets try after this

It had something to do with the registry keys. I just had to change the value and now it is working fine.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.