DIGIT-ARC read-only archive · snapshot: July 23, 2026

disabling the f8 key for bootup

6 posts · originally from https://geek.digit.in/community/threads/disabling-the-f8-key-for-bootup.14082/

wolvrine
wolvrine Original post #1
Aug 14, 2005 at 6:40 PM
Find the file msdos.sys which can be find at c\msdos.sys. Since this is a hidden system file, you will have to make it writeable by changing it’s attributes by going to the DOS Prompt and typing the following
go to the root directory

C\Windows>cd\

Then make msdos.sys writeable and unhide it by typing

C\>attrib msdos.sys –h –w

3)Open msdos.sys in WordPad

4) You will see something that looks like this

;FORMAT
[Paths]
WinDir=C\WINDOWS
WinBootDir=C\WINDOWS
HostWinBootDrv=C
[Options]
BootMenu=0 (default)
BootMulti=1
BootGUI=1
DoubleBuffer=1
AutoScan=1
WinVer=4.10.1998
;
;The following lines are required for compatibility with other programs.
;Do not remove them (MSDOS.SYS needs to be >1024 bytes).
;xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxa

To disable the function keys during bootup, directly below [Options] you insert the following piece of code

"BootKeys=0."

(Without the quotes of course.)
Now instead of inserting the BootKeys command you can also insert the following command

"BootDelay=0."

Not many people know about the BootDelay=0 command so that along with the BootKeys command does make your machine safer. Then save msdos.sys.

5) Since msdos.sys is an important system file you should change it’s attributes back to read only and hidden by typing

c>attrib msdos.sys +h +r

it is from ankit fadia's book :?
QwertyManiac
Aug 20, 2005 at 5:32 PM
But wats the use of disablin the F8, plz mention that too...
anandk
anandk #3
Aug 22, 2005 at 9:11 PM
F8 is a life-saver, on occassions...
wolvrine
Sep 18, 2005 at 12:03 AM
that is only for knowledge
kin.vachhani
Jul 30, 2006 at 3:22 AM
thx for increasing the knowledge
M
mattoo #6
Sep 27, 2006 at 3:41 PM
its not workin'....... on the command prompt its saying"bad parameters"please suggest a solution to it