It happens that you accidentally uninstalled a program on your Windows 10 computer and then realized you need to retrieve it. Luckily, there are ways to recover uninstalled programs on Windows 10. Whether you want to recover the .exe file or get the program data, you can use EaseUS Data Recovery Wizard or Windows System Restore to achieve it.
- The install works but the uninstall is failing. The program uninstalls via the script without any dialogues suppressed however when I add silent switches the uninstall fails. This is going to be part of a larger script ultimately. Heres where my problem is: C: path file /uninstall - works ok with one dialogue confirming app removal.
- Problems that block you from uninstalling a program through Add or Remove Programs (or Programs and Features) in Control Panel This tutorial show you how to use the Program Install and Uninstall Troubleshooter to fix problems that block programs from being installed or removed in Windows 7, Windows 8, and Windows 10.
What Does Uninstalling a Program Remove
Many computer users uninstall programs in Windows 10 to free up disk space. Users may take this way to solve low disk issues, even though they don't feel like removing those programs they used for a long time. What's more, Windows 10 updates somehow delete users' programs, too. Some updates will automatically uninstall incompatible programs, and people have nowhere to find the programs, which makes them very confused.
When you go to 'Settings' > 'Apps' > 'Apps & features' to uninstall a program on Windows 10, you will remove all the application files on the computer. Besides, the data generated later while using the app will also be deleted from your computer. That means the .exe file and the installation folder of the app will all be removed.
In the search box on the taskbar, type Control Panel and select it from the results. Select Programs Programs and Features. Press and hold (or right-click) on the program you want to remove and select Uninstall or Uninstall / Change. Then follow the directions on the screen.
Generally, if you attempt to reinstall an uninstalled program, you not only want to recover the .exe file but also intend to recover the uninstalled files and the data the program generates. If that's exactly what you want, you can get your needs met by following the guide below.
| Workable Solutions | Step-by-step Troubleshooting |
|---|---|
| Fix 1. Use Data Recovery Software | Launch EaseUS Data Recovery Wizard. Select the drive that you uninstalled programs and click 'Scan'. Find and select the target program setup & installation files and click 'Recover'..Full steps |
| Fix 2. Use System Restore | Select the 'Start' button and click 'Settings (the gear icon)'. Search for 'Recovery' in Windows Settings. Select 'Recovery' > 'Open System Restore' > 'Next'. Choose a restore point..Full steps |
How to Recover Uninstalled Programs on Windows 10
To recover uninstalled programs on Windows 10, you can either use a third-party data recovery tool or Windows System Restore.
Here is a comparison table that can help you to decide which tool suits your needs the most.
| Comparison | EaseUS Data Recovery Wizard | Windows System Restore |
|---|---|---|
| Affect newly installed programs | × | √ (Would remove apps installed after the restore point was made. ) |
| Recover accidentally deleted/formatted files | √ | × |
| Retrieve files from external hard drive | √ | × |
| Preview before recovery | √ | × |
Method 1. Recover Uninstalled Programs with EaseUS Data Recovery Wizard
As using system restore to undo an uninstall in Windows 10 has some deficiencies, we recommend you try EaseUS Data Recovery Wizard as the optimal choice.
EaseUS Data Recovery Wizard - an all-in-one hard drive recovery software, will help you recover uninstalled programs, including the .exe file, installation folder, and the data it generates, with a few simple clicks. The tool will not harm your existing applications and data, so you don't need to worry about losing other data after restoring one application data. Here are the main features of EaseUS Data Recovery Wizard.
- Recover deleted, formatted, and lost files
- Retrieve files from local hard drive, external hard drive, USB flash drive, memory card, and other Windows-compatible storage devices
- Recover all existing file types
- 100% secure, virus-free, and plugin free
Download the software and follow the guide below to see how to reinstall uninstalled programs.
Step 1. Launch EaseUS Data Recovery Wizard. Select the drive that you uninstalled programs and click 'Scan'.
Step 2. Wait patiently for the scan process to finish.
Step 3. Find and select the target program setup & installation files and click 'Recover'. Choose a location (not on the original hard drive) to save the files.
- Important
- The precondition for any successful data recovery is that the deleted files are not overwritten by new content. Thus, avoid using the hard drive that stores the data you want to recover and perform data recovery as soon as possible.
After you retrieve your uninstalled programs on Windows 10, you can now double-click the .exe file to install the application again.
Method 2. Use System Restore to Recover Uninstalled Programs
System Restore is a feature in Microsoft Windows that allows users to revert their computer's state (including system files, installed applications, Windows Registry, and system settings) to a previous point in time. Thus, it can be used to recover from system malfunctions or other problems. Recovering uninstalled programs is no exception.
This option takes your PC back to an earlier point in time, called a system restore point. Restore points are generated when you install a new app, driver, or Windows update. Restoring won't affect your personal files, but it will remove apps, drivers, and updates installed after the restore point was made.
To restore from a Windows system restore point:
Step 1. Select the 'Start' button and click 'Settings (the gear icon)'.

Step 2. Searchfor 'Recovery' in Windows Settings.
Step 3. Select 'Recovery' > 'Open System Restore' > 'Next'.
Step 4. Choose a restore point that is earlier than you uninstall the program and click 'Next'.
If you don't see any restore points, it might be because the system protection isn't turned on (the option is on by default). To check it, go to the Control Panel, search for Recovery, and then select 'Recovery' > 'Configure System Restore' > 'Configure' and make sure 'Turn on system protection' is selected.
Both methods above enable you to retrieve uninstalled programs. Carry out the one best suited to your needs. If the system protection is turned off, using a third-party data recovery tool is the only way to get back your wanted applications.
The Bottom Line
If you uninstall programs on your computer to free up space and speed up Windows 10, try other alternative ways instead. In fact, there are many ways to increase C drive space in Windows 10, either uses the Disk Management tool or a third-party partition manager software. It's not necessary, and most noticeably, uninstalling your installed programs or deleting program files won't help regain the considerable disk space you need.
Windows Installer logging
Windows Installer handles its installations through Msiexec.exe. The logging options offered by this tool allow you to create different types of logs, depending on the information you need about the installation. These options are:

- i - Status messages
- w - Nonfatal warnings
- e - All error messages
- a - Start up of actions
- r - Action-specific records
- u - User requests
- c - Initial UI parameters
- m - Out-of-memory or fatal exit information
- o - Out-of-disk-space messages
- p - Terminal properties
- v - Verbose output
- x - Extra debugging information
- + - Append to existing log file
- ! - Flush each line to the log
- * - Log all information, except for v and x options
The logging command is issued by the /L parameter. The above options can be used only after this parameter (the options cannot be used by themselves).
Create a log
The most used logging command is /L*V. This command will create a verbose log which offers a lot of information about the installation. Here are the steps for creating a log:
- find out the path of the MSI file, for example C:MyPackageExample.msi
- decide the path of the log, for example C:logexample.log
- open cmd.exe (you can use any command shell)
- use the msiexec command line to launch the MSI with logging parameters
Install Log
For creating an installation log, you can use a command line which looks like this:
The /i parameter will launch the MSI package. After the installation is finished, the log is complete.
Install Programs Uninstall Windows 10
The example command line uses the sample paths in this How-To. For your package you must use the path of your MSI file.
Note that any logging command line should have this form:
After you use the logging command, you need to specify the log's complete path. If you want the log to be created next to the MSI, you can specify only the name of the log file:
When the package is included in an EXE bootstrapper, the command line no longer uses 'msiexec'. For example, the command line can look like this:
Uninstall Log
In order to create a log for an uninstall process, you can replace the /i parameter with /x. Therefore, a command line which creates a log for an uninstall can look like this:
The package path can also be replaced by the package Product Code (it can be obtained by using the Project -> Options menu inside the project). The command line would look like this:
When the package is included in an EXE bootstrapper and it's already installed on the machine, you can launch the installer again with the logging command. For example:
This will make the package go into maintenance mode and you can choose to uninstall it. Since the package was launched with logging, an uninstall log will be generated.
Patch Install Log
You can create a log for a patch installation by using the /p parameter instead of /i:
Use the EXE boostrapper
Another approach is to create a log file by using the /L*V parameters in the command line of the Advanced Installer Bootstrapper. Also, these parameters can be always passed to the MSI when the package is launched through the EXE bootstrapper.
If you want your installation package to always create a log, you can follow these steps:
- open your installation package's Advanced Installer project
- go to the Builds page and select the Configuration Settings Tab tab
- check the EXE setup option
- set the MSI Command Line field to: /L*V 'C:package.log'
This way, when the user launches the installation through the bootstrapper, an installation log ('package.log') will be created automatically in the 'C:' drive. Seminar papersshortnotesg.c.e olahraga.
The command line received by the bootstrapper overrides the command line in the 'MSI Command Line' field. Therefore, if you launch an EXE package with logging parameters, these parameters will be used for creating the log.
Automated logging with the Windows Installer Logging Policy
The logging policy is particularly useful for troubleshooting Active Directory/Group Policy deployments, in which case the installation is carried out without a user interface and there is no possibility to specify a command line for the MSI package.
In order to enable this option, you need to import the registry settings below. Please create a new text file with a '.reg' extension and then copy the following lines into it. After this, double click the '.reg' file you just created and answer 'Yes' to the confirmation prompt.
The .LOG file will be created in the currently logged on user's Temp folder and will have a name in the following format: 'MSI*.LOG'.
In case of a Active Directory/GPO deployment, there will be no logged on user at the time the installation occurs. In this case the log file will be created in the 'WindowsTemp' folder.
This option should not be left active since every install/uninstall operation of an MSI package will create a new log file, thus unnecessarily occupying disk space. Therefore, this option should only be used for debugging purposes.
Uninstall Program Without Install Login
In order to disable the debugging policy, you can delete the registry values you have previously added using 'RegEdit.exe' or you can import the following .reg file as you did with the previous one:
How To Manually Uninstall A Program
For information on how to make a custom event appear in the log, please see How to write a specific event in the log
- Write a custom event in the log file
How to log an event using custom actions. - Read a log
How to read an installation log
