top of page
Search

How To Uninstall ANSYS

Updated: Mar 14

Yes, we actually made a post on this after the many many direct delete ANSYS from c drive (c:) related issues we had to solve over the past few months (T.T)


A word of caution, you should never delete any software from any drives before uninstalling the software period. This could potentially create errors on your PC as doing so does not uninstall the software and the PC registry will still show it as installed (think of it like phantom limb syndrome).


Therefore for whatever reasons you need to uninstall ANSYS (maybe to clear space to install a newer version?), it pays to follow the correct steps.



Step 1

Go to c drive (if you installed it on c drive) > program files > ANSYS INC > v194 (if your version is 19 R2) and click uninstall

Step 2

Wait until the uninstallation completes.

Step 3 (skipped this step if you did not install License Manager)


Run command prompt in administrator mode.

You can do so by clicking on the Windows key on your keyboard and typing out administrator mode. Right-click on the command prompt and select "run as administrator".



Copy paste the following syntaxes (in bold) in the command prompt


1) Stop the Ansys license server

"C:\Program Files\ANSYS Inc\Shared Files\Licensing\winx64\ansysli_server" -k stop


2) Uninstall the Ansys license server:

"C:\Program Files\ANSYS Inc\Shared Files\Licensing\winx64\ansysli_server" -k uninstall


3) Stop and uninstall both the Ansys License Manager and Licensing Tomcat service:

sc stop "ANSYSLicensingTomcat" sc delete "ANSYSLicensingTomcat"

4) Verify that the following services are no longer running or available on Windows "Services". Otherwise, reboot the machine and do the above steps again and ensure the following are no longer shown in Windows "Services".

  • ANSYS, Inc. License Manager

  • ANSYS Licensing Tomcat

5) Delete the "Licensing" subdirectory (also removes the license file): rmdir /S "C:\Program Files\ANSYS Inc\Shared Files\Licensing"

6) Remove the Ansys License Manager folder from the Start menu,

rmdir /S "C:\ProgramData\Microsoft\Windows\Start Menu\Programs\ANSYS, Inc. License Manager"


7) Remove the ANSYSLIC_DIR and the ANSYSLIC_SYSDIR environment variables, if set.


8) If the "licensing" subdirectory cannot be deleted, the ANSYS license file, "ansyslmd.lic" can be removed by:

del "C:\Program Files\ANSYS Inc\Shared Files\licensing\license_files\ansyslmd.lic"

Step 4

Install CCleaner.

Click on a registry cleaner.

Run registry cleaner several times until there are no residues left.

Step 5

Restart your PC and you are done!



3,128 views0 comments

Recent Posts

See All

Comments


bottom of page