When fully removing Recast Software's Privilege Manager Legacy from your environment, it is recommended that you remove client components first and server components last.
Remove client components
You can uninstall client components manually from a device's control panel, or by creating an uninstallation deployment from your device management system (Configuration Manager, Intune, etc.)
Uninstall the following applications in the specified order:
- Privilege Manager
- Recast Agent
Delete local users and groups
Local users and groups created by Privilege Manager are not automatically removed after the uninstallation. You can delete users and groups manually from the lusrmgr.msc console, or by running the commands listed below. You can create an uninstallation script which would first uninstall Privilege Manager and Recast Agent, and remove users and groups last.
- net user USERNAME /delete
- net localgroup GROUPNAME /delete
Uninstall local server components
To remove server components, you need to uninstall the following applications and configurations from the Privilege Manager server in the specified order:
- Uninstall Privilege Manager (if installed)
- Uninstall Recast Agent (if installed)
- Uninstall Recast Agent Gateway (if installed)
- Uninstall Privilege Manager Portal (if installed)
- Remove Privilege Manager SQL database
- From IIS Manager, make sure Recast Agent Gateway and Privilege Manager Portal sites and applications pools have been removed
- If sites and application pools still exist, you need to first remove sites and then the application pools
- Remove Recast Agent Gateway and Privilege Manager Portal site folders
Uninstall Azure PaaS
If you've installed Privilege Manager to Azure platform, remove the following resources from your Azure Portal:
- Delete Recast Agent Gateway app service (App Services - Microsoft Azure)
- Delete Privilege Manager Portal app service (App Services - Microsoft Azure)
- Delete Privilege Manager Azure SQL Database. You can also delete the Azure SQL server, if there are no other databases on the Azure SQL Server (SQL databases - Microsoft Azure)
- Delete Privilege Manager App Registrations (App registrations - Microsoft Azure )