Each release of AutoCAD that Autodesk ships provides significant improvements to the installation and deployment process.  However, as with nearly every big-size deployment type of application, there are times when some of the modules do not completely uninstall and clean up after themselves.

In this case, the AutoCAD 2016 uninstall process may leave behind the “Autodesk Application Manager”.  This is a small but persistent little booger of an application (scientifically speaking).  It creates a Windows service and that’s what may cause the uninstall sequence to skip over it with an error that may be overlooked.

I’m not saying this is a common issue, or that you will even encounter it.  But just in case…

The Batch Way

To remove it, stop the “Autodesk Application Manager” service.  Then run the uninstaller directly.  You can do both from a command line interface (CLI) using a simple batch script:

@echo off
SET P1=C:\Program Files (x86)\Common Files\Autodesk Shared
sc stop "AdAppMgrSvc"
  echo service was already stopped.
) ELSE (
  echo service was stopped successfully.

This script was tested on Windows 8.1 64-bit and Windows 10 Preview 64-bit build 10049.

Once the service is stopped and the app is uninstalled, you can blow away the leftover folder if needed.  This is assuming there are NO other Autodesk products installed on the target computer…

cd "C:\Program Files (x86)\Common Files"
rd "Autodesk Shared" /q /s

I strongly recommend a forced reboot afterwards…

shutdown /r /f /t 0

For PowerShell Junkies

$sn = "AdAppMgrSvc"
$service = Get-WmiObject -Class Win32_Service -Filter "Name='$sn'"
"C:\Program Files (x86)\Common Files\Autodesk Shared\AppManager\R1\removeAdAppMgr.exe"

(note: you should probably drink some coffee and add some try/catch exception handling to this as well)

Happy deployments!

Leave a Reply

Please log in using one of these methods to post your comment: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s