You are currently offline, waiting for your internet to reconnect

How to Boot to a Command Prompt by Default

This article was previously published under Q141721
This article describes how to configure Windows to boot to a commandprompt automatically.
To configure Windows to boot to a command prompt automatically, followthese steps:
  1. Restart your computer. For Windows 95, when you see the "Starting Windows 95" message, press the F8 key, and then choose Command Prompt Only from the Startup menu. For Windows 98, press and hold down the CTRL key after your computer completes the Power On Self Test (POST), and then choose Command Prompt Only from the Startup menu.
  2. Type the following lines. Press ENTER after each line:

    attrib -s -h -r msdos.sys
    edit msdos.sys
  3. Change the line that reads


    to read:


  1. Save the Msdos.sys file and then close the editor.
  2. Type the following line, and then press ENTER:

    attrib +s +h +r msdos.sys
  3. Restart your computer.
When the computer restarts, it automatically boots to a command prompt.To load the Windows graphical user interface (GUI), type win at the command prompt.
98 ms dos

Article ID: 141721 - Last Review: 01/19/2007 15:35:05 - Revision: 1.3

  • Microsoft Windows 95
  • Microsoft Windows 98 Standard Edition
  • Microsoft Windows 98 Second Edition
  • kbenv kbfaq kbfaq kbhowto KB141721