Skip to content

How to silently uninstall just about anything

Brock Bingham candid headshot
Brock Bingham|Updated June 25, 2024
Illustration of computer desk and monitor with PDQ logo
Illustration of computer desk and monitor with PDQ logo

If you’re wondering how to silently uninstall, well, just about anything, you’re in the right place. Silent uninstalls are any sysadmin’s best friend because they enable you to uninstall programs from your managed devices without your end users ever knowing. And the less your end users see, the more your help desk team will love you. (That includes you loving yourself if you are the help desk team.)

Let’s dive right into how to uninstall just about anything in a few different ways.

Are uninstalls as important as installs?

Sometimes I feel like uninstalls don't get the respect they deserve, and that's partially my fault. I spend much more time teaching users how to install software and push out updates and not enough time demonstrating uninstalls. But today, I atone for my lack of uninstall content by dedicating an entire article to silent uninstalls!

Of course, installs happen way more frequently than uninstalls. Think about it: You install applications on your computer, and whether you use them or not, they tend to stay there. And don't even get me started on the constant barrage of updates we install. In most cases, applications and updates stay installed until our computers either get reimaged or the hard drive dies and goes to that big hard drive farm in the sky.

But uninstalls are just as important as installs, just like the brake pedal is as invaluable as the gas pedal in your car. In fact, I'd argue the brake pedal is more important, even though you use it less. When a deer decides to step onto the road while you're cruising in your Toyota Celica at 50 mph, you're suddenly extremely grateful for that brake pedal.

The same can be said for uninstalls. Sure, an uninstall won't save your life. But if you need to remove an application with a vulnerability, that silent uninstallation is suddenly very important.

How to find silent uninstall parameters

Before making an uninstall package, we first need to find the silent parameters for the application we're uninstalling. If you're dealing with a .MSI file, you can skip this step. Since .MSI files are standardized, PDQ Deploy automatically fills in your silent parameters.

If you're dealing with some other file type, like a .EXE file, then you might have some detective work to do. Let's look at a few ways to find silent parameters.

Find silent parameters with PDQ Inventory

PDQ Inventory is a great place to start when looking for silent uninstall parameters. As shown in the example above, Inventory documents the uninstall strings for installed applications. You can copy the uninstall command, including the silent parameter, and put it into a custom deployment package.

Find silent parameters with usage statements

A usage statement provides instructions on invoking a program from a command-line interface (CLI). Usage statements include arguments that can be passed to the program, including silent parameters. Usage statements may also include detailed descriptions and examples. Many, but not all, applications provide usage statements.

Most usage statements can be displayed by appending "/?" to the end of the command invoking an application.

Find silent parameters on the internet

Though I probably don't need to mention this option, I will anyway. The internet is a great way to find silent parameters. I know — it's shocking that the internet continues to be a great resource for information. Who knew?

Sarcasm aside, most developers understand the importance of silently installing and uninstalling applications and generally provide detailed usage information on their websites. And even if the developer doesn't provide the information, you'll often find other users who have already documented the silent uninstall process for a given application.

Find silent parameters using Universal Silent Switch Finder (USSF)

If you've used PDQ Inventory, the usage statement, and Google and still haven't found what you're looking for, give USSF a try. USSF is a dedicated application for finding silent parameters. While I've had mixed results using USSF, it's definitely worth a try if you're desperate to find a silent switch.

How to silently uninstall applications with PDQ Inventory

PDQ Inventory automatically records the uninstall strings for applications on managed devices. But did you know that Inventory can also silently uninstall applications? It's one of Inventory's lesser-known features — and one of its most useful. Here's how it works.

PDQ Inventory retrieves uninstall strings from the registry. Depending on the application, this information may not always be accurate. Scan and verify the application has been removed after using this method.

  1. In PDQ Inventory, double-click on a computer to open its details window.

  2. Click on the Applications menu option. Here you'll find a list of installed applications and their uninstall strings.

    Screenshot of how to open the Applications menu in PDQ Inventory, as explained on this page.

  3. Right-click on an application, then click Uninstall.

    Screenshot of how to uninstall directly from applications menu, as explained on this page.

  4. Review the settings on the remote run command window, then click Execute when ready. Note that the computer you are running the command against is shown in the bottom left corner of the remote command window.

    Screenshot of how to execute the uninstall string, as explained on this page.

Once the command finishes and the device is scanned, the application disappears from the applications list. With just a few clicks, we silently uninstalled an application from a managed device. However, while uninstalling applications with Inventory is quick and easy, it's not the most efficient option if you need to remove an application from many devices. For that, we'll want to look at a tool better suited for the job, like PDQ Deploy. Or, if you're managing remote devices, PDQ Connect.

Install (and uninstall) silently

See how easy device management can be — whether you're remote or on-prem.

How to create an uninstall package with PDQ Deploy & Inventory

Creating a silent uninstall package with PDQ Deploy & Inventory is so easy it almost feels like cheating. Not only does Inventory provide us with the silent uninstall string, but it also gives us the option to create an uninstall package in Deploy automatically. Here's how.

  1. In PDQ Inventory, double-click on a computer to open the computer details window.

    Screenshot of how to open the computer details window in PDQ Inventory, as explained on this page.

  2. Click on the Applications menu option.

    Screenshot of how to open the devices applications page, as explained on this page.

  3. Right-click on an application row you want to uninstall, then click Create Uninstall Package in PDQ Deploy.

    Screenshot of how to create a PDQ Deploy uninstall package directly from Inventory, as explained on this page.

  4. PDQ Deploy automatically opens a custom package window containing the uninstall command. Review the package settings, then click Save.

    Screenshot of how to click Save to save the uninstall package.

  5. Close the package window.

To deploy the newly created uninstall package:

  1. Locate and right-click the newly created package in PDQ Deploy, then click Deploy Once.

    Screenshot of deploying an uninstall package in PDQ Deploy.

  2. Add targets to the deployment, then click Deploy Now.

    Screenshot of how to add targets to the deployment, then click Deploy Now.

At this point, you can grab some coffee and let PDQ Deploy do its thing. The deployment window lets you know when the uninstall package has finished deploying.

Monitor the deployment in the deployment status window.

If we go back into PDQ Inventory, we can see that AutoHotkey is no longer listed as an installed application.

Screenshot of how to verify the application has been removed.

How to create a silent uninstall package with PDQ Connect

PDQ Connect is our agent-based solution designed to manage those hard-to-reach remote devices. True to our brand, Connect makes creating and deploying uninstall packages easy — not to mention you can even automate those packages. Here's how to create and deploy a silent uninstall package in PDQ Connect.

  1. In PDQ Connect, click on a device link.

    Screenshot of how to open a device page by clicking on the device link.

  2. Click on the Software menu option.

  3. Locate the Uninstall string column, then copy the uninstall string for the application you want to remove.

    Screenshot of how to locate and copy an uninstall string.

  4. Click Packages, then click Create package.

    Screenshot of clicking Create package to create a new package.

  5. Name the package, then click the Add install step drop-down menu, and select Add PowerShell step.

  6. Enter cmd.exe /c followed by the command you copied into the PowerShell command window. Ensure you add a space between /c and your command.

    Screenshot of entering the uninstall string into the PowerShell pane.

  7. Click Save to save and close the package.

All that's left is to deploy the uninstall package. To do so, simply select the package, click Deploy, add your targets, then click Deploy.

Screenshot of deploying the uninstall package to devices.

When the deployment finishes, scan your devices, then confirm that the application has been uninstalled.

How to automate silent uninstalls

When I thought about why someone might want to automate an uninstall, it took me a while to come up with a good reason. But then it came to me. Have you ever had a user install an application they weren't supposed to? And even though you've threatened them and removed it, they install it again. That, my fellow sysadmins, is the use case for an automated uninstall.

Luckily, setting up automated uninstalls in PDQ Deploy and PDQ Connect is easy, especially if you've already created your uninstall package.

Automate silent uninstalls with PDQ Deploy

Here’s how to automate a silent uninstall in PDQ Deploy.

  1. Right-click on the uninstall package in PDQ Deploy, then click New Schedule.

    Screenshot of creating a new schedule in PDQ Deploy.

  2. Give the schedule a name, then click the Triggers tab if it's not already selected.

  3. Configure your deployment schedule. I'll set my schedule to run weekly using the Weekly trigger and configure it to run every Wednesday at 4:00 p.m.

    Screenshot of configuring a schedule and triggers.

  4. Once you've got your schedule configured, click the Targets tab.

  5. Enter the name of the computers you want to deploy this package to or click the Choose Targets button to select targets from a source like Active Directory or PDQ Inventory.

    Screenshot of adding targets to the schedule.
  6. Click the Packages tab, and ensure your uninstall package is attached. If it's not attached, click Attach Packages and attach it.

  7. Click the Options tab, then uncheck Stop deploying to targets once they succeed. This ensures the uninstall package is always sent to the targeted devices.

    Screenshot of unchecking Stop deploying to targets once they succeed under the Options tab.

  8. Click OK to save and close the Schedule window.

I recommend targeting a PDQ Inventory collection with this type of schedule because the computers are only targeted when they rejoin the application collection.

Automate silent uninstalls with PDQ Connect 

The automatic deployment trigger deploys packages to specific devices or device groups once a desired action (trigger) takes place. Triggers include a package being updated to the latest version or the device group membership changing. For example, you can configure PDQ Connect to run a package on any new machines that join your network (if they’ve got the PDQ Connect agent running on them).

Let’s take Microsoft Edge for example. We can kick that bad boy to the curb as soon as a new device joins the network. Here’s how.

1. In PDQ Connect, click Automation.

Automations in PDQ Connect

2. Click Create automation in the right-hand corner of PDQ Connect. This takes you to the new automation panel.

Create automation in PDQ Connect
New automation in PDQ Connect

3. Decide on a name for your new automation. For our purposes, we’ll name it Uninstall Edge from computers on the network.

Uninstall Edge from computers in Connect

4. In the Packages field, type uninstall microsoft edge. Click the result that pops up.

Uninstall Edge package in PDQ Connect

5. In the Trigger section, click Automatic. This commands the package to deploy in specific circumstances as outlined below.

Automatic update in PDQ Connect

6. In the Deploy to section, find the group you want to apply the automation to and select it.

I Love Lucy dynamic group in PDQ Connect

7. Click Save in the bottom-right corner of Connect.

Save automation in PDQ Connect

Have a lot of silent uninstalls to perform? Use the bandwidth management feature to curtail how many deployments happen at once. Because clogging up your network is no fun.

Give your uninstalls the attention they deserve

PDQ's products are designed to simplify your endpoint management needs, including your uninstalls. The Package Library in PDQ Deploy has hundreds of prebuilt packages, and Connect's list of uninstall packages is rapidly growing.

If you're struggling to manage your managed endpoints’ applications, try out PDQ Deploy & Inventory or PDQ Connect for free for 14 days. There's a good chance we've already built a package for whatever you're trying to uninstall.

Brock Bingham candid headshot
Brock Bingham

Born in the '80s and raised by his NES, Brock quickly fell in love with everything tech. With over 15 years of IT experience, Brock now enjoys the life of luxury as a renowned tech blogger and receiver of many Dundie Awards. In his free time, Brock enjoys adventuring with his wife, kids, and dogs, while dreaming of retirement.

Related articles