How to Disable F5 and F8 During Startup in MS-DOS

This article was previously published under Q93602
This article has been archived. It is offered "as is" and will no longer be updated.
MS-DOS 6.0 and later allow you to bypass both AUTOEXEC.BAT and CONFIG.SYSby pressing the F5 key as you are starting your computer. This can disablethe effectiveness of some password-protection schemes. In order to disablethis feature, add the following line to CONFIG.SYS:
SWITCHES=/N
This line disables both the F5 and F8 keys, which allow you to modify yourstartup configuration during the boot process. Note: This line can be putanywhere in CONFIG.SYS.
6.22 6.00 startup start up 6.20
Properties

Article ID: 93602 - Last Review: 10/26/2013 01:59:00 - Revision: 2.0

  • Microsoft MS-DOS 6.0 Standard Edition
  • Microsoft MS-DOS 6.2 Standard Edition
  • Microsoft MS-DOS 6.21 Standard Edition
  • Microsoft MS-DOS 6.22 Standard Edition
  • kbnosurvey kbarchive KB93602
Feedback