cancel
Showing results for 
Search instead for 
Did you mean: 

how to uninstall TC through batch script program?

Experimenter
Experimenter
3 REPLIES

Re: how to uninstall TC through batch script program?

Esteemed Contributor
Esteemed Contributor

You will have to take care of this on your own.

You must really check to make sure that there is nothing removed that you still need.

if exist "%SystemDrive%\Siemens\Tc101" rd /s /q "%SystemDrive%\Siemens\Tc101"
REG QUERY "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall" | findstr /i Teamcenter10 >"%TMP%\remove_tc101.txt"
for /f %%K in ( %TMP%\remove_tc101.txt ) do REG DELETE "%%~K" /f

There is no warranty that the above would not leave your system in an unusable state.

The installation path and registry key is dependent on your environment.

Stefan Pendl, Systemmanager CAx, HAIDLMAIR GmbH
Production: NX10.0.3, VERICUT 8.0, FBM, MRL 3.1.4 | TcUA 10.1 MP7 Patch 0 (10.1.7.0) | TcVis 10.1
Development: VB.NET, Tcl/Tk    Testing: NX11.0 EAP, NX12.0 EAP

How to Get the Most from Your Signature in the Community

Re: how to uninstall TC through batch script program?

Solution Partner Legend Solution Partner Legend
Solution Partner Legend

The latest versions of Teamcenter create an uninstall entry in the Control Panel -> Uninstall Programs list that, when run, will remove most of the RAC installation although you may find remants if the installation folder after it's done. Versions before that have an uninstall.xml file created by the OTW installer that contains a list of registry entries, among other things. This file is supposed to be used with TEM to remove the RAC, but you can also use it to create your own script to remove the RAC. 

Arden Bedell | Teamcenter Wonk | Applied CAx, LLC

Re: how to uninstall TC through batch script program?

Esteemed Contributor
Esteemed Contributor

To get a proven solution, it would be best to report this to GTAC and request an enhancement to also silently remove Teamcenter. The ER number should be posted here, so others can request to be added to the ER.

In this modern age software deployment systems are wide spread, so why are there still home grown solutions needed?

Stefan Pendl, Systemmanager CAx, HAIDLMAIR GmbH
Production: NX10.0.3, VERICUT 8.0, FBM, MRL 3.1.4 | TcUA 10.1 MP7 Patch 0 (10.1.7.0) | TcVis 10.1
Development: VB.NET, Tcl/Tk    Testing: NX11.0 EAP, NX12.0 EAP

How to Get the Most from Your Signature in the Community