Error When Running Setup from MS-DOS SHELL

Last reviewed: November 21, 1994
Article ID: Q83481
The information in this article applies to:
  • Microsoft Windows operating system versions 3.1, 3.11

SUMMARY

When installing the Microsoft Windows operating system version 3.1, the following error message may appear if MS-DOS Shell is resident in memory and the Task Swapper option is enabled:

   You are attempting to run Setup from within Windows.
   You need to quit Windows, and then run Setup from the
   MS-DOS command prompt. Press F3 to quit Setup.

To prevent this error message, close Shell before installing Windows 3.1.

MORE INFORMATION

To correct this problem, use the following steps:

  1. Press F3 to exit Windows Setup.

  2. Type "exit" (without the quotation marks), and press ENTER. (This returns you to Shell.)

  3. Press ALT+F4 to close Shell and exit to the MS-DOS command prompt.

  4. Run Windows Setup.

If you run SETUP.EXE from within Shell with Task Swapper enabled, the aforementioned error message may occur, or your system may hang. Setup may run without error in conjunction with the Shell if Task Swapper is disabled; however, it may cause problems, depending on other MS-DOS Environment Settings.

Microsoft does not recommend running Windows Setup from MS-DOS Shell or any type of menu or shell program.


KBCategory: kbsetup kbtool kberrmsg
KBSubcategory: win31
Additional reference words: 3.10 dosshell


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: November 21, 1994
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.