Installation & Licensing Center
HOW TO - Uninstall Ansys Software
Authored by Caleb Scharf
October 27th, 2026
62425 views
48 likes
KB955658
Description
Uninstalling Ansys removes the client software or the license manager from a Windows computer. A clean uninstall and reinstall often fixes problems caused by:
- Not running the setup file with Run as Administrator when installing
- Not unzipping the installation files first
- A corrupt install due to a hardware or software error
- An unexpected power loss or shutdown
- An application crash
- A Windows Update breaking a Microsoft Visual C++ Redistributable dependency
This article covers the standard uninstall for each product, an optional comprehensive uninstall, and how to check it worked.
Solution
Required Access
Sign in to the computer with an account that has administrator rights before you start.
1. Uninstall Ansys Software
Uninstall the client software, the license manager, or both, depending on your problem. Open the section for the software you're removing.
Structures & Fluids
Uninstall from the Start Menu
- Search Windows for Uninstall Ansys, right-click the Uninstall Ansys shortcut for your version, and select Run as Administrator.
- In the uninstall wizard, click Select All, then click Next, and let the uninstall finish.
Note: Skip task 2 unless you have a difficult Ansys issue or support asked you to do a comprehensive uninstall.
Uninstall with Uninstall.exe
Both methods run the same Uninstall.exe in the Ansys installation folder.
- In File Explorer, go to
C:\Program Files\ANSYS Inc\. - Open the subfolder of the version you want to uninstall, for example
211for 2021 R1,212for 2021 R2, or221for 2022 R1. - Right-click Uninstall.exe and select Run as Administrator.
- Follow the wizard and select all the Ansys software you want to uninstall.
Note: Skip task 2 unless you have a difficult Ansys issue or support asked you to do a comprehensive uninstall.
Electronics
- Search Windows for Add or Remove Programs and open it.
- Select your version of Ansys Electromagnetics Suite in the list, then click Uninstall.
- Follow the prompts to remove the application and all of its features.
Note: Skip task 2 unless you have a difficult Ansys issue or support asked you to do a comprehensive uninstall.
License Manager - 2024 R1 & Later
Back Up Your License File and Options File
This process deletes your installed license file and options file. Before you start, make sure you have your original license file, and back up your options file if you use one. Its default location is C:\Program Files\ANSYS Inc\Shared Files\Licensing\ansyslmd.opt.
- Open an administrator Command Prompt, then paste and run these commands one at a time:
sc stop "ANSYS, Inc. License Manager CVD" sc delete "ANSYS, Inc. License Manager CVD" sc stop "ANSYSLicensingTomcat" sc delete "ANSYSLicensingTomcat" sc stop "ANSYS, Inc. License Manager" sc delete "ANSYS, Inc. License Manager" - If you'll reinstall the License Manager, rename the
C:\Program Files\ANSYS Inc\Shared Filesfolder toShared Files.old. You must do this for a clean, successful new install. - Run this command:
Note: If the command doesn't run, your install doesn't include the Ansys Licensing Interconnect service, so continue to the next step. You only enable that service to support older versions (HOW TO - Add FlexNet License Manager Support for Older Ansys Versions (2020 R2 & Prior))."C:\Program Files\ANSYS Inc\Shared Files\Licensing\winx64\ansysli_server" -k uninstall - If the client software is also installed on this computer, specify your Ansys license server again, because the
ansyslmd.inifile no longer exists.
License Manager - 2023 R2 & Prior
Back Up Your License File and Options File
This process deletes your installed license file and options file. Before you start, make sure you have your original license file, and back up your options file if you use one. Its default location is C:\Program Files\ANSYS Inc\Shared Files\Licensing\ansyslmd.opt.
Do these steps on the computer where the license manager is installed.
- Search the Windows Start menu for ANSYS License Management Center, right-click it, and select Run as Administrator.
- Click Stop on the right side of the page to stop the ANSYS License Manager.
- Open an administrator Command Prompt, run this command to uninstall the ANSYS License Manager service, then wait for it to finish:
"C:\Program Files\ANSYS Inc\Shared Files\Licensing\winx64\ansysli_server" -k uninstall - In the same Command Prompt, run these two commands to uninstall the ANSYS Licensing Tomcat service:
sc stop "ANSYSLicensingTomcat" sc delete "ANSYSLicensingTomcat" - Delete the
Shared Filesfolder. Its default location isC:\Program Files\ANSYS Inc\Shared Files.
Note: Don't delete this folder if Ansys client software is also installed on this computer. - If the "ANSYS License Manager" folder is still in the Windows Start menu, you can delete it from
%AppData%\Microsoft\Windows\Start Menu\Programs. - Search Windows for Edit the system environment variables, open it, and click Environment Variables.
- Under "System variables", delete the
ANSYSLIC_DIRandANSYSLIC_SYSDIRvariables, if present.
Note: Skip task 2 unless you have a difficult Ansys issue or support asked you to do a comprehensive uninstall.
2. Do a Comprehensive Uninstall (Optional)
A comprehensive uninstall removes the Ansys files, temp files and environment variables that the standard uninstall leaves behind. These leftovers can sometimes cause an issue. Do these steps only after the standard uninstall in task 1.
Comprehensive Uninstall Steps
- Delete these folders:
ReplaceC:\Program Files\ANSYS Inc\vXXX C:\Program Files\AnsysEM\AnsysEMXX.XvXXXwith your version folder (for examplev261) andAnsysEMXX.Xwith your Electronics version folder.
Note: If you don't have other Ansys versions installed, delete these folders entirely. - Delete the Ansys temp files. Open File Explorer, paste
%LOCALAPPDATA%\Tempinto the address bar, and search for "ansys". Select all the folders in the results and delete them.
- Rename these folders, if present, by adding
.oldto the end of the name:
Note:%appdata%\Ansys %appdata%\SpaceClaim %LOCALAPPDATA%\Ansys %LOCALAPPDATA%\SpaceClaim %LOCALAPPDATA%\ANSYS,_Inc %LOCALAPPDATA%\Ansys_Inc %userprofile%\Ansoft %userprofile%\.cfx %userprofile%\.ansys%userprofile%\.cfxis a folder, not a file. - Search Windows for Edit the system environment variables, open it, and click Environment Variables.
- Delete the Ansys environment variables:
- One version: delete the variables with "Ansys" in the name or value that belong only to the version you're troubleshooting.
- All versions: delete every Ansys variable, regardless of version number.
Only If You Uninstalled Every Version
Delete these registry keys only if you uninstalled all Ansys applications and versions. Don't delete them if other Ansys versions are still installed.
- Search Windows for Registry Editor and open it.
- Paste each of these paths into the Registry Editor address bar, one at a time, and delete each key:
Note: Some of these paths may not exist.Computer\HKEY_CURRENT_USER\Software\ANSYS Computer\HKEY_CURRENT_USER\Software\ANSYS, Inc. Computer\HKEY_CURRENT_USER\Software\ANSYS\SpaceClaim Computer\HKEY_LOCAL_MACHINE\SOFTWARE\ANSYS, Inc.
3. Verify It Worked
- Check that the Ansys software you uninstalled no longer appears in the Windows Start menu or in Add or Remove Programs.
- To reinstall, follow the Ansys Download & Installation Guide (Start Here!).
If Something Goes Wrong
If you can't find the uninstall shortcut or Uninstall.exe, reinstall the same Ansys version using the Ansys Download & Installation Guide (Start Here!), then uninstall it again. More info: ERROR - Cannot Uninstall Ansys Software Using Uninstaller.