Pages

Ads 468x60px

Friday, May 3, 2013

Uninstalling Autodesk products

There are many ways to remove software, but I personally prefer to extract each products GUID from the registry. After I have dumped all product GUID’s, I prepare a removal script.

You can navigate manually into your client registry to extract the product GUID’s or you can be creative and prepare a script that will export these locations to text file for you.

x86 location:
HKEY_LOCAL_MACHINE\SOFTWARE\microsoft\windows\currentversion\uninstall

x64 location:
HKEY_LOCAL_MACHINE\SOFTWARE\wow6432node\microsoft\windows\currentversion\uninstall

I prefer to remove the product silently without any UI. After the product is removed, I remove registry entries and local folders & files.

ie.
rem Uninstall product by guid
start /wait msiexec /x <GUID> /q

rem Remove registry key
reg delete "hkcu\software\autodesk\AutoCAD\R19.1" /f
reg delete "hklm\software\autodesk\AutoCAD\R19.1" /f
reg delete "hklm\software\wow6432node\autodesk\autocad\R19.1" /f

rem Delete folders & files
rd /s/q “C:\Program Files\Autodesk\Autodesk AutoCAD Civil 3D 2014"

After the removal script completes, I like to run the Microsoft Win Cleanup Utility (msicu2.exe). Then highlighting all products I removed via script, and removing any leftover instances of them via cleanup utility.

Rebooting the client after completing the removal. Using a script to remove the products using their GUID, is much faster than using programs & features. When you are handling a large number of client machines, you will want to save as much time as possible.

The 2014 product does include an uninstall tool, as well as uninstall text files under the deployment image folder "SMS_SCCM scripts". These files will include the majority of the product GUID needed to uninstall, but some products GUID won't be listed, which you would need to extract yourself.

ie.

::::== Microsoft Visual C++ 2008 x64 CRT Runtime 9.0.30729
::::Manual uninstallation only

::::== Autodesk AutoCAD Civil 3D 2014
::call :funcUninstall {5783F2D7-D000-0409-0102-0060B0CE6BBA}, "Autodesk AutoCAD Civil 3D 2014"

Something to note, Microsoft has replaced the msicu2 with Microsoft Fix it. msicu2 still works fine with Windows 7 32/64bit clients, but if you are interested in the new Fix it. You can read more about it over at Microsoft’s website. http://support.microsoft.com/mats/Program_Install_and_Uninstall

image

11 comments:

  1. "%ProgramFiles%\Autodesk\AutoCAD 2014\Setup\en-us\Setup\Setup.exe" /Q /P {5783F2D7-D001-0000-0102-0060B0CE6BBA} /R ACAD /language en-US

    "%ProgramFiles%\Autodesk\Autodesk ReCap\Setup\Setup.exe" /Q /P {31ABA3F2-0000-1033-0102-111D43815377} /s /R Autodesk_ReCap /LANG en-US

    "%ProgramFiles(x86)%\Autodesk\Content Service\Setup\Setup.exe" /Q /P {62F029AB-85F2-0000-866A-9FC0DD99DDBC} /R ContentService /LANG en-US

    ReplyDelete
  2. AMAZING SITE I LIKE YOUR WORK PLEASE CARRY OB YOUR WORK

    ReplyDelete
  3. AMAZING SITE PLEASE CARRY ON YOUR WORK

    ReplyDelete
  4. great work.. i like your post.keep it up.
    click on it.
    http://usecrack.com/uncategorized/techtool-pro-7-serial-number-crack.htm

    ReplyDelete
  5. Hello Joe;
    Thanks for this helpful article, i have question here, is this a vbs script?? if yes would you please give me a favor i need to uninstall a multiple Autodesk products such as Autocad 2012, 2013, 2014,2015 and 2017 in addition to rivet, did you have script to remove all of them with from program file and registry keys?

    ReplyDelete