Saturday, April 12, 2008

How to add "Reboot into safe mode" buttont to your start menu??

First of all we require a free utility known as BootSafe to achieve add "Reboot into Safe Mode" to your start menu. BootSafe can be downloaded from here. Copy this folder on your hard drive. A good place to store this file is \Windows\System32 folder.

Open the registry editor. Navigate to:
HKEY_CLASSES_ROOT\CLSID\{2559a1f6-21d7-11d4-bdaf-00c04f60b9f0}.

Double-click "default" in the right pane and set the value to "Reboot Into Safe Mode". Under this key, create a sub-key called "DefaultIcon" and set its default value to "C:\WINDOWS\system32\safeboot.exe".
Create another sub-key "InProcServer32", change its default value to
"%SystemRoot%\system32\shdocvw.dll", create a String Value "ThreadingModel" and name it "Apartment".

Next create a sub-key "Instance" and create a String named CLSID with the value
"{3f454f0e-42ae-4d7c-8ea3-328250d6e272}".
Under this create another sub-key "InitPropertyBag" and in the right pane, Create strings
CLSID with value {13709620-C279-11CE-A49E-444553540000},
"Command" with value "Reboot Into Safe Mode",
"method" with value "ShellExecute", and
"Param1" with value "C:\WINDOWS\system32\bootsafe.exe".

Restart the computer and you will find there's a new button called "Reboot Into Safe Mode" just above "Log Off" and "Shut Down" in the Start Menu. Click on this button once and select the type of Safe Mode you wish to boot into-Minimal, Networking (typical), or Repair, then click the Reboot button.

Once you have booted into Safe Mode, you can perform any actions needed, such as scanning for viruses, spyware, adware, malware, or repairing a system component.

When you have completed your tasks, Click again on "Reboot Into Safe Mode" on the Start Menu. Select Normal Restart option and click Reboot. XP will reboot in normal mode.

No comments: