MS-DOS 6.22 Emergency Uninstall Disk Guide

During the installation or upgrade of MS-DOS 6.22, the operating system provides a built-in safety mechanism to restore the computer to its previous operating environment if something goes wrong. This article explains which utility creates the emergency uninstall disk during setup, how the creation process works, what data is preserved, and how the disk is used to perform a rollback.

The Utility: MS-DOS SETUP.EXE

The primary utility responsible for creating the emergency uninstall disk during OS installation is the MS-DOS setup utility itself, executed via SETUP.EXE.

When booting from Disk 1 of the MS-DOS 6.22 installation media, SETUP.EXE runs automatically. Before overwriting existing system files or modifying system configuration files, the installer prompts the user to supply one or two formatted or unformatted floppy disks to designate as "Uninstall Disk 1" (and "Uninstall Disk 2," depending on the disk size and previous setup configuration).

Data Backed Up by SETUP.EXE

To ensure that the previous configuration can be restored identically, SETUP.EXE copies vital system structures and files to the floppy disk, including:

  • Original System Files: Older versions of IO.SYS, MSDOS.SYS, and COMMAND.COM.
  • Configuration Files: The existing CONFIG.SYS and AUTOEXEC.BAT files.
  • Disk Geometry and Master Boot Record (MBR): The partition table, boot sector, and critical sectors of the File Allocation Table (FAT) and root directory.
  • The Recovery Program: The UNINSTAL.EXE recovery utility, which is written directly onto the uninstall disk along with the backup image files.

How to Use the Emergency Uninstall Disk

If MS-DOS 6.22 fails to install properly, freezes, or creates software incompatibilities after setup finishes, the system can be rolled back using the following procedure:

  1. Insert the "Uninstall Disk 1" into floppy drive A:.
  2. Reboot or power-cycle the computer.
  3. The disk boots directly into UNINSTAL.EXE.
  4. The on-screen wizard prompts the user to confirm the uninstallation.
  5. UNINSTAL.EXE restores the previous boot sector, partition structures, and system files from the backup image.
  6. Once the operation completes, remove the floppy disk and restart the PC to boot back into the previous DOS version.

Bypassing Disk Creation

In automated, specialized, or ROM-based installations where creating an uninstall disk was unnecessary or impossible due to missing floppy drives, users could bypass this process by running SETUP.EXE with the /G switch (SETUP /G). However, standard installation guidelines strongly required creating the emergency disk via SETUP.EXE to avoid unrecoverable partition and file corruption during failed installations.