Registry Home > Tips and Tricks > Configuration Files > MSDOS.SYS

Disable Function Keys During the Boot Sequence (Windows 95/98/Me)

By default Windows 9x enables the function keys on boot, these allow you to control the boot process. For example pressing F5 while the "Starting Windows 95..." message is displayed will boot Windows in Safe Mode.

This tweak can be easily applied using WinGuides Tweak Manager.
Download a free trial now!

Change the attributes for MSDOS.SYS so it is not 'Read Only', MSDOS.SYS is found in the root directory of your C:\ drive. Open the file using Notepad or another text editor (not Microsoft Word or any word processor).

Change the value of 'BootKeys=' to 'BootKeys=1' for enabled or 'BootKeys=0' for disabled.

Changes will take place on the next reboot.

Registry Settings
Value Data: BootKeys=1 (default) or BootKeys=0 (disabled)

Related Tweaks

>> Recommended Download - check, repair and optimize your registry now with Registry Mechanic <<

Disclaimer: Modifying the registry can cause serious problems that may require you to reinstall your operating system. We cannot guarantee that problems resulting from modifications to the registry can be solved. Use the information provided at your own risk.

Last modified: May 12, 2002