home *** CD-ROM | disk | FTP | other *** search
/ Shareware Supreme Volume 6 #1 / swsii.zip / swsii / 198 / DOS6ALL.ZIP / PD0474.TXT < prev    next >
Text File  |  1993-03-29  |  8KB  |  187 lines

  1. ======================================================================
  2.   Microsoft(R) Product Support Services Application Note (Text File)
  3.          PD0474: WINDOWS 3.0 DOESN'T RUN IN 386 ENHANCED MODE
  4. ======================================================================
  5.                                                    Revision Date: 4/93
  6.                                                       No Disk Included
  7.  
  8. The following information applies to Microsoft MS-DOS(R), versions 5.0,
  9. 5.0 upgrade, 6.0, and 6.0 upgrade.
  10.  
  11.  
  12. Introduction
  13. ------------
  14.                                    
  15. This Application Note discusses how to solve the problem of Microsoft
  16. Windows version 3.0 not running in 386 enhanced mode on a system with
  17. Microsoft MS-DOS version 5.0 or 6.0, MS-DOS 5 Upgrade, or MS-DOS 6
  18. Upgrade installed.
  19.  
  20. Solution
  21. --------
  22.  
  23. Make sure that:
  24.  
  25.  - Your system includes at least 1 (megabyte) MB (1,048,576
  26.    bytes) of extended memory. To determine the amount of available
  27.    extended memory, type "mem" (without the quotation marks) at the MS-
  28.    DOS command prompt and press enter.
  29.    
  30.    If you do not have 1 MB of available extended memory, reduce
  31.    extended memory usage by removing the DOS=HIGH command from your
  32.    CONFIG.SYS file. If you are using the version of SMARTDrive that is
  33.    provided with MS-DOS 5.0 or MS-DOS 5 Upgrade (SMARTDRV.SYS), reduce
  34.    the value of the MinCacheSize parameter. If you are using the
  35.    version of SMARTDrive that is provided with MS-DOS version 6.0 or
  36.    MS-DOS 6 Upgrade (SMARTDRV.EXE), reduce the value of the
  37.    WinCacheSize parameter.
  38.  
  39.  - By default, Setup configures MS-DOS to install HIMEM.SYS when
  40.    you start your system. If MS-DOS does not install HIMEM.SYS, make
  41.    sure the command "device=c:\dos\himem.sys" (without the quotation
  42.    marks) appears in your CONFIG.SYS file before any commands that
  43.    start device drivers or programs that use extended memory.
  44.    
  45.  - The FILES command in your CONFIG.SYS file specifies at least
  46.    30 files.
  47.    
  48.  - The BUFFERS command in your CONFIG.SYS file specifies at least
  49.    20 buffers.
  50.    
  51.  - Your AUTOEXEC.BAT file includes a SET command such as the
  52.    following that establishes the location where temporary files are
  53.    stored
  54.  
  55.      set temp=<drive>:\<directory>
  56.  
  57.    where <drive> is your hard disk drive and <directory> is the
  58.    directory where your temporary files are stored. This set command
  59.    creates an environment variable that Windows version 3.0 uses to
  60.    determine where to store its temporary files. For example, the
  61.    following command directs Windows to store its temporary files in a
  62.    directory named TEMP on drive C:
  63.  
  64.      set temp=c:\temp
  65.  
  66.  - Your system includes the WINA20.386 file. The Setup program
  67.    for MS-DOS places this file in the root directory of your startup
  68.    drive (usually drive C). If you have moved the WINA20.386 file to
  69.    another directory, you need to edit your CONFIG.SYS and SYSTEM.INI
  70.    files to reflect the accurate location of this file. Use the
  71.    procedures outlined below.
  72.  
  73.    If you can't find the WINA20.386 file in any directory on your hard
  74.    disk drive, expand and copy the file from your MS-DOS installation
  75.    disks to the root directory of your startup drive by typing the
  76.    following at the MS-DOS command prompt and pressing ENTER
  77.  
  78.      expand <floppy>:\wina20.38_ <startupdrive>:\wina20.386
  79.    
  80.    where <floppy> is the floppy disk drive that contains the
  81.    installation disk with the compressed file you want to expand, and
  82.    <startupdrive> is your startup drive. For example, if your
  83.    installation disk is in floppy disk drive A and your startup drive
  84.    is drive C, type the following command:
  85.       
  86.      expand a:\wina20.38_ c:\wina20.386
  87.    
  88.    The WINA20.386 file is located on the following installation disks:
  89.  
  90.     MS-DOS       3.5-Inch Disk  5.25-Inch    3.5-Inch   5.25-Inch
  91.     Version      Number (1.44   Disk Number  Disk       Disk
  92.                  MB)            (1.2 MB)     Number     Number
  93.                                           (720K)     (360K)
  94.     -------------------------------------------------------------
  95.     MS-DOS 5     N/A            N/A          Disk 3     Disk 5
  96.     Upgrade
  97.     MS-DOS 5.0a  N/A            Disk 2       Disk 3     Disk 5
  98.     Upgrade
  99.     MS-DOS 6     Disk 1         Disk 2       Disk 3     Disk 5
  100.     Upgrade
  101.  
  102.    If you have moved your WINA20.386 file to a directory other than
  103.    the root directory of your startup drive, use the following
  104.    procedure to allow Windows 3.0 to find it:
  105.       
  106.    1. Edit your CONFIG.SYS file. To edit the file using MS-DOS Editor,
  107.       type the following at the MS-DOS command prompt and press ENTER:
  108.       
  109.         edit <startupdrive>:\config.sys
  110.       
  111.    2. Add the following line at the end of your CONFIG.SYS file:
  112.       
  113.         switches=/w
  114.       
  115.    3. Save your CONFIG.SYS file. If you're using MS-DOS Editor, choose
  116.       Exit from the File menu. When MS-DOS Editor displays a dialog
  117.       box prompting you to save your file, choose the Yes button or
  118.       press ENTER.
  119.       
  120.    4. Next, use MS-DOS Editor to open your Windows SYSTEM.INI file.
  121.       Your SYSTEM.INI file is in the directory where your Windows
  122.       files reside. For example, type the following at the MS-DOS
  123.       command prompt and press enter
  124.       
  125.         edit <drive>:\<directory>\system.ini
  126.    
  127.       where <drive> is your hard disk drive and <directory> is the
  128.       directory where your Windows files reside.
  129.       For example, if your hard disk drive is drive C and your Windows
  130.       files are located in the WINDOWS directory, type the following
  131.       command:
  132.       
  133.         edit c:\windows\system.ini
  134.    
  135.    5. Find the section that begins with the header [386Enh] and add
  136.       the following command
  137.  
  138.         device=<drive>:\<directory>\wina20.386
  139.  
  140.       where <drive> is your hard disk drive and <directory> is the
  141.       directory where the WINA20.386 file is now located. For example,
  142.       if you moved the file to your WINDOWS directory, you would add
  143.       the following command to your Windows SYSTEM.INI file:
  144.       
  145.         device=c:\windows\wina20.386
  146.       
  147.    6. Save your SYSTEM.INI file. If you're using MS-DOS Editor, choose
  148.       Exit from the File menu. When MS-DOS Editor displays a dialog
  149.       box prompting you to save your file, choose the Yes button or
  150.       press ENTER.
  151.       
  152.    7. Restart your computer by pressing CTRL+ALT+DEL.
  153.    
  154. If Windows version 3.0 doesn't run in 386 enhanced mode after you have
  155. checked the items listed above, and you are using EMM386.EXE, do the
  156. following:
  157.  
  158. 1. Use a text editor, such as MS-DOS Editor, to open the SYSTEM.INI
  159.    file that is located in the directory where your Windows files
  160.    reside. If you want to use MS-DOS Editor, type the following at the
  161.    MS-DOS command prompt and press ENTER
  162.    
  163.      edit <drive>:\<directory>\system.ini
  164.       
  165.    where <drive> is your hard disk drive and <directory> is the
  166.    directory where your Windows files reside. For example, if your
  167.    hard disk drive is drive C and your Windows files are located in
  168.    the WINDOWS directory, type the following command:
  169.  
  170.      edit c:\windows\system.ini
  171.  
  172. 2. Insert the following command in the [386Enh] section of the
  173.    SYSTEM.INI file:
  174.    
  175.      EMMEXCLUDE=A000-EFFF
  176.       
  177. 3. Save your SYSTEM.INI file. If you're using MS-DOS Editor, choose
  178.    Exit from the File menu. When MS-DOS Editor displays a dialog box
  179.    prompting you to save your file, choose the Yes button or press
  180.    ENTER.
  181.  
  182. 4. Start Windows version 3.0. If Windows version 3.0 does not run in
  183.    386 enhanced mode, a device conflict is preventing Windows from
  184.    running in 386 enhanced mode. Call Microsoft Product Support
  185.    Services for help.
  186.  
  187.