You can uninstall Windows 98 as long as your current configuration satisfies the following conditions:
Note
The retail and OSR1 versions of Windows 95 cannot read FAT32 drives.
Windows 98 can be removed from a computer by using the procedures described below. If the computer is configured for dual booting, you will be left with the previous versions of MS-DOS and Windows 3.1x intact. The recommended method for removing Windows 98 is to start the computer and use the F8 key to go to a command line, as described in the following procedure. When you do this, real-mode Windows 98 operating system files start the computer. If you encounter problems starting Windows 98 in this way, start your computer from the previous operating system (which might require using a floppy disk).
During the installation of Windows 98, you have the option of saving your Windows 95 system files. If you save your system files, you can uninstall Windows 98 and restore your Windows 95 environment. If you created shortcuts after you saved your system files, you have to delete them manually, because information about these shortcuts does not exist in the system files you saved.
Important
This recovery capability is available only if you do not compress your primary partition after you upgrade to Windows 98.
To uninstall Windows 98
The Windows 98 Uninstall dialog box appears explaining that you are about to remove Windows 98 from your computer and restore Windows 95.
A dialog box appears informing you that your disk(s) will be checked for errors.
The ScanDisk program scans all non-removable hard disks, and another dialog box appears asking if you want to continue.
The computer restarts in MS-DOS mode, and the program Uninstal.exe runs automatically. This program is located in the \Windows\Command directory. The MS-DOS program restores the Windows 95 files and the settings contained in Winundo.dat; it then prompts you to restart the computer. Once the computer restarts, Windows 95 is restored.
Important
Any programs that you have installed after installing Windows 98 must be reinstalled in the restored Windows 95 configuration.
To remove the Windows 95 system files, you can delete the Winundo.dat and Winundo.ini files manually. However, after doing this, the Uninstall Windows 98 and Delete Windows 98 uninstall information items (Windows 98 uninstall information) will still be displayed in the Install/Uninstall tab on the Add/Remove Programs Properties dialog box. If you want to remove the Windows 95 system files and remove the Windows 98 uninstall information, use the following procedure.
To remove the Windows 95 system files and the Windows 98 uninstall information
The Windows 98 Uninstall dialog box appears explaining that if you remove these files, you can no longer uninstall Windows 98.
A dialog box appears informing you that the files have been successfully deleted.
The Delete Windows 98 uninstall information and Uninstall Windows 98 items no longer appear on the Install/Uninstall tab.
Before you begin this process, make sure you have a system startup disk that contains an earlier version of MS-DOS and the Sys.com file. You need this startup disk because the Windows 98 startup files (real-mode operating system files) must be deleted, so the process for removing Windows 98 makes your hard disk temporarily unbootable.
Note
The MS-DOS 6.x disk #1 is bootable, but the retail MS-DOS 5.0 disk #1 is not, and OEM versions may vary. To make a startup disk with MS-DOS 6.x, run setup /f from disk #1.
To remove Windows 98 when the computer is started to the command line
If you have problems starting the computer in this way, you can use the "Removing Windows 98 with Your Previous Operating System" procedure later in this chapter.
copy \windows\command\deltree.exe c:\
copy \windows\command\scandisk.* c:\
For information about the entries in Scandisk.ini, see that file in the Windows directory.
scandisk c:
If you receive error messages during the ScanDisk process, refer to Help for information to help you resolve the error.
deltree windows
In this command, windows is the name of the directory containing the Windows 98 files.
Caution
This command deletes all subdirectories of the Windows 98 directory. Before performing this step, make sure that the Windows 98 directory tree does not contain any critical data that has not been backed up.
This step also requires that you reinstall all Windows-based programs at the end of this procedure, so the correct drivers and settings are available in the restored Windows directory.
deltree Config.sysdeltree Autoexec.bat
deltree winboot.*
deltree setuplog.*deltree bootlog.*deltree detlog.*
deltree Io.sysdeltree Msdos.sys
deltree d??space.bin
deltree Command.com
sys c:
To start the system with previous configuration files, copy Config.dos to Config.sys and Autoexec.dos to Autoexec.bat.
If you remove Windows 98 from a dual-boot installation, Windows 98 will be removed completely, and the computer will start the same way it did before installing Windows 98.
If you removed Windows 98 from an upgraded Windows 3.1x installation, drivers that were located in the Windows directory (such as Himem.sys, Ifslhlp.sys, and Emm386.exe) will be missing until you reinstall Windows 3.1x. After this, the computer will start the same way it did before Windows 98 was installed.
You might need to reinstall the previous version of MS-DOS, if needed files were removed by Windows 98 Setup.
Use this procedure if you cannot start a computer in Windows 98 real mode as described in the preceding section.
Before you begin this process, make sure you have a bootable floppy disk that contains an earlier version of MS-DOS and the Sys.com file. The process for removing Windows 98 makes your hard disk temporarily unbootable, and the Windows 98 startup files (real-mode operating system files) must also be deleted.
Note
The MS-DOS 6.x disk #1 is bootable, but the retail MS-DOS 5.0 disk #1 is not, and OEM versions may vary. To make a startup disk with MS-DOS 6.x, run setup /f from disk #1.
To remove Windows 98 when the computer is started with the previous operating system
copy \windows\command\deltree.exe c:\
copy \windows\command\scandisk.* c:\
scandisk c:
If you receive error messages during the ScanDisk process, refer to online Help for information to help you resolve the error.
deltree windows
In this command, windows is the name of the directory containing the Windows 98 files.
Caution
This command deletes all subdirectories of the Windows 98 directory. Before performing this step, make sure that the Windows 98 directory tree does not contain any critical data that has not been backed up.
deltree winboot.*
deltree *.w40
If the boot drive is compressed, you must delete Msdos.w40 from the root directory of the host drive and Command.w40 from the root directories of both the host drive and the boot drive.
deltree setuplog.*deltree bootlog.*deltree detlog.*
deltree d??space.bin
sys c:
If you remove Windows 98 from a dual-boot installation, Windows 98 will be removed completely, and the computer will start the same way it did before installing Windows 98.
If you removed Windows 98 from an upgraded Windows 3.1x installation, you might need to reinstall your previous version of MS-DOS if some of the necessary files were removed by Windows 98 Setup. Drivers that were located in the Windows directory (such as Himem.sys, Ifslhlp.sys, and Emm386.exe) will be missing until you reinstall Windows 3.1x into the Windows directory. After you reinstall Windows 3.1x, the computer will start the same way it did before Windows 98 was installed.
To remove Windows 98 from a computer with Windows NT installed
The next section provides information about solving problems that might occur during Setup or system startup. For specific information about troubleshooting procedures and the tools provided with Windows 98 (including details about using the Startup menu and Safe Mode for troubleshooting), see Chapter 27, "General Troubleshooting."
Note
If you have MS-DOS-based applications that require complete access to system resources, see the information about using MS-DOS Mode in Chapter 25, "Application Support."