Sub topic 13
Compatibility Mode, Repairs and Installation Failures
This chapter assumes you can navigate Windows, open an elevated Command Prompt, and read Event Viewer entries (covered in earlier chapters). It covers what to do when an application will not install, will not start after install, or runs badly because it was written for another version of Windows.
Why applications fail to install or run
Most failures come from a small set of causes. Match the symptom to the cause before you change anything.
| Symptom | Likely cause | First action |
|---|---|---|
| Old program crashes or shows a version error on launch | Written for an older Windows version | Run in compatibility mode |
| Installer says "This app can't run on your PC" | Wrong architecture (32-bit vs 64-bit, or ARM) | Download the correct build |
| Installer fails with an access or permission message | Not elevated, or blocked by policy | Run as administrator |
| Installer stops with "another installation is in progress" | Windows Installer busy or a stuck process | Wait, end the stuck `msiexec.exe`, retry |
| Installed program misbehaves or is missing files | Damaged installation | Use Repair from Apps |
| Installer reports low disk space or a write error | Full or failing drive | Free space, run `chkdsk` |
| Program needs a runtime, such as .NET or Visual C++ | Missing dependency | Install the required redistributable |
Check the basics first
Before touching compatibility settings, confirm the requirements. This follows the CompTIA methodology: identify the problem, then gather information before you act.
- Check the minimum specifications for OS version, RAM, free disk space, and CPU.
- Check the architecture. A 64-bit OS runs 32-bit programs, but a 32-bit OS cannot run 64-bit programs.
- Check that the installer came from a trusted source and is not corrupt. Re-download it if the file size looks wrong.
- Check that you are signed in with an account that may install software. A standard user usually cannot install system-wide software without administrator credentials.
- Check free space on the system drive. Installers often unpack to a temporary folder first.
Compatibility mode
Compatibility mode makes Windows present an older environment to one program. It can emulate an earlier Windows version and apply a few display settings. It does not change the rest of the system.
To set it:
- Right-click the program's executable or shortcut and choose Properties.
- Open the Compatibility tab.
- Select Run this program in compatibility mode for and choose an earlier version.
- Optionally apply settings such as reduced color mode, 640 x 480 resolution, disabling fullscreen optimizations, or Run this program as an administrator.
- Click Apply, then test.
Windows also offers the Program Compatibility Troubleshooter. It tests the program with recommended settings and lets you try different ones. Use it when you do not know which version the program expects.
Settings can apply to the current user only, or to all users through Change settings for all users. Choose the narrower scope unless several accounts need the fix.
When compatibility mode fails, other options exist. Run the program in a virtual machine with the older OS, check whether the vendor has an updated release, or use the Windows feature for 32-bit components if the program needs them.
Running as administrator and permissions
Many installers write to protected locations such as Program Files and the HKEY_LOCAL_MACHINE registry hive. Without elevation, User Account Control (UAC) blocks the write. The typical sign is a message about access being denied, or an installer that completes and then the program fails to save settings.
Right-click the installer and choose Run as administrator. On a standard account, Windows asks for administrator credentials. If a program only fails when saving data, the cause may be file permissions on its folder rather than the install itself. Check the Security tab on the folder.
Repairing an installed application
If a program worked before and now crashes, shows missing file errors, or will not open, repair it before you remove it. Repair keeps your settings and data in most cases, so it is less destructive than uninstalling.
- Open Settings > Apps > Installed apps.
- Select the program, then Advanced options (for Store apps) or Modify (for classic programs).
- Choose Repair first. Choose Reset only if repair fails, because Reset clears the app's data for Store apps.
- If neither works, Uninstall, restart, and install a fresh copy.
For classic programs in Control Panel, use Programs and Features, select the program, and choose Change or Repair if the vendor provides it.
The order matters on the exam. The least destructive fix comes first: repair, then reset, then reinstall.
Installation failures in detail
Windows Installer problems
Many installers use the Windows Installer service (msiexec.exe) and .msi packages. Only one installation can run at a time. If a previous install hung, the next one reports that another installation is in progress.
Check Task Manager for stuck msiexec.exe or installer processes. Ending a stuck process, or restarting the machine, normally clears the lock. Confirm that the Windows Installer service is available in services.msc. It starts on demand, so a stopped state is normal.
You can also generate a verbose log when you need evidence:
msiexec /i "C:\Installers\app.msi" /L*v "C:\Temp\install.log"Open the log and search for Return value 3. The lines just above it usually name the failing action.
Leftovers from a previous version
A failed or partial uninstall can leave registry entries and files that block a new install. Symptoms include "already installed" messages for a program that is not listed in Apps. Use the vendor's cleanup tool if one exists. Avoid manual registry edits unless you have a backup and a known-good procedure.
Disk, permission and corruption causes
If installs fail across several programs, suspect the platform rather than the application. Run sfc /scannow and chkdsk as described in the earlier repair chapter, and check free space. A failing drive can produce random write errors during unpacking.
Dependencies
Some programs need the .NET Framework, Visual C++ Redistributable, DirectX, or a specific runtime. The error usually names the missing component or reports a missing .dll. Install the named component from the official source. Do not download a single .dll from a random site, since that is a common malware route.
Blocked or untrusted installers
Windows can block files that came from the internet. SmartScreen warns about unrecognized publishers, and policy may restrict who installs software. If a file shows a Unblock checkbox under Properties > General, that is the Mark of the Web flag. Only unblock files you trust. In a managed environment, a blocked installation may be intended, so check policy and ask before bypassing it.
Verifying and documenting
After a fix, confirm the result. Launch the program, perform a normal task, and check Event Viewer for new Application errors. Then document what you changed. This completes the methodology: implement the solution, verify full system functionality, and document findings.
Exam hints
- A legacy program fails on a current Windows version: choose compatibility mode.
- An installer is denied access: choose Run as administrator.
- A working program has become unstable: choose Repair before Reset or Uninstall.
- A 64-bit program will not run on a 32-bit OS: the OS is the problem, so use a 64-bit OS or a 32-bit build.
- Several unrelated installs fail: investigate disk space and system file health.
Exercise
A user installed a 2008-era accounting program on Windows 11. It opens, then closes with a version error. The installer ran without problems. Which setting should you try first, and what should you do if it does not help?
Show answer
Open the program's Properties, go to the Compatibility tab, and run it in compatibility mode for an older Windows version (or run the Program Compatibility Troubleshooter). Add Run as administrator if the program needs it. If this does not help, check for an updated version from the vendor, then consider a virtual machine running the older OS.
Exercise
A previously working photo editor now crashes at startup. The user has custom presets and wants to keep them. List the fixes in the order you would try them.
Show answer
First try Repair in Settings > Apps > Installed apps > Advanced options (or Programs and Features). Then, only if Repair fails, try Reset, accepting that app data may be cleared (back up the presets first if possible). Last, uninstall, restart, and reinstall a fresh copy. This order moves from the least to the most destructive.
Exercise
An installer reports that another installation is in progress, but nothing is visibly installing. What do you check?
Show answer
Check Task Manager for a stuck msiexec.exe or installer process and end it, or restart the computer. Then confirm the Windows Installer service is present in services.msc and retry the installation.