Windows 95 Restarts Continuously

Last reviewed: January 9, 1997
Article ID: Q148919
The information in this article applies to:
  • Microsoft Windows 95

SYMPTOMS

When you start your computer, Windows 95 may restart continuously after the "Starting Windows 95" message.

CAUSE

This behavior can occur if Win.com is called from the Autoexec.bat file using the /W or /WX switch.

RESOLUTION

To resolve this issue, follow these steps:

  1. Restart your computer. When you see the "Starting Windows 95" message, press the F8 key, and then choose Safe Mode Command Prompt Only from the Startup menu.

  2. Type the following line and then press ENTER:

          edit autoexec.bat
    

  3. Locate the line that reads:

          win.com /W
    

          -or-
    

          win.com /WX
    

  4. Remove the "win.com" line.

  5. Save and then close the Autoexec.bat file.

  6. Restart the computer.

MORE INFORMATION

The /W and /WX switches are typically used to restore the original Config.sys and Autoexec.bat files and restart the computer after you restart your computer in MS-DOS mode. The /W switch on the Win.com line causes Win.com to rename the current Config.sys and Autoexec.bat files to Config.app and Autoexec.app, restore the original Config.sys and Autoexec.bat files from the Config.wos and Autoexec.wos files, delete the Config.wos and Autoexec.wos files, and then display the following message:

   Press any key to continue...

When a key is pressed, the computer is rebooted to Windows 95. If the /WX switch is used instead of the /W switch, Win.com performs the same steps, but does not display the above message.

When the /W or /WX switches are used in the Autoexec.bat file after you restart your computer in MS-DOS mode, the original Config.sys and Autoexec.bat files are successfully restored from the Config.wos and Autoexec.wos files, and Windows starts normally after the computer is rebooted. However, if you use the /W or /WX switch in the Autoexec.bat file at any other time, the Config.wos and Autoexec.wos files do not exist and the current Config.sys and Autoexec.bat files remain in the root folder of the boot drive. Because the /W or /WX switch remains in the Autoexec.bat file, Windows 95 restarts continuously.

For additional information about the process that occurs when you restart your computer in MS-DOS mode, please see the following article in the Microsoft Knowledge Base:

   ARTICLE-ID: Q138996
   TITLE     : Description of Restarting Computer in MS-DOS Mode


KBCategory: kbenv
KBSubcategory: win95
Additional reference words: 95 loop


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: January 9, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.