Windows computer only starts in MS-DOS

Updated: 11/13/2018 by Computer Hope
Windows command line (DOS)

Follow the instructions below to allow the computer to boot into Windows 95 or Windows 98 instead of MS-DOS.

Solution one

Type cd\

Type edit autoexec.bat at the C:\> prompt.

In the autoexec.bat type REM with a space after it, in front of the following lines of autoexec.bat. Not all these lines may be in your autoexec.bat. However, if they are present, remark these lines (comment them out, to disable them without deleting them).

cd c:\windows\command
call c:\windows\command\<name of game or program that may be trying to start>

Once the above lines have been remarked, if applicable, click File, Save, and click Exit. Once back at the prompt, type the following commands.

Type edit config.sys at the prompt.

Type REM in front of the following lines in autoexec.bat:


Save and exit the config.sys file. Once back at the MS-DOS prompt, reboot the computer and you should be able to get back into Windows.

Solution two

From the MS-DOS prompt type in the lines below.

Type cd\
Type attrib msdos.sys -r -a -s -h
Type edit msdos.sys
Locate the line BOOTGUI=0 and change the line to BOOTGUI=1


If this line is already equal to one do not change the line.

Additional information