Thank you for being a valued part of the CNET community. As of December 1, 2020, the forums are in read-only format. In early 2021, CNET Forums will no longer be available. We are grateful for the participation and advice you have provided to one another over the years.

Thanks,

CNET Support

Question

PC hangs on shut down, but not all the time

Oct 24, 2016 2:59AM PDT

This problem started a couple of weeks ago. As the title suggests, when I shut the PC down it just hangs at the "shutting down" screen for no reason and the activity light on the front of my PC stops blinking completely. This forces me to turn the PC off by the plug.

I have no idea what's causing this and what makes this problem even more frustrating is that it doesn't happen all the time. For example, when I have to shut it down by the plug I always turn it back on again and do a clean shutdown it's fine. Furthermore, there have been times when I've had it on for just a few hours and turned it off as a test and again it's been fine. There was even a case when I turned it on the morning, went on the internet for a bit, left it on sleep all day, came home and used it for a bit and then shut it down and again it was fine. The only time it actually seems to be if I've been using it most of the day. The fact that it doesn't do it all the time means it almost certainly isn't one of the normal programs that runs on startup, nor do I think it's a hardware issue.

I've researched this issue a lot but unfortunately most of the people that have had this problem seem to have had their PC not shut down ALL the time. The fact that mine only does it some of the time means it's very hard to even test things out.

Any suggestions for this? My PC never has any problems turning on after I've cut the power and I've had no performance issues but obviously this isn't something that should happen.

For what it's worth, I turned on detailed status messages for startup and shutdown and my computer gets past all the messages (e.g. "stopping services", "shutting down update service") before hanging on the final "shutting down" screen.

Any suggestions?

Discussion is locked

- Collapse -
Clarification Request
Not a clarification request but an update
Oct 25, 2016 3:37PM PDT

So I went on my PC for a bit this morning and had it on sleep while I was at work all day. Came home and went on it for a couple of hours and once again it turned off fine. I do find it strange that I can leave it on sleep all day, use it for a few hours and it still shuts down fine. Of course the problem might've been fixed with the changes I made last night but I think if the problem does persist a way around it may be to put the PC in sleep mode for a bit before shutting it down. Maybe putting it to sleep "resets" whatever is causing this problem?

By the way, I really appreciate you all helping with this. Unfortunately the nature of my problem means that as I said, I only get one chance a day to test things.

- Collapse -
Answer
Re: hangs
Oct 24, 2016 3:45AM PDT

Go into Task Manager see what process you have to end from there before it shuts down OK. Concentrate on all non-Microsoft processes to start with.

Might take a rather long time to find out.

- Collapse -
Re: re: hangs
Oct 24, 2016 4:00AM PDT

I guess I could give that a try. I might keep a log of what processes are running when my PC shuts off fine and what are running when it isn't. May help me get to the bottom of this.

It's still odd though how I can use it for hours and it shut off fine.

- Collapse -
Task manager
Oct 24, 2016 2:55PM PDT

I don't think it's a process. I turned my PC off this morning as a test and it was fine and made sure to take a screenshot of all the processes that were running before the successful shutdown and did the same just now before an unsuccessful shutdown. The processes that were running were identical.

- Collapse -
Points to hardware problem
Oct 24, 2016 3:01PM PDT

Something keeps it awake? Checked all the "wake on" settings?

- Collapse -
Wake on settings
Oct 24, 2016 3:11PM PDT

The problem isn't that it wakes on its own in sleep but rather that it doesn't shut down.

I did however take a look through the other settings and USB selective suspend was enabled. Apparently people have had shutdown problems with that. I also lowered the minimum processor state from 100% to 10%. Don't know if that's got anything to do with it though.

- Collapse -
Worked perfectly
Oct 25, 2016 4:33AM PDT

hey Worked perfectly for me . Thanks for helps !!

- Collapse -
Solution
Oct 25, 2016 1:30PM PDT

Hi Barbara, I'd be interested to know what your problem was and what the solution was?

- Collapse -
Answer
You said it started a couple of weeks ago
Oct 24, 2016 5:08AM PDT

That would be about the time MS released its last batch of updates. Did those install and can you possibly connect the problem to that time? If so, you can try to uninstall them or use system restore to replace the settings to a time previous to the problem. I have seen what you noted and I've also seen failures to login from the welcome screen where the PC just hangs. MS Office and its updates are suspect as well as have been other updates. But, since you can point to a time since this began, I'd search my own head for what might have changed just prior to the problem.

- Collapse -
Windows updates
Oct 24, 2016 5:57AM PDT

Yeah, around then. How would I go about uninstalling them? As for system restore, I've never used it before but if I did use it what would be affected?

But would the update really cause this to happen only some of the time? The whole thing's just odd because it only seems to happen if the PC has been on for a long time (e.g. 12+ hours), and even then it doesn't seem to happen if most of that time has been spent in sleep mode.

- Collapse -
Just a test
Oct 24, 2016 7:12AM PDT

Run a pass of sfc.
Run a pass of chkdsk with the repair bad sectors option.
If this is a desktop take the side panel off.

- Collapse -
Test
Oct 24, 2016 2:53PM PDT

Just did both of these. sfc did bring up something corrupt which was fixed. Not sure what the results of chkdsk were as I was out of the room doing something else while it was running.

Taking the side panel off isn't really practical for me not just because of the PC's location but also because as I said, this problem only seems to happen when the PC's been in for a long time. It's so frustrating because it means I basically get one shot a day at testing stuff out. Any other times I try and turn it off it's fine.

- Collapse -
Test
Oct 24, 2016 3:25PM PDT

The chkdsk results are in the event viewer.
How hard can it be to remove the side panel?
You try stuff and find out what it's not.

- Collapse -
You mentioned sleep mode
Oct 24, 2016 10:27AM PDT

so I wonder if you have some USB external drive that's attached. Some of these have been known to cause odd startup and shutdown problems. Some will also spin down when not in use or if a USB port goes into some power saving mode. Personally, I gave up on hibernation and sleep modes long ago. Of course this was with laptops and not PCs but I do wonder if enabling sleep mode is related to your issue. You might try turning that feature off for a while just to see if it changes anything.

- Collapse -
Sleep mode
Oct 24, 2016 2:14PM PDT

I don't use sleep mode very often - I was just making the point that the PC has problems shutting down when it's been on all day but seemingly not if it's been in sleep mode for most of the day.

I do have an external HDD attached so I might try turning that off before I turn my PC off and see what happens.

- Collapse -
Answer
Try the OTHER option to pulling the plug.
Oct 24, 2016 3:31PM PDT

This also helps me determine if there is a hardware issue.

Next time, don't pull the plug. Press and hold the power button until it powers off.

This can take from 4 to 30 seconds. Not instant. If this fails it points to motherboard or PSU failures.

- Collapse -
Power down
Oct 24, 2016 3:55PM PDT

I'm not sure if my PC can be turned off by holding the power button? I've never tried it before.

I really hope it's not a hardware problem. I only got this PC a few months ago. But surely if it was a hardware problem it wouldn't shut off at all? As I said, it shuts off fine some of the time.

- Collapse -
I only find this to fail
Oct 24, 2016 4:18PM PDT

When the hardware has failed. This makes it one of many hardware tests I do today.

- Collapse -
Power settings
Oct 24, 2016 5:20PM PDT

These are in your BIOS but I can't direct you as to where. There should be one that allows options when the button is pressed such as power down immediately or wait 4 seconds. As well, there should be one that tells the PC whether to restart after a power failure or remain shut down. You'll have to search for these by entering the BIOS when starting the PC. It's usually a function key or the delete button. The key needed might be briefly displayed on your monitor during POST.

- Collapse -
Answer
Settings
Oct 26, 2016 1:38AM PDT

Agree with previous comment. I think it is due to settings problem. You can restore older settings and check sleep mode.

- Collapse -
Answer
SOLVED!!!!
Oct 27, 2016 2:41PM PDT

This is now solved. It was an old game (Tomb Raider III to be precise) which was causing this problem. I suspected it might be the game because it started around the time that I installed it and from what I can recall it did seem as if the days my PC shut off fine were the days I didn't play it. Also, I'd had a few problems starting the game up which again caused my PC not to shut down.

I did test this out last week by playing the game for about a minute and then shut the PC down fine but seemingly this problem arises when the game has been on for a prolonged period of time. Still don't know how to solve that issue but it's good that it was that rather than a hardware program.

Thanks for all your help by the way.

- Collapse -
maybe
Oct 27, 2016 3:43PM PDT
COMCTL32.DLL files particular to that game causing it to hang up the computer?
- Collapse -
DLL file
Oct 27, 2016 4:00PM PDT

No idea - why that one in particular?

- Collapse -
I remember in games
Oct 27, 2016 4:10PM PDT

that one file caused a lot of problems. An older game would get installed on a newer OS than it was issued for, then things would go wrong because the game replaced the updated version of the file. The fix often was to put the older file into the same folder as the game, since it always looks first in it's own folder before following a generic system path, so the game would play correctly and then replacing the current file into the system folder or whichever it's placed into now. You mentioned the game seemed to be the cause of your problem and that old memory came up.

- Collapse -
DLL file
Oct 27, 2016 4:45PM PDT

Ah ok.

I think it might have something to do with the graphics card. I've played this game with the same OS on previous PCs fine. Also, one of the textures in the game doesn't show up properly. It's a very minor point but could be related.

Not that I'm that bothered - I'd rather have a problem with my PC not being able to play this one game than have something wrong with the hardware.

- Collapse -
How about the other way to power down?
Oct 27, 2016 3:44PM PDT

Does Hibernate work around this one?

- Collapse -
Hibernate
Oct 27, 2016 4:00PM PDT

What do you mean exactly?

- Collapse -
Since Hibernate has been around for 2 decades.
Oct 27, 2016 4:05PM PDT
- Collapse -
Hibernate
Oct 27, 2016 4:43PM PDT

No I know what hibernate is, you just didn't give much detail. "Does hibernate work around this one" is pretty vague. What did you mean by that exactly?

- Collapse -
As a test
Oct 27, 2016 4:53PM PDT

Try hibernate instead of shut down.