Professional Documents
Culture Documents
Memory
Memory
Replace "drive:" with your drive letter and "directory" with the directory name
where your file resides [and don't type the quotes :)].
Note however that Windows ME loads HIMEM.SYS from IO.SYS, therefore before
CONFIG.SYS is processed, and a HIMEM.SYS line in CONFIG.SYS will generate an error
message at bootup, like:
This also prevents most 3rd party memory managers (except UMBPCI.SYS) that rely on
their own memory mapping routines from working properly with WinME. Also, some
newer programs written specifically for WinME will NOT work with EMM386.EXE loaded
from CONFIG.SYS, especially with expanded memory (EMS) enabled by the EMM386.EXE
RAM switch. In such cases try to add the NOEMS parameter to your EMM386.EXE line in
CONFIG.SYS (see example above), and then reboot. If that doesn't work, remove the
EMM386.EXE line completely. :(
The purpose of this article is actually to tell you that you need to DISABLE ALL
your CONFIG.SYS/AUTOEXEC.BAT lines that load/enable such memory managers/emulators
and/or upper memory loaders, in order to install Windows 9x/ME smoothly WITHOUT
lockups, over a previous OS: MS-DOS 6.xx or an earlier version of Windows
3.xx/95/OSR2/98.
And you can always reenable them after Setup has successfully completed if using
Windows 95, OSR2 or 98, but NOT Windows ME, because Microsoft REMOVED COMPLETELY
the access to native/real/true/pure MS-DOS mode from Windows Millennium Edition
(ME), a.k.a MS-DOS 8.00. :(
But you CAN get it back by applying the Unofficial DOS Patch, which modifies
COMMAND.COM + IO.SYS (from C:\Windows\Command\EBD) + REGENV32.EXE (from
C:\Windows\System) to allow Windows ME to boot to native MS-DOS and use DOS mode
startup files (AUTOEXEC.BAT + CONFIG.SYS), Windows 95/98 style, to be able to use
your (old) MS-DOS based apps/games that do NOT work from within a Windows DOS
session/box, and tweak your CUSTOM AUTOEXEC.BAT + CONFIG.SYS files to free MAXimum
conventional DOS memory. :)
To be able to Setup Windows 9x/ME without a "hitch" on your computer you also need
to add a line for HIMEM.SYS (the basic high and extended memory manager included
with all Windows 9x/ME releases and MS-DOS 5.xx/6.xx) at the beginning of your
CONFIG.SYS file (example):
DEVICE=drive:\directory\HIMEM.SYS /TESTMEM:OFF
To install Windows 9x/ME from the plain MS-DOS command prompt you need to:
Enable your CD (Compact Disc): CD-ROM, CD-R, CD-RW, DVD-ROM, DVD-RAM, DVD-R, DVD-RW
etc... drive in native/real/true/pure MS-DOS mode (presuming you have only 1 CD
drive installed):
Add a line into CONFIG.SYS for your CD DOS mode driver if not already present
(examples):
DEVICEHIGH=drive:\directory\UIDE.SYS /D:MYCDROM
DEVICEHIGH=drive:\directory\ASPIDOS.SYS
and/or:
DEVICEHIGH=drive:\directory\ASPIHLP.SYS
and:
DEVICEHIGH=drive:\directory\ASPICD.SYS /D:MYCDROM
Note that all Windows 98/ME releases can create bootable floppy diskettes with CD
support.
Add a line into AUTOEXEC.BAT for MSCDEX (native MS-DOS mode MicroSoft Compact Disc
eXtensions) driver if not already present (example):
LH drive:\directory\MSCDEX /D:MYCDROM
Note that the CD drive name on the CONFIG.SYS driver line (MYCDROM above) MUST
MATCH EXACTLY the CD drive name on the AUTOEXEC.BAT MSCDEX line: maximum 11
characters allowed, case insensitive, special/punctuation symbols or spaces NOT
allowed!
Reboot when done.
Eventually (to decrease considerably installation time) copy all files from
D:\WIN9*\*.* (where D is your CD drive letter; replace if different) to your fixed
hard drive/partition if you have enough unused disk space (~ 200-300 MB) to hold
them: run CHKDSK or DIR from any DOS prompt, and look at the number of
available/free bytes. Then run Windows SETUP from there.
Typical installation files directory names on Setup CDs:
Windows 95/OSR2 ? \WIN95
Windows 98/98 SE ? \WIN98
Windows ME ? \WIN9X
Microsoft has determined that the following 3rd party memory managers are
incompatible and/or cause problems/lockups with Windows 95/98/ME Setup, when a
previous command line based OS (like MS-DOS, DR-DOS, PC-DOS, FreeDOS etc) is
already installed:
[386enh]
EMMExclude=A000-FFFF
DualDisplay=ON
Edit SYSTEM.INI with Notepad or Sysedit, and make your changes ONLY AFTER BACKING
IT UP! Restart Windows so your changes can take effect.
Owners of older versions can upgrade (usually for a fee) to the current release by
contacting McAfee.
More info.
Tweak your startup files manually by "shuffling" devices/drivers/TSRs loading order
until you reach the best memory configuration for your system/needs, and avoid
using the limited QEMM Optimize tool, which may produce errors under certain
circumstances.
You also need to add/modify these SYSTEM.INI (found in your Windows directory)
lines under the [386enh] section to allow Windows to load properly with QEMM:
[386enh]
EMMExclude=A000-FFFF
DualDisplay=ON
Edit SYSTEM.INI with Notepad or Sysedit, and make your changes ONLY AFTER BACKING
IT UP! Restart Windows so your changes can take effect.
Owners of older versions can upgrade (usually for a fee) to the current release by
contacting Symantec.
FYI: Open PROGRAMS.TXT (found in your Win9x/ME folder) with Notepad and read the
"THIRD-PARTY MEMORY MANAGERS" section for more info.
I [and many others :)] have determined that the following 3rd party memory manager
is COMPATIBLE with most Windows 95/98/ME configurations, even during Setup! This is
true if you have another OS already installed, but ONLY IF using MS-DOS 6.xx or
Windows 3.xx/95/OSR1/OSR2/98 as previous OS!
BTW: MS-DOS 6.xx can be kept "alive" after installing Windows 9x/ME for dual
booting purposes. See "DUAL BOOT" in MYTIPS95.TXT (part of W95-11D.EXE), for
details.
Just make sure to BACKUP your startup files BEFORE "unleashing" the Win9x/ME Setup
on your computer, because some lines will be erased/disabled during installation,
or even worse: your AUTOEXEC.BAT + CONFIG.SYS files will be DELETED ENTIRELY when
setting up WinME! :( In this case just apply the Unofficial DOS Patch afterwards,
to regain control of native MS-DOS mode, and be able to use startup files.
Uwe Sieber's UMBPCI.SYS upper memory extender (freeware, the BEST in my opinion),
using Microsoft HIMEM.SYS high/extended memory manager to provide Upper Memory
Blocks (UMBs), enabled by this CONFIG.SYS line:
DOS=UMB
DEVICE=drive:\directory\UMBPCI.SYS
Consider also loading LOWDMA.SYS in conventional RAM (canNOT load in upper memory!)
from CONFIG.SYS:
DEVICE=drive:\directory\LOWDMA.SYS
Moreover, if using Windows 95, OSR1, OSR2 or 98 you can take advantage of HIRAM.EXE
v1.9 (freeware), which allows UMBPCI.SYS to load HIMEM.SYS in upper memory, thus
freeing the last byte of conventional DOS RAM. :)
LIMITATION: HIRAM does NOT work with Windows ME because HIMEM.SYS loads
automatically in conventional memory from IO.SYS at boot time BEFORE CONFIG.SYS is
processed. :(
To successfully load HIMEM.SYS in UMA, you need these CONFIG.SYS lines in this
EXACT order:
DOS=HIGH,UMB
DEVICE=drive:\directory\UMBPCI.SYS
DEVICE=drive:\directory\HIRAM.EXE
DEVICEHIGH=drive:\directory\HIMEM.SYS
The ONLY disadvantage is that UMBPCI.SYS does NOT provide expanded memory (EMS).
But according to Uwe Sieber's guidelines, you can enable EMS in a DOS session/box
under the Windows GUI (IF ANY of your native/real/true/pure MS-DOS mode apps/games
need EMS), by adding/changing this SYSTEM.INI (found in your Windows directory)
line under the [386enh] section (edit SYSTEM.INI with Notepad or Sysedit):
[386enh]
EMMPageFrame=C800
provided the C800-D7FF upper memory area is CONTIGUOUS AND FREE when Windows loads.
Also make sure NO OTHER expanded/extended manager loads from your CONFIG.SYS EXCEPT
HIMEM.SYS, because UMBPCI.SYS is an extension to HIMEM.SYS.
Have fun!