Boot Log XP lets you search for troubleshooting Windows boot-up problems in Windows XP. Windows has the option of creating a boot log, which regards numerous fine points of the startup process. This can be extremely valuable in various kinds of troubleshooting and system analysis.
TO GENERATE A BOOT LOG ON A GIVEN OCCASION, bring up the Boot Menu during startup, select Option 2 (to create a boot log), then let Windows continue its startup. The file BOOTLOG.TXT is created in the root folder of the C: partition. If a boot log already exists, the old one is first backed up to a file named C:\BOOTLOG.PRV (for “previous”).
But is it possible to have a new boot log automatically generated every time you restart Windows? Yes it is — you just need to know the trick. (A tip of the hat to MS-MVP Sky King, who provided a critical clue in initially figuring all this out.)
You have to edit the C:\MSDOS.SYS file on your computer.
MSDOS.SYS is a hidden, read-only, system file, so, before you can edit it, you have to change its attributes to read-write. To do this, right-click on its icon in Explorer, select Properties, and remove the checkmark from in front of “Read-Only.” When you are through with all of your edits and changes in MSDOS.SYS (as described below), reverse the process and make sure that the read-only, hidden, and system boxes are all checked.
Though the changes suggested below are pretty innocent, if you are not familiar with editing MSDOS.SYS you might want to back it up first. Just copy it somewhere else. This saves a lot of headache if things go wrong.
Edit MSDOS.SYS with Notepad, the MS-DOS Edit program, or another editor. (TIP: I have all .SYS files set up to open automatically with Notepad — meaning I can actually just type MSDOS.SYS in a Run box and have it open. This never gets in my way. If you want to do the same thing, just click on the file’s icon, check the box to always open it with the same program, and pick Notepad from the list. Otherwise, if you don’t want to make this permanent association change, just launch the Notepad program and use Open to open MSDOS.SYS.)
Once inside of MSDOS.SYS, there is one very important practical thing to note. You will see rows of X’s. Do not disturb these! They are there for a very important reason. The file must be at least a certain minimum size, or it will not be able to do its job right. You can edit things above and below the X’s, but don’t mess with the X’s themselves.
ADD THE FOUR LINES GIVEN BELOW TO MSDOS.SYS. You can just add them to the bottom if you want; or, if other versions of some of these lines exist earlier, you can edit those, or add these lines next to them, or delete the earlier version and add these at the bottom. I do not think it matters one way or the other for any of them. Here are the lines:
BootMenu=1
BootMenuDefault=2
BootMenuDelay=1
DisableLog=0
Line 1 guarantees that the Boot Menu comes up every time. Line 2 says the Boot Menu should always take option 2, which is to create a boot log. Line 4 may not be needed, but was recommended, and may be needed on some systems according to some people’s reports (or it may just be a precaution in case you had a DisableLog=1 that you missed earlier in the file). It disables the disabling of the boot log.
Line 3 is the key one, and has advantages and disadvantages. I could not get the forced selecting of option 2 to work until I guaranteed that the Boot Menu was “up” for some period of time. BootMenuDelay=1 says that the Boot Menu will appear and wait for 1 second. This is the minimum. I set it at the minimum so it would not slow down my startup. You have to have at least 1 second here. But the disadvantage is that, if you want to manually bring up the Boot Menu for some other reason, you only have 1 second to pick the right number when the menu pops up, and that usually is not enough time. So you might want to set it a little higher, say, at 5 seconds, or whatever you want — just knowing that this adds 5 seconds to your startup time.
All of the above, also, will slightly slow down startup. Again, we are talking only a few seconds. I believe this is only true when a BOOTLOG.TXT or BOOTLOG.PRV already exists, and the slowdown is not in the forming of the boot log, but in the brief processes of deleting the existing .PRV file and backing up the existing BOOTLOG.TXT file before opening the new boot log.
Showing posts with label Fix Windows Boot Problems. Show all posts
Showing posts with label Fix Windows Boot Problems. Show all posts
Change the System/Boot Drive Letter
Important This post, method, or task contains steps that tell you how to modify the registry. However, serious problems might occur if you modify the registry incorrectly. Therefore, make sure that you follow these steps carefully. For added protection, back up the registry before you modify it. Then, you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click the following article number to view the article in the Microsoft Knowledge Base: 322756 How to back up and restore the registry in Windows
1. Make a full system backup of the computer and system state.
2. Log on as an Administrator.
3. Start Regedt32.exe.
4. Go to the following registry key:
HKEY_LOCAL_MACHINE\SYSTEM\MountedDevices
5. Click MountedDevices.
6. On the Security menu, click Permissions.
7. Verify that Administrators have full control. Change this back when you are finished with these steps.
8. Quit Regedt32.exe, and then start Regedit.exe.
9. Locate the following registry key:
HKEY_LOCAL_MACHINE\SYSTEM\MountedDevices
10. Find the drive letter you want to change to (new). Look for "\DosDevices\C:".
11. Right-click \DosDevices\C:, and then click Rename.
Note You must use Regedit instead of Regedt32 to rename this registry key.
12. Rename it to an unused drive letter "\DosDevices\Z:".
This frees up drive letter C.
13. Find the drive letter you want changed. Look for "\DosDevices\D:".
14. Right-click \DosDevices\D:, and then click Rename.
15. Rename it to the appropriate (new) drive letter "\DosDevices\C:".
16. Click the value for \DosDevices\Z:, click Rename, and then name it back to "\DosDevices\D:".
17. Quit Regedit, and then start Regedt32.
18. Change the permissions back to the previous setting for Administrators (this should probably be Read Only).
19. Restart the computer.
Note: If these steps not sufficient for you contact to computer support technician to take technical support.
1. Make a full system backup of the computer and system state.
2. Log on as an Administrator.
3. Start Regedt32.exe.
4. Go to the following registry key:
HKEY_LOCAL_MACHINE\SYSTEM\MountedDevices
5. Click MountedDevices.
6. On the Security menu, click Permissions.
7. Verify that Administrators have full control. Change this back when you are finished with these steps.
8. Quit Regedt32.exe, and then start Regedit.exe.
9. Locate the following registry key:
HKEY_LOCAL_MACHINE\SYSTEM\MountedDevices
10. Find the drive letter you want to change to (new). Look for "\DosDevices\C:".
11. Right-click \DosDevices\C:, and then click Rename.
Note You must use Regedit instead of Regedt32 to rename this registry key.
12. Rename it to an unused drive letter "\DosDevices\Z:".
This frees up drive letter C.
13. Find the drive letter you want changed. Look for "\DosDevices\D:".
14. Right-click \DosDevices\D:, and then click Rename.
15. Rename it to the appropriate (new) drive letter "\DosDevices\C:".
16. Click the value for \DosDevices\Z:, click Rename, and then name it back to "\DosDevices\D:".
17. Quit Regedit, and then start Regedt32.
18. Change the permissions back to the previous setting for Administrators (this should probably be Read Only).
19. Restart the computer.
Note: If these steps not sufficient for you contact to computer support technician to take technical support.
Subscribe to:
Posts (Atom)