Skip to content

How to roll back software

Brock Bingham candid headshot
Brock Bingham|Updated April 30, 2025
How to roll back software
How to roll back software

So you've recently rolled out a new version of an application to hundreds of endpoints ... only to discover that the latest update included a pretty severe vulnerability. Or maybe you realized it’s chock-full of bugs. Either way, don’t panic. You can easily get rid of the latest version and revert to a bug- and vulnerability-free version of the application. We’ll share instructions on how to roll back software and get back on track ASAP.

Maintaining a rollback plan is one of the simplest ways to prepare for unanticipated yet unavoidable issues. It provides a systematic, repeatable approach to your in-house processes so that you’re not stuck coming up with ideas on the fly. This plan might also include information on your file and system backup strategy, version control, testing procedures, restore point, recovery plans, and other critical details.

What are your options when a vulnerability is discovered?

When a vulnerability is discovered in a current software version on your network, you generally have four options:

1. Roll back the software to a previous version

2. Implement a workaround

3. Ignore the vulnerability and accept the risk

4. Uninstall the software

Let's briefly go over each of these options.

1. Roll back the software to a previous version

When an update introduces a vulnerability, often the best solution — and the one that has the least negative impact on users and operations — is to roll back the software, restoring it to its last known good configuration.

2. Implement a workaround

When a software update introduces a vulnerability, it's common for the developer to quickly provide a workaround to negate the vulnerability while they work on a patch to patch the patch (what a fun phrase). Sometimes workarounds are easy to implement, but occasionally they require drastic changes that could impact functionality.

3. Ignore the vulnerability and accept the risk

This is a do-at-your-own-risk type of solution. Obviously, having a vulnerable system on your network is a no-no, but occasionally you don't have any other choice. When a system is critical to operations and rolling back or implementing a workaround isn't an option, then accepting the risk is all you can do. In these situations, you'll still want to do whatever possible to minimize the risk. Additionally, sacrificing old computer equipment to the sysadmin god of your choice may or may not reduce your chances of the vulnerability being targeted by cybercriminals.

4. Uninstall the software

Uninstalling software that has been impacted by a vulnerability is an obvious solution, though not feasible in many situations. Organizations aren't in the habit of installing unnecessary software. I think you'll find that most users are unwilling to let go of apps they depend on to get their jobs done.

What option should you use when a vulnerability is discovered?

Determining how to handle a vulnerable application on your network isn't always easy, but there's really no right or wrong answer. It all depends on your network and your organization's needs. But in most cases, you'll want to try to either roll back the software or implement a workaround.

Rolling back software often has the least negative impact on an environment. Keep in mind that the rollback option may delay the adoption of new features and security fixes, so you must consider those things compared to the severity of the vulnerability.

Implementing a workaround is also a good option if one is available. Some workarounds are easy to implement and won't impact usage. However, some can be difficult to implement or require that you modify features or settings, which would negatively impact the usefulness of an application.

If rolling back the software or implementing a workaround aren’t options, then your last-resort options are ignoring the vulnerability and accepting the risk while waiting for a new update or uninstalling the impacted application. You should only consider accepting the risk if the affected application is a critical system of the organization. Uninstalling the software is drastic, but it is worth considering if the software isn't vital and users can live without it until a new patch is released.

How to roll back software using PDQ Connect

It's Friday morning. Birds are chirping, bees are buzzing, and you're quietly sitting at your desk enjoying your favorite beverage while reading the latest tech news. Suddenly, panic sets in as you read that the recent update of "software x," which you just distributed to your endpoints, introduced a severe vulnerability. Obviously, your rigorous testing can't be to blame; sometimes, these things just slip through the cracks. But now that your adrenaline has kicked you into high alert, what do you do? With PDQ Connect, just follow a few easy steps.

Note that we’ve randomly selected an example to illustrate the rollback process. This does not imply that the software has any known vulnerabilities at the moment.

ConnectIcon CTA

Centralize your Windows device management

Gain real-time visibility, deploy software, remediate vulnerabilities, schedule reports, automate maintenance tasks, and access remote devices from one easy-to-use platform.

Roll back software using an uninstall package from the Package Library 

1. In PDQ Connect, click on Devices. Then, click the Deploy button in the upper right corner. 

Screenshot showing Devices and Deploy in PDQ Connect.

2. In the Search packages field, input the name of the software you want to remove. I’ll use 7-Zip as an example. Click the relevant uninstall package, select your target group or devices in the Search devices and groups field, then click Deploy.

Screenshot showing the Search packages field, the relevant uninstall package, the Search devices and groups field, and the Deploy button.

Now that we’ve gotten that out of the way, we can reinstall an old version of 7-Zip. 

1. Click on Devices > Deploy, then search 7-Zip, and select the 7-Zip package.

2. Use the drop-down menu to select your specific version from the multiple versions available.

Screenshot showing the version options in the Create deployment screen in the PDQ Connect UI.

3. Use the Search devices and groups field to find your target, then click Deploy.

Roll back software using an uninstall package you generate 

While PDQ Connect has uninstall packages for some of the most common software, we don’t have one for everything. Thankfully, you can always build your own. We’ll walk you through how to build an uninstall package for 7-Zip (if we imagine a world where PDQ doesn’t already provide it).

1. In PDQ Connect, go to Devices. Click on a device that has the target software on it. 

Screenshot showing the Devices tab and a relevant device in the PDQ Connect UI.

2. Select Software from the menu.

Screenshot showing the Software option in the device details in the PDQ Connect UI.

3. Under the Uninstall string column, copy the uninstall string for your target application.

Screenshot showing the uninstall string.

4. Click Packages > Create package.

Screenshot showing the Packages tab and the Create package button in the PDQ Connect UI.

5. Give your package a name. Next, click the drop-down menu next to Add install step, and select Add script step

Screenshot showing the Add install step drop-down menu, the Add script step option, and the name field.

6. Enter cmd.exe /c followed by the command you copied into the PowerShell command window, making sure there is a space between /c and your command. 

7. Click Save to save and close the package. 

Screenshot showing the PowerShell script and the Save button.

Once you’ve created your package, just deploy it to any endpoints that you want to remove 7-Zip from. Then, follow the steps in the previous section to deploy an earlier version of the application to those same machines.

How to roll back software using PDQ Deploy & Inventory

Now let's look at a couple of examples of how to roll back software using PDQ Deploy & Inventory. Keep in mind that the applications targeted in these examples are only being used as examples and do not necessarily have a known vulnerability at this time.

Roll back software using an uninstall package from the Package Library

For this first example, we'll be using Java 8, which has a prebuilt uninstall package included in the Package Library. The Package Library contains uninstall packages for tons of mainstream applications, making rolling back software super easy. We'll also use the version history feature in the Package Library to download and deploy an older, stable version of an application.

1. With PDQ Deploy open, click on Collection Library.

2. In the search box, enter Java 8.

3. Double-click the Uninstall Java 8 package to download it to your console.

Screenshot showing the search field and the Uninstall Java 8 package in PDQ Deploy.

4. Once the uninstall package has downloaded onto your console, right-click it and select Deploy Once.

Screenshot showing the Deploy Once option in PDQ Deploy.

5. In the software deployment window, click Choose Targets > PDQ Inventory > Collection.

Screenshot showing Choose Targets > PDQ Inventory > Collection in PDQ Deploy.

6. Locate the collection you need. For the latest Java 8 collection, expand Collection Library > Runtimes > Java (JRE) > Java 8 > Java 8 32-bit > Java 8 32-bit (Latest), then click OK.

Screenshot showing the above instructions in PDQ Deploy.

7. Back at the Deploy Once window, click Deploy Now to deploy the uninstall package.

Screenshot showing the above instructions in PDQ Deploy.

Once the package has deployed and Java has been uninstalled, we'll return to the Package Library to download an older version of Java.

1. In the Package Library window, enter Java into the search field.

2. Click on the Java 8 package.

3. In the Package Details window, scroll down to view the previous releases.

4. Click Download Now next to the version you wish to download.

Screenshot showing the above instructions in the Package Library.

Once the package is downloaded, you can deploy it to the workstations that need it.

Roll back software using PDQ Inventory to generate an uninstall package

While there are a ton of uninstall packages available in the Package Library, you may come across an application that doesn't have one. If you need to revert software that doesn't have an uninstall package in the Package Library, we can use PDQ Inventory to generate one. Let's demonstrate the process using OpenOffice as our example application.

1. In PDQ Inventory, double-click on a computer that contains the application that you need to remove.

2. Click on the Applications page.

Screenshot showing the above instructions in PDQ Inventory.

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

Screenshot showing the above instructions in PDQ Inventory.

4. PDQ Deploy will open, and the new uninstall package window will appear. Review the package, and click Save. Keep in mind that you'll want to ensure that the silent parameters have been configured correctly in the package.

Screenshot showing the above instructions in PDQ Deploy.

Once the package has been saved, it's ready to deploy to the computers from which you need to remove the application. Afterward, follow the steps in the previous section to download and deploy a different version of the application from the Package Library.

Roll back software the easy way

Unfortunately, vendors don't have the best track record of releasing vulnerability- and bug-free updates. While we always recommend proper testing, it won't catch everything. Don't let vulnerabilities in the current version of your favorite software ruin your day. PDQ Connect and PDQ Deploy & Inventory make it easy to roll back software, keeping your environment vulnerability free and leaving you plenty of time to do what you love most, like arguing with strangers on the internet.

If you're not already using PDQ Connect or PDQ Deploy & Inventory, what's the holdup? You can try it out for yourself and see how much time it saves you with a 14-day free trial. Within minutes, you'll be ready to start managing systems and deploying packages.

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