General Windows Reboot Troubleshooting thread

dclive

Elite Member
Oct 23, 2003
5,626
2
81
7/28: Added step 10, registry swap.
8/4: Clarification of steps.
8/14: Added step 11, please give me the URL to your post with the problem so we can all learn from it.
8/17: Emphasis added on driver updates and Windows updates. Get them all. Update them all. Install them all. This ONE step solves many problems! Oh, and added BIOS updates note for Intel hyperthreaded systems.
9/5: Added how-to-fix-minor-registry-issues.

I thought it would be wise to post a few specific steps (that perhaps I and others can refer back to) in troubleshooting Windows blue screens of death, or BSODs (or reboots, since most have the autoreboot turned on.) These are the steps I take; others might use something a bit different.

Here are a few that I recommend everyone who sends me a dump use:

**** If you read nothing else, read step 1 completely ****
1. If your machine is rebooting, before you do anything else, visit Windows Update and get all (*all*) updates (yes, ALL - critical, non-critical, and drivers - even if it has nothing to do with your problem - Yes, this DOES mean to upgrade to Service Pack 2 if you can!) Then go to your vendor (graphics, network, motherboard chipset, sound card, etc.) and update all those drivers...yep, all of them! This step - updating audio, video, NIC, & Microsoft Windows software, etc. - solves most problems right here! And get the latest BIOS update - particularly if you're using a system with Intel hyperthreaded CPUs. Finally, it should go without saying - normally clock your machine. No overclocking!

This is always the baseline; dumps made before this point don't count. :)

2. Send me the .CAB file that is generated when running MPS Reports. Get MPS Reports from here: http://download.microsoft.com/...6/MPSRPT_SETUPPerf.EXE (all in one line). Say 'yes' to the questions about EULA and MSINFO32. Run this in normal mode if you can, safe mode if you can't otherwise boot.

3. If you suspect a virus, boot in safe mode and run MSINFO32. Go to the FILE menu (the leftmost menu) and SAVE a System Information report (.NFO file) and send the NFO file to me. Various OSs have slightly different wording. Win2000, XP, and 2003 all have this utility. Also, if you can pop out your hard drive and plug it in another machine that works successfully and scan it for viruses from that other machine, do so.

4. If your machine is rebooting, right-click on My Computer, Properties, Advanced Tab, Startup & Shutdown button, and ensure the Mini or Small dump is selected. Turn off the auto-reboot checkbox. When a dump / BSOD happens, send me the dump from that date and time. You'll find the dump in c:\windows\minidump. Please only send it if you have *already* done the steps above, and send only the dumps made *after* you made the other changes listed above.

So, now try to reproduce the problem, and get a memory dump, and then mail it to me.

5. I do my best to give timely, accurate information. I'll also try to tell you if I don't have any ideas. If your dumps are a STOP 50 here, a 235 there, and a 7F there, for example, then it's likely it is hardware. (In other words, totally random dumps, and lots of them, are typically hardware.) If your dump is consistently the same, it is more likely I'll be able to give you something accurate. There are a few others on here that are vastly better than I at reading dumps, and perhaps they'll be able to help too, so make your case known and clearly ask for help in a new post.

6. If you've made any changes prior to the dump happening (for example, installed a new software package or driver) please clearly state that. If you've done any troubleshooting steps already, say so. However, if you just changed something and it reboots, logic says it's the new change that's the problem, so try removing the change first.

7. If SAFE MODE (reboot, hit F8 prior to Windows loading, select SAFE MODE) works, then you can use MSCONFIG to hide all Microsoft services, and turn everything else off, then boot in normal mode. If that works, then turn on a service (one or two at a time) until you can isolate the problem.

8. If you just ran WayCoolRegistryEnhancingProgram and it changed something in your registry so you can no longer boot, try LastKnownGood. Hit F8 when you boot (prior to Windows loading) and select LastKnownGood. You might now be able to boot successfully, and if you can fully log in, that will overwrite your previously bad registry changes.

9. Sometimes I ask for a registry file. To send a copy of the registry, run NTBACKUP (installed by default in 2003, 2000, and XP Pro; available on the XP Home CD), select the option to back up the System State (it's found under My Computer, under the drive letters, from within NTBACKUP), tell it to save to the C:\backup.bkf file, and start the backup. Then delete that backup.bkf file (or save it if you like), and send me the SYSTEM and SOFTWARE files found in c:\windows\repair directory (or c:\windows\repair\regback if it's a Windows 2000 system). That will let me see what is installed on the system. The files can be large; WinRAR (www.rarsoft.com) will let you segment these files into smaller chunks if necessary.

10. Finally, one handy way to troubleshoot if the issue concerns the registry or your Windows files (excluding hardware) is, via recovery console, to make a backup copy of (sam|software|system|security) files found in c:\windows\system32\config (perhaps making a new directory in there called backup) and then copying those same files from c:\windows\repair to c:\windows\system32\config. This makesyour original registry (or the registry you had from your last NTBACKUP of the system state) the 'active' registry. If this works, you can determine that it's a problem with the registry. If this does not work and still reboots, etc, then you can determine the issue is likely a problem with files on the system....but if it works, you can now edit your previous registry, turn off auto-reboots, and more.

11. If you're having a bluescreen problem, I'm happy to help, but I do need to ask you that you make a new topic on AnandTech's forums, post the problem you're having, when it happens, any patterns that you see, etc., and then mail me the URL to that new topic you've made plus the MPS Reports information (the .CAB file) and the minidumps you've got, plus your AnandTech alias. The new topic allows everyone to see and comment on the problem, and it allows everyone to try to help find a solution - and everyone gets to learn when a solution is found.

12. Registry problems? Fix minor registry problems with chkreg (see www.microsoft.com for this download, but it will take 6 floppies - bleh) or by doing the following: 1. Perform a parallel install of Windows XP or later to another disk or directory. 2. Install (in the case of XP) SP1 or SP2; at least SP1 is required. 3. Start/Run/RegEdit, highlight/select HKey Local Machine, click FileMenu-LoadHive, and navigate to (the partition that contains the bad Windows registry):\windows\system32\config\ and load, one by one, the software, sam, security, and system hives. Each will prompt for a name; give each a name. If any problems are found, you'll be told, and minor problems will be fixed automatically. Then you can reboot and see if you can load the original Windows installation.

Thoughts?
 

Ryoga

Senior member
Jun 6, 2004
449
0
0
Originally posted by: dclive
1. If your machine is rebooting, before you do anything else, visit Windows Update and get all (*all*) updates (yes, ALL - critical, non-critical, and drivers - even if it has nothing to do with your problem).

I would never recommend to anyone to get drivers from WU. I can't even begin to count the number of times that's broken something or Windows has selected incorrect (and even out of date, even for WHQL stuff) drivers.
 

dclive

Elite Member
Oct 23, 2003
5,626
2
81
Originally posted by: Ryoga
Originally posted by: dclive
1. If your machine is rebooting, before you do anything else, visit Windows Update and get all (*all*) updates (yes, ALL - critical, non-critical, and drivers - even if it has nothing to do with your problem).

I would never recommend to anyone to get drivers from WU. I can't even begin to count the number of times that's broken something or Windows has selected incorrect (and even out of date, even for WHQL stuff) drivers.

They are out of date sometimes (nVidia & ATI drivers come to mind), but they're also WHQL certified, which means they're signed, they've been through driver verifier, and they've been deemed reliable and known-good. It's a good starting point for troubleshooting; I don't suggest the drivers there are 'fastest' or 'bestest' -just reliable. And for bluescreen troubleshooting, that's exactly what we need.
 

Ryoga

Senior member
Jun 6, 2004
449
0
0
But my point is that they're not reliable. Things stop working when you use them. I've updated NIC and modem drivers... and then had to delete the device and reinstall drivers for the device that AIDA32 identified as actually being installed. I've seen out-of-date WHQL drivers for my nVidia cards when I've just finished updating to the newest WHQL drivers (granted, it's reasonable for WU to still have the old drivers, but it's not reasonable to complain when it can clearly see your drivers have a higher version number). Come to think of it, I've even seen WU tell me to install a "driver update" the the exact version I was currently using. I'm fairly certain the number of times I've successfully updated drivers from WU is smaller than the number of unsuccessful WU driver updates.

MS is using WU to distribute 3rd party software that's been repackaged by MS into a new installer. Is it really any wonder that there's all kinds of random problems?
 

dclive

Elite Member
Oct 23, 2003
5,626
2
81
Originally posted by: Ryoga
But my point is that they're not reliable. Things stop working when you use them. I've updated NIC and modem drivers... and then had to delete the device and reinstall drivers for the device that AIDA32 identified as actually being installed. I've seen out-of-date WHQL drivers for my nVidia cards when I've just finished updating to the newest WHQL drivers (granted, it's reasonable for WU to still have the old drivers, but it's not reasonable to complain when it can clearly see your drivers have a higher version number). Come to think of it, I've even seen WU tell me to install a "driver update" the the exact version I was currently using. I'm fairly certain the number of times I've successfully updated drivers from WU is smaller than the number of unsuccessful WU driver updates.

MS is using WU to distribute 3rd party software that's been repackaged by MS into a new installer. Is it really any wonder that there's all kinds of random problems?

These drivers are simply updates to what is included in Win2k/XP/2003 already - it's essentially the same stuff. There is no reason to believe one would work and not the other.

I'm very aware of the nVidia/ATI issues. One driver set is signed, the other isn't. The question is which you'd want for a machine that's having issues. I suggest you'd want signed drivers, even if they're older, since we know, among other things, it's been through driver verifier.

In any case my very next comment after the one you cut above is to update to the latest chipset/video card/etc drivers from the vendor. :)
 

Ryoga

Senior member
Jun 6, 2004
449
0
0
Originally posted by: dclive
These drivers are simply updates to what is included in Win2k/XP/2003 already - it's essentially the same stuff. There is no reason to believe one would work and not the other.

That may be the case, but my experiences with WU drivers (and those of a number of friends/co-workers) tell me otherwise. :) "Should not" is inherently trumped by "did".
 

Sianath

Senior member
Sep 1, 2001
437
0
0
Feel free to forward any dumps to me if you want a 2nd set of eyes dclive.

handle @ gmail.com.
 

littleprince

Golden Member
Jan 4, 2001
1,339
1
81
holy smokes, this looks useful.
My gf's machine has been having problems as of late. I'm pretty sure its the hard drive, although I don't hear any weird noises etc.

But I'd love to see if you have any input b4 I go request an RMA.
I'll go through your list tommorow!

Thx
 

dclive

Elite Member
Oct 23, 2003
5,626
2
81
Originally posted by: littleprince
holy smokes, this looks useful.
My gf's machine has been having problems as of late. I'm pretty sure its the hard drive, although I don't hear any weird noises etc.

But I'd love to see if you have any input b4 I go request an RMA.
I'll go through your list tommorow!

Thx

OK - start with this then - what makes you think it's the hard drive? What happens on the machine?
 

magratton

Senior member
Mar 16, 2004
523
0
0
This is great for troubleshooting a real problem with windows, but I have found that recently 99% of the STOP errors I get in windows have been due bad RAM chips (a recent spate of occurances happening due to my 2 y/o daughter hitting the pretty green button on my UPS ;)). Running MemTest86 usually identifies this for me.
 

dclive

Elite Member
Oct 23, 2003
5,626
2
81
Originally posted by: dclive
10. Finally, one handy way to troubleshoot if the issue concerns the registry or your Windows files (excluding hardware) is, via recovery console, to make a backup copy of (sam|software|system|security) files found in c:\windows\system32\config (perhaps making a new directory in there called backup) and then copying those same files from c:\windows\repair to c:\windows\system32\config. This makesyour original registry (or the registry you had from your last NTBACKUP of the system state) the 'active' registry. If this works, you can determine that it's a problem with the registry. If this does not work and still reboots, etc, then you can determine the issue is likely a problem with files on the system....but if it works, you can now edit your previous registry, turn off auto-reboots, and more.

How do you do this, exactly?

1. Boot in recovery console. Boot from the XP CD, hit F10 when it finishes loading (ie let it boot for 5 minutes, then when it finally finishes, hit F10). Select C:\windows. Supply your admin password.
2. You'll be in C:\windows.
Enter these commands:
cd system32\config
makedir backup-reg
copy sam backup-reg
copy system backup-reg
copy security backup-reg
copy software backup-reg <<<So remember, your old/bad registry is now in backup-reg.
cd ..
cd ..
cd repair
copy sam c:\windows\system32\config\
copy software c:\windows\system32\config\
copy system c:\windows\system32\config\
copy security c:\windows\system32\config\
EXIT <<<this will cause a reboot.

(If you get ANY errors in this ENTIRE process, stop and ask questions. Some of this is somewhat risky, so if you aren't comfortable, ASK!)

You're now using your ORIGINAL registry (what you had when you first set up the box) or (w/2003 or XP, if you've run NTBACKUP + System State option) the registry at the time of the last NTBACKUP.

From here you should be able to boot and do other stuff that folks here recommend.
 

Sianath

Senior member
Sep 1, 2001
437
0
0
If you are stuck in a boot loop, the only hive that will cause this is the system hive. To make your life easier, it's best so swap system/software together.

If it's an issue with the graphics/display prior to login (like the ctrl_alt_delete screen is messed up) then it is worth it to swap the default hive as well.

:)
 

LoveDoc

Member
Jul 18, 2001
187
0
0
Originally posted by: dclive
How do you do this, exactly?

1. Boot in recovery console. Boot from the XP CD, hit F10 when it finishes loading (ie let it boot for 5 minutes, then when it finally finishes, hit F10). Select C:\windows. Supply your admin password.

.

I've tried installing XP pro for the first time on a system and get through the formatting and installing but then my system does that loop thing after the first restart. I tried this recovery step but it keeps asking for the admin password. I've never set one but i've tried pretty much everything anyway, even just pressing enter without entering anything but nothing works. Anyone have any ideas?
 

dclive

Elite Member
Oct 23, 2003
5,626
2
81
So on this system, how far do you get into the XP installation? Do you install any third party drivers at all? If not, I'm tempted to say there's a hardware issue there.
 

LoveDoc

Member
Jul 18, 2001
187
0
0
i get past the first stage of installations, the part where it copies the files. Then it says it has to reboot to continue setup. This is usually where the loop starts. The farthest it will get at this point is that first setup screen where it gives you a time estimate of how long the setup will take and give you those little info bits about xp

i've been at this installing and reinstalling for a good 20 hours now and i've still gotten nowhere. I thought maybe it was the ram or the vid card but I doubt that's the case because i'm using those two items in this system i'm using right now.

I've tried all different types of settings in the bios but nothing works. I've also taken out and reseated all the parts of the system including even taking the mobo back out of the case and putting it back in on a couple occasions.
 

dclive

Elite Member
Oct 23, 2003
5,626
2
81
Hardware. :)

Sorry; perhaps someone else can t-shoot at a lower level. I would remove and disable everything but video, HDD, &amp; RAM, and try again, then put different video, HDD, &amp; RAM in there and try again.
 

dclive

Elite Member
Oct 23, 2003
5,626
2
81
Editing done - added steps to upgrade to SP2 if available - this will resolve many problems and update many drivers; it's a good thing.
 

IcedDonkey0

Junior Member
Aug 16, 2004
7
0
0
My error is Driver_IRQL_NOT_LESS_OR_EQUAL what does that mean. I have reinstalled the drivers 3 times and still nothing. Any help would be thankful. I have sent what dclive said to send. He said it looked like my video driver. I have a MX4408x nvidia 64mb ddr video card. Is there a driver out there better than I have? Please help. Thanks.
 

dclive

Elite Member
Oct 23, 2003
5,626
2
81
Originally posted by: IcedDonkey0
My error is Driver_IRQL_NOT_LESS_OR_EQUAL what does that mean. I have reinstalled the drivers 3 times and still nothing. Any help would be thankful. I have sent what dclive said to send. He said it looked like my video driver. I have a MX4408x nvidia 64mb ddr video card. Is there a driver out there better than I have? Please help. Thanks.

Based on the information that the dump you sent me points to, the issue was caused by the nv4_mini.sys driver you have. Yours is old:

Module[110] [C:\WINDOWS\SYSTEM32\DRIVERS\NV4_MINI.SYS]
Company Name: NVIDIA Corporation
File Description: NVIDIA Compatible Windows 2000 Miniport Driver, Version 52.16
Product Version: (6.14:10.5216)
File Version: (6.14:10.5216)
File Size (bytes): 1550043
File Date: Mon Oct 06 14:16:00 2003

The date of this file is from last year; if you've updated the drivers (NOT reinstalled old drivers - you need to install NEW drivers from nVidia's web page) and the problem is still happening, please send me another minidump file after you've updated the drivers to nVidia's latest.
 

dclive

Elite Member
Oct 23, 2003
5,626
2
81
Originally posted by: IcedDonkey0
I'll do that then report back. Thanks

You updated your nVidia drivers to the latest version and the problem was resolved. :)
 

IcedDonkey0

Junior Member
Aug 16, 2004
7
0
0
yes it was great job on finding the problem. I will be sure to look here again if I ever get stuck again. Thanks dclive