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, andCOMMAND.COM. - Configuration Files: The existing
CONFIG.SYSandAUTOEXEC.BATfiles. - 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.EXErecovery 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:
- Insert the "Uninstall Disk 1" into floppy drive A:.
- Reboot or power-cycle the computer.
- The disk boots directly into
UNINSTAL.EXE. - The on-screen wizard prompts the user to confirm the uninstallation.
UNINSTAL.EXErestores the previous boot sector, partition structures, and system files from the backup image.- 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.