How can I add a boot option that starts with the alternate shell?
John Savill
July 5, 2001
1 Min Read
A. Under the registry key HKEY_LOCAL_MACHINESYSTEMCurrentControlSetControlSafeBoot is the value AlternateShell, which is set to cmd.exe (the command prompt). When you press F8 during startup and select "Safe Mode with Command Prompt," the system uses this alternate shell. You shouldn't change the AlternateShell value. You can, however, create a boot option so that you don't have to press F8, then select "Safe Mode with Command Prompt."
Edit the boot.ini (c:boot.ini) file attributes to make the file nonread-only, nonsystem, and nonhidden (attrib c:boot.ini -r -s -h).
Open boot.ini.
Add a line similar to the following:
multi(0)disk(0)rdisk(0)partition(1)WINDOWS="Microsoft Windows XPProfessional" /fastdetect /SAFEBOOT:MINIMAL(ALTERNATESHELL)
Save the file.
Reapply the correct permissions (attrib c:boot.ini +r +s +h).
About the Author
Sign up for the ITPro Today newsletter
Stay on top of the IT universe with commentary, news analysis, how-to's, and tips delivered to your inbox daily.
You May Also Like