# Upgrade Guide

This guide provides instructions for upgrading to the latest version of the Twosense Endpoint Agent from different starting versions.

***

## Upgrading from v3.x

1. **Download the Latest Installer**\
   Request the latest Twosense Installer MSI by contacting <support@twosense.ai>.
2. **Install the Latest Version**\
   Follow the detailed steps in the [Windows Installation Guide](https://docs.twosense.ai/windows-authenticator/guides/windows-installation-guide).
3. **Reboot**\
   Restart the machine once the installation completes to apply the updates.

***

## Upgrading from v2.x or Earlier

If you are upgrading from v2.x or earlier, there are two possible configurations. Follow the appropriate steps based on your setup.

### Scenario 1: Single Installer Package

If you installed the Twosense services using a single installer package, follow these steps:

1. **Uninstall the Single Installer**\
   Open **Add/Remove Programs** and locate **Twosense Continuous MFA**. Uninstall it. Alternatively, use your software management system or Group Policy (GPO) to uninstall the package.
2. **Reboot Your System**\
   Restart your machine after the uninstallation.
3. **Install the Latest Version**\
   Follow the steps in the [Windows Installation Guide](https://docs.twosense.ai/windows-authenticator/guides/windows-installation-guide).
4. **Reboot Again**\
   Restart your machine after the new installation is complete.

### Scenario 2: Multiple Installers

If you installed the Twosense services using multiple installer packages, follow these steps:

1. **Uninstall Services in Order**\
   Uninstall the following packages in the specified order:

   1. **Twosense Authenticator**
   2. **Twosense Manager Approval Client** (if installed)
   3. **Twosense Continuous MFA** (if installed)

   You can use **Add/Remove Programs**, Group Policy (GPO), or your software management system to perform the uninstallation.
2. **Reboot Your System**\
   Restart your machine after all services are uninstalled.
3. **Install the Latest Version**\
   Follow the steps in the [Windows Installation Guide](https://docs.twosense.ai/windows-authenticator/guides/windows-installation-guide).
4. **Reboot Again**\
   Restart your machine after the new installation is complete.

***

### Notes

* Ensure you have administrative privileges during installation.
* If you encounter issues, contact Twosense Support at <support@twosense.ai>.
