Computer Restarts When Exiting MS-DOS Mode

Last reviewed: March 22, 1996
Article ID: Q148795
The information in this article applies to:
  • Microsoft Windows 95

SYMPTOMS

After you restart Windows 95 in MS-DOS mode using the current configuration (which does not require Windows 95 to reboot the computer before starting MS-DOS mode), Windows 95 may reboot the computer when you exit MS-DOS mode.

CAUSE

This behavior can occur if a real-mode device driver for MS-DOS mode is being loaded from the Dosstart.bat file. The computer is restarted to remove the real-mode device driver from memory when you exit MS-DOS mode.

STATUS

This behavior is by design.

MORE INFORMATION

If you want to prevent Windows 95 from rebooting the computer when you exit MS-DOS mode, disable the device driver in the Dosstart.bat file in the Windows folder. To disable a line in the Dosstart.bat file, place the word "rem" (without quotation marks) at the beginning of the line.

WARNING: If you disable a device driver in the Dosstart.bat file, it will not be available in MS-DOS mode. The device for which the device driver is loaded may not work in MS-DOS mode.

You can also load the real-mode driver in the Autoexec.bat file instead of the Dosstart.bat file. However, doing so causes the device driver to be loaded at all times.


KBCategory: kbenv
KBSubcategory: win95
Additional reference words: 95


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: March 22, 1996
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.