Uninstall Multiple Autodesk Products Quickly and Easily

If you have ever tried to uninstall an Autodesk Suite, you have probably noticed there are dozens of different products, all installed separately, they all installed together but where is the button to uninstall them all together? Unfortunately, there is not one! If you have ever sat at your desk, uninstalling each program one by one, keep reading this will save you alot of time!
I have put together a simple script using the windows utility WMIC to easily remove all Autodesk applications! Running this script will remove any and ALL Autodesk applications! 
To run this script you need to first open a cmd shell, in order for this to run properly, it must be run with elevated permissions. To do this click start -> all programs -> accessories -> Right click on 'command prompt' and choose 'Run as Administrator'. 
In the CMD window that will open type 'wmic', then hit enter. This will enter the wmic utility. Your command window should now look like this:

Next lets look at the script, and how it can be manipulated to fit your needs.
The text for the script is: "product where "vendor like 'autodesk%'" call uninstall /nointeractive" 
This makes a call to uninstall any product, with a vendor of Autodesk. This will be the case for any Autodesk product. 
You can also remotely remove applications from a machine by running this command. 
"/node:pcname1 product where "vendor like 'autodesk%'" call uninstall /nointeractive" This will run the above command on the remote machine you list in the script above by replacing 'pcname1' with the name of the remote computer you want to uninstall from. 
You can also send this command to multiple computers by creating a text file called pc.txt and placing it on the root of the c:\ drive. In this text file, list each pc name you want to uninstall from, one name per line. You do not need anything but a line break in between each name. Then run this command. 
"/failfast:on /node:@"c:\pc.txt" product where "vendor like 'autodesk%'" call uninstall /nointeractive"

This will now go through and uninstall each program, we set the /nointeractive switch above, so it will be silent, and not ask you for any further input. You should see similar to below as each removes: 

A return value of 0; means it successfully uninstalled. If you are getting a return value of 1603; check to make sure that you ran the command window with elevated permissions, not doing so will cause some applications not to remove. 
If you have any questions you can email me at banderson@prosoftnet.com



Comments

  1. This is a great idea!! Thanks for sharing.

    Now what if you like to run two versions side by side for a little while to make sure bugs are worked out. Then you want to come back and uninstall 2013 versions?

    Could you do something like:
    "product where "vendor like 'autodesk%2013%'" call uninstall /nointeractive"

    ReplyDelete
  2. Or maybe something like

    "product where "vendor like 'autodesk%' and name like '%2013%'" call uninstall /nointeractive"

    ??

    ReplyDelete
  3. Found the solution, this works: Replace the year with desired release.

    product where "vendor like 'autodesk%' and name like ‘%2013%’" call uninstall /nointeractive

    Thanks so much for sharing this. A huge time saver.

    ReplyDelete
  4. lifesaver, thanks!

    ReplyDelete
  5. I keep getting 1603 even when running CMD as Administrator with an admin user

    ReplyDelete
  6. Return value of 1603 is usually generated if you run it from a non elevated command prompt. Before running command prompt, right click on it and choose run as administrator. If that doesn't work, talk to your IT because it sounds like you don't have admin rights.

    ReplyDelete
  7. Hello friends, I have a problem I have Autocad products installed and I execute the command without problems but only uninstalls those who have Autodesk only in the vendor and the others that have Autodesk, Inc. do not uninstall them. What I can do since if I use the comma gives the command error.

    ReplyDelete

Post a Comment