When your windows got crash cause of a program you installed you usually reboot your PC to log again in safe mode to uninstall this program.
But what if you wanted to disable safe mode for any kind of reason.
In this tutorial I'll show you how to disable safe mode.
The first and widely known method is to hexedit the hidden NTLDR file in the root of the drive where the operating system is installed. Please take note that this method only works on XP and not Vista since Vista no longer has NTLDR. Just follow the steps below on how to do it.
1. Assuming that you installed Windows in C: drive, type this in run attrib -r -s -h -a c:\ntldr
If you installed Windows in D: drive, then change o d:\ntldr
2. Backup ntldr file in C: drive to another name. You can do that by copying and pasting to the same location to get a new file “Copy of ntldr”
3. Download a free portable hex editor, extract and run Hedit.exe
4. Go to File > Open, select C:\ drive on the right hand side and look for ntldr file on the left box. Select the ntldr file and click OK.
5. Scroll down a little and look for the line 00000770 and change the values 0f 85 09 to 90 90 90.
6. Click File > Save and close Hedit.
7. Type this command in run attrib +r +s +h +a c:\ntldr
You can now restart your computer and both F8 and F5 key no longer works before starting up Windows! This hack totally disable keyboard input so that when you hit F8 or F5 before starting up Windows, there is no effect at all. If you have multiple operating system installed, this method would not be the best choice because you can’t move up or down to select which operating system to boot in to. When you want to boot in to Safe Mode when Windows is unable to start, you can boot up the computer with UBCD, linux live cd or even windows installation disc for recovery console and rename the “Copy of ntldr” file to ntldr. This way you can use the F8 key again.
If you want to disable the F8 key for Vista, I found a shareware called NoSafeMode. It can disable F8, Safe Mode and Advanced Boot Options in Windows 2000, XP, Vista and even the upcoming Windows 7!
NoSafeMode claims to do all that without hack or modification of operating system files and registry. Finally, NoSafeMode even has a password option to allow only authorized users to access ALL boot options by using the lock password (You’ll need to press Ctrl + F8 key to enter the password at when you normally press F8 to access the Advanced Boot Menu).