The information in this article applies to:
SYMPTOMSWhen you start your computer, Windows may restart continuously CAUSEThis 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:
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. 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 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 Additional query words: loop reboots reboot
Keywords : kbenv win95 win98 |
Last Reviewed: January 28, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |