Uninstalling the Windows forwarder
This page describes how to remove the Stairwell Windows forwarder from a system.
The instructions are split into:
- Standard uninstall methods (all supported versions except 1.4.x)
- Advanced uninstall methods using the installer executable or ProductCode
- Special procedure for 1.4.x
- Manual cleanup and troubleshooting when the service does not stop
Unless otherwise noted, these steps apply to all forwarder versions except 1.4.x.
Standard uninstallation (all versions except 1.4.x)
Method 1: Windows user interface
For most environments, the simplest method is to use the built-in Windows uninstall experience.
- Open Apps & Features (on newer Windows) or Programs and Features (Control Panel).
- Locate the entry for Stairwell Forwarder or your organization’s forwarder display name.
- Select the entry and choose Uninstall.
- Follow any prompts until the process completes.
This method automatically uses the correct internal product code for the installed version and installer type.
Command-line uninstallation using the installer EXE
Important
To uninstall using this method, you must use the same installer executable that was used to install the forwarder. This includes:
- The same version number (for example 1.6.4, 1.7.2.6, 1.7.4.5)
- The same installer type (for example GUI bundle vs. MSI-based deployment)
If the installer EXE does not match the existing installation (different build or different product code), the uninstall may appear to run but will not remove the installed forwarder.
Steps
- Copy the correct installer executable to the system if it is not already present.
- Open an elevated Command Prompt (Run as administrator).
- Change to the directory containing the installer EXE.
- Run the uninstall command, replacing the filename with the installer you used:
StairwellForwarderBundle-1.6.4.0.exe /uninstall /Log StairwellUninstall.log /q /norestart/Logspecifies a log file to help diagnose any issues./qruns quietly./norestartprevents automatic reboot.
After the command completes, verify that:
- The forwarder no longer appears under Apps & Features / Programs and Features.
- The Stairwell service is not present in
services.msc.
If the command returns quickly and the forwarder or its service remains present, Windows may believe the MSI is already uninstalled or may be using a different product code than the one embedded in the EXE. In that case, see the advanced ProductCode uninstall methods below.
Advanced uninstallation using ProductCode
Windows Installer tracks each installed product using a ProductCode GUID. If the original installer EXE is not available, or the uninstall appears to complete but the service remains, you can uninstall by targeting the ProductCode directly.
Use the ProductCode from the registry
If the cached bundle is not available, you can obtain the ProductCode directly from the registry. In many cases, the ProductCode is the name of the uninstall key itself, not a value inside the key.
-
Open Registry Editor (
regedit.exe) as an administrator. -
Navigate to:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall -
Under this key, look for subkeys whose names are GUIDs of the form:
{XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX}For each candidate key:
- Select the key.
- In the right-hand pane, look at the
DisplayNamevalue. - Identify the key where
DisplayNamecontains"Stairwell"or"Stairwell Forwarder".
-
Once you find the correct key, the ProductCode is the key name itself. For example:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{961276B3-8318-48F1-AFB0-7C9F92AE3B64}In this case, the ProductCode is:
{961276B3-8318-48F1-AFB0-7C9F92AE3B64} -
Open an elevated Command Prompt and run:
msiexec /x {961276B3-8318-48F1-AFB0-7C9F92AE3B64} /qn /norestartReplace the GUID with the key name you identified on your system.
-
After the command completes, verify that:
- The forwarder is no longer listed in Apps and Features or Programs and Features.
- The Stairwell service is not present in
services.msc. - The installation directory has been removed as described in the manual cleanup section.
Special procedure: Manual uninstallation of 1.4.x
Version 1.4.x requires a different process that uses maintenance mode and a repair operation before uninstalling. Follow these steps if you are removing 1.4.x.
Step 1: Enter Maintenance Mode
-
Open cmd.exe.
-
Run:
C:\Program Files\Stairwell\SwellService\SwellService.exe -mainttoken=$tokenReplace
$tokenwith the maintenance token provided for your environment, if applicable.
Step 2: Repair the forwarder
- Open Control Panel.
- Go to Programs and Features.
- Locate StairwellForwarderBundle.exe.
- Select Repair.
Step 3: Re-enter Maintenance Mode
-
Open cmd.exe.
-
Run again:
C:\Program Files\Stairwell\SwellService\SwellService.exe -mainttoken=$tokenThis ensures the service is in maintenance mode before uninstalling.
Step 4: Uninstall the forwarder
-
Open cmd.exe in the directory containing the 1.4.x installer bundle.
-
Run:
StairwellForwarderBundle-1.4.0.886.exe /uninstall /Log StairwellUninstall.log /q /norestart
Note about reboot
Until a reboot occurs:
- The driver
SWAgent.sysand the serviceSwellService.exemay continue to run and appear in their respective locations. - The application should already be removed from the installed programs list.
You must reboot the system to complete removal of the driver and service.
Step 5: Verify services stopped
After reboot:
-
Press
Windows + R, typeservices.msc, and press Enter. -
Search for the Stairwell forwarder service (for example
StairwellForwarder) and confirm it is not present. -
Open PowerShell and run:
fltmc.exe -
Confirm that
SWAGENTis not present in the list of filter drivers.
Step 6: Manual cleanup for 1.4.x
Remove any remaining Stairwell artifacts:
-
Delete program files:
- Navigate to
C:\Program Files\Stairwell\. - Delete all Stairwell related folders and files.
- Navigate to
-
Clean up registry keys, if they remain:
HKEY_LOCAL_MACHINE\SOFTWARE\Inception\Stairwell HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SWAgentOnly remove these keys if you are sure no other Stairwell components are in use.
Summary
-
Preferred methods:
- Uninstall via Windows Apps & Features / Programs and Features.
- Uninstall using the original installer EXE that matches the installed version and installer type.
-
Advanced methods:
- Uninstall using
msiexec /x {ProductCode}obtained from the cached bundle or from the registry.
- Uninstall using
-
Special case:
- Version 1.4.x requires maintenance mode, repair, and then uninstall, followed by a reboot.
-
If a service or files remain after uninstall:
- Manually stop and delete the service.
- Remove remaining program files and, if necessary, clean up registry keys.
These steps are intended to help ensure that the forwarder is cleanly and completely removed from the system in both standard and edge-case scenarios.
Updated 1 day ago
