Technical Anshu
Tutorials Blog
🧹 Remote Uninstall

Uninstall Software Remotely from All PCs the Clean Way

Offices accumulate software the way cupboards accumulate cables. A clean remote uninstall — right command, right targets, data protected — removes the old app from every PC without touching the files your users still need.

✍️ Technical Anshu🪟 Windows endpoints⏱️ 7 minute read
🎥 Watch an uninstall configuration being deployed in the video

Uninstalling looks simpler than installing, and that is the trap. The wrong uninstall can rip out a shared component another app needs, delete a user's data folder along with the program, or fail silently on half the fleet while reporting cheerfully on the console. Endpoint Central uses the same package and configuration machinery for removal — the discipline below is what makes it clean.

console — uninstall configuration summary
OperationUninstall — Adobe Reader old version
Silent commandmsiexec /x {AC76BA86-...} /qn /norestart
Target38 PCs still reporting the old version
Result36 removed · 2 skipped — app in use
Aim uninstalls only at PCs that actually report the software in inventory. Everyone else has nothing to remove.
1

Target Only the PCs That Actually Have It

Start from inventory, not from a guess. Endpoint Central's software inventory tells you exactly which PCs report the application and which version. Build your target group from that list. Deploying an uninstall at machines that never had the app produces pointless failures — including the classic MSI error 1605, which simply means this product is not installed here.

  1. Open the software inventory and filter by the application and version
  2. Create a custom group from the machines that report it
  3. Re-check the group the day you deploy — inventory changes as PCs come and go
2

Use the Vendor's Own Uninstall Command

  1. For MSI software, uninstall with the product code: msiexec /x {PRODUCT-CODE} /qn /norestart — find the code in the registry uninstall key or from the original package
  2. For EXE software, reuse the same package you installed with and set the configuration's operation to Uninstall; Endpoint Central uses the uninstall command recorded for that package
  3. Keep /norestart on the command and let your reboot policy decide when restarts happen — an uninstall that reboots a user mid-presentation teaches the office to fear IT
  4. Test on one PC and confirm the app is gone and its neighbours still work
3

Protect User Data Before You Remove Anything

Programs and data are neighbours, not twins. Before removing an old version ahead of a new one, decide explicitly:

  1. Does the uninstall delete the user's files, profiles or settings? Test it and look
  2. If settings must survive, capture them with a post-uninstall or pre-deployment script, or accept a fresh start and tell users in advance
  3. Licence seats: note how many licences the removal frees, especially for paid software your next install will reuse
4

Handle the Two Classic Failures

App in use: the uninstall cannot remove files a running program holds open. Schedule the removal after hours, or pair it with a user notification asking people to close the app — then retry the skipped machines. Broken old install: a half-corrupted previous version may refuse both repair and removal; on that one PC, use the vendor's cleanup tool or remove it manually over a remote session. Two manual fixes in a fleet of forty is a good ratio, not a defeat.

5

Verify the Removal Like You Mean It

A console that says success is a claim; the inventory is the evidence. After the uninstall configuration completes, re-run the inventory view: the application should be gone from the target group, and the freed licence count should match. Report both numbers. Software removal is also a security task — every forgotten old version you clear is one less unpatched thing on your network, and the inventory proves it stayed cleared.

🧹 Clean means three things: the program is gone, the user's data is untouched, and nothing that depended on the program broke. Check all three on your pilot PC before the uninstall goes anywhere near the whole office.

🎥 Watch the Full Deployment in the Video

See an uninstall configuration and its verification in the full video.

▶️ Watch Full Video
❓ Frequently Asked Questions

Can I uninstall and install the new version in one go?

Yes — that is what pre-deployment activities are for. Many admins add the old version's removal as a pre-step to the new package, or deploy two configurations back to back: uninstall everywhere first, verify, then install. The two-step version is easier to troubleshoot.

The uninstall removed the program but left folders and shortcuts. Is that a failure?

Not always. Leftover empty folders and the odd dead shortcut are cosmetic; most vendors leave some traces by design. If the application no longer appears in inventory and cannot run, the uninstall did its job. Clean the cosmetic leftovers with a small script only if they confuse users.

How do I find the product code for an MSI uninstall?

On a PC that has the software, look under the registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall — each subkey named with braces is a product code, and its DisplayName tells you which app it belongs to. The same code is what msiexec /x expects.

This guide is based on the Technical Anshu video on remote software deployment with ManageEngine Endpoint Central • Stuck on a step? Ask in the video comments and you will get a reply 🙏