Micro Firmware Tech Support

Removing QEMM from AUTOEXEC.BAT and CONFIG.SYS


Filename: REMQEMM.TXT
WWW URL:  http://www.firmware.com/support/bios/remqemm.htm
FTP URL:  ftp://ftp.firmware.com/text/remqemm.txt
Revision: 06/18/96  TLS  Micro Firmware Technical Support
Summary:  Instructions on removing QEMM from AUTOEXEC.BAT and
          CONFIG.SYS, which may be required before reinstalling QEMM
          after a BIOS upgrade.

We often find that it is necessary to reinstall QEMM from scratch after installing the new BIOS. This is due to the fact that the new BIOS is going to use different areas in upper memory and QEMM is not expecting the BIOS to change. It generally is not sufficient just to reoptimize or even to reinstall on top of an existing installation. The preferred and surefire approach is to manually remove all references to QEMM from AUTOEXEC.BAT and CONFIG.SYS and then reinstall from scratch. This document is meant to assist in perfoming this task.

AUTOEXEC.BAT and CONFIG.SYS are text files located in the root directory of drive C:. It is advisable to always have a backup copy of these files. They can be copied to any directory or to a floppy disk or renamed with different extensions. Please make a backup copy before beginning! If you are not able to boot up properly with QEMM installed, boot clean by placing a boot disk in drive A: (with no AUTOEXEC.BAT or CONFIG.SYS) or press the F5 key when the message "Starting MS-DOS" displays on bootup (this only works with DOS 6.x). Since they are plain ASCII text files, AUTOEXEC.BAT and CONFIG.SYS can be edited with any text editor. Starting with version 5, MS-DOS provides a text editor called EDIT. To use the DOS editor, type C:\DOS\EDIT C:\CONFIG.SYS at the C:\> prompt. This should load CONFIG.SYS into the DOS editor.

CONFIG.SYS

There are usually several lines which need to be removed completely from CONFIG.SYS and several other lines which need to have just the first part removed.

These lines should be completely removed:


DEVICE=C:\QEMM\DOSDATA.SYS .......
DEVICE=C:\QEMM\QEMM386.SYS .......
DEVICE=C:\QEMM\DOS-UP.SYS .......
DEVICE=C:\QEMM\QDPMI.SYS .......
The following prefix should be removed from the front of any line that has it:

DEVICE=C:\QEMM\LOADHI.SYS /R:n SIZE=n
Above prefix should be replaced with just DEVICE=

EXAMPLE:


with QEMM:
DEVICE=C:\QEMM\LOADHI.SYS /R:2 /SIZE=4096 C:\DOS\ANSI.SYS


without QEMM:
DEVICE=C:\DOS\ANSI.SYS

It would probably be useful to add the line:

DEVICE=C:\DOS\HIMEM.SYS
to the beginning of CONFIG.SYS. This will replace DOS's extended (XMS) memory manager. HIMEM.SYS is necessary for Windows to run. QEMM will remove the HIMEM.SYS line when it is reinstalled.

AUTOEXEC.BAT

Load into editor by typing C:\DOS\EDIT C:\AUTOEXEC.BAT at the C:> prompt.

This prefix should be removed from the front of any line that has it:


C:\QEMM\LOADHI /R:n SIZE:n
EXAMPLE:

with QEMM: C:\QEMM\LOADHI /R:2 SIZE=4096 C:\DOS\DOSKEY
without QEMM: C:\DOS\DOSKEY
After removing QEMM from AUTOEXEC.BAT and CONFIG.SYS, reboot the system and make sure eveything seems OK, then reinstall QEMM from the original diskette, following instructions provided with the program.

If using STEALTH mode, exclude the top 8K of the BIOS area (X=FE00-FFFF).

If you wish to just stop using QEMM and use the memory managemnt provided with MS-DOS instead - after removing QEMM, add the lines


DEVICE=C:\DOS\HIMEM.SYS
DEVICE=C:\DOS\EMM386.EXE
to the top of CONFIG.SYS, reboot, then run the MemMaker program by typing MEMMAKER at the command prompt. MemMaker will add several other lines to CONFIG.SYS and attempt to load as many programs as possible into upper memory. The system will be rebooted several times during this process. Normally it is OK to use the EXPRESS mode in MemMaker and normally you would answer NO to the question "Do you have any programs that use expanded memory (EMS)?", unless you know that you have programs that need EMS (usually very old programs or certain games).

If your QEMM installation is more complicated than described above (for instance - using DOUBLESPACE and QEMM STEALTH), or if you are using Windows 95, you may need to contact Quarterdeck for assistance in removing/reinstalling QEMM.

Quarterdeck Technical Support: 800-762-6832 or 310-392-9701

Here are some additional notes on removing various versions of QEMM. Although the method described above is the prefrred one, one of the methods described below may be useful.


QEMM 7.0

C:\QEMM\UNOPT.BAT restores AUTOEXEC.BAT and CONFIG.SYS to previous versions (before the last OPTIMIZE). So this will not restore the original AUTOEXEC.BAT and CONFIG.SYS if Optimize has been run more than once. Note that if restoring earlier configuration files, any drivers or TSRs installed since then will not be present.


QEMM 7.5

Also has UNOPT.BAT as described above.

New parameter for Optimize - OPTIMIZE /RESTORE lists last ten AUTOEXEC.BAT and CONFIG.SYS files including original versions (even if more than 10 optimiztions have been done) and allows selected files to be restored. Note that if restoring earlier configuration files, any drivers or TSRs installed since then will not be present.


QEMM 8.0

Also has OPTIMIZE /RESTORE as described above.

New parameter for Optimize - OPTIMIZE /REMOVEALL removes all references to QEMM from AUTOEXEC.BAT and CONFIG.SYS (and any batch files called from AUTOEXEC.BAT) but does not remove QEMM drivers such as QEMM386.SYS, which would need to be removed manually.


SALES - SUPPORT - CONTACT - LINKS - HOME


Micro Firmware, Inc.
330 W. Gray Street
Norman, Oklahoma 73069-7111
Toll-Free Sales (USA/Canada): 1-800-767-5465 or 1-888-4-PC-BIOS
Support & Sales: +1 405-321-8333
Sales Department FAX: +1 405-573-5535
Technical Support FAX: +1 405-321-8342
Email: sales@firmware.com support@firmware.com

© 1998 Micro Firmware, Inc. - All Rights Reserved
While every attempt is made to ensure the accuracy of our support documents, Micro Firmware provides these documents on an AS-IS basis for information purposes only.