Announcements

Between mid-October and November, the content on AREA will be relocated to the Autodesk Community M&E Hub and the Autodesk Community Gallery. Learn more HERE.

How to Uninstall Application Manager?

How to Uninstall Application Manager?

Anonymous
Not applicable
21,053 Views
11 Replies
Message 1 of 12

How to Uninstall Application Manager?

Anonymous
Not applicable

I have been hunting the internet all day with no success.  Hopefull someone here knows.

 

I am deploying AutoCad 2015 via SCCM 2012.  The install works fine, it is the uninstall that I am having issues with. 

 

Using the uninstall.bat file does not uninstall "Application Manager", not to be confused with "App Manager", which is very easy considering the service for Application Manager is named adAppMgr.exe and the removal tool is RemoveAdAppMgr.exe.

 

With much hunting, I was able to come up with the following process to initiate a silent uninstall of Application Manager.

 

  1. taskkill /F /IM "AdAppMgr.exe"
  2. net stop AdAppMgrSvc
  3. "C:\Program Files (x86)\Common Files\Autodesk Shared\AppManager\R1\removeAdAppMgr.exe" --mode win32 unattended

However AP does not uninstall, please find the attached uninstall log.  According to removeAdAppMgr.exe --help this looks like the proper syntax.

 

Anyone figured this out yet?

 

TIA.

0 Likes
21,054 Views
11 Replies
Replies (11)
Message 2 of 12

david.lau
Community Manager
Community Manager

Go here:

 

http://knowledge.autodesk.com/search-result/caas/sfdcarticles/sfdcarticles/Autodesk-Application-Mana...

 

Search for this:

 

What if I don’t want to include Autodesk Application Manager in our network deployments?

 

I would hack out the Application Manager before making the deployment.

 

The workflow is similar to here:

 

http://upandready.typepad.com/up_and_ready/2013/05/autocad-2012-net-45-hacking-the-setupini.html

 

There is a screencast video of the workflow for .net hack.



David Lau
0 Likes
Message 3 of 12

Anonymous
Not applicable

David, thanks for the reply.

 

I have looked at the first link you posted many times and so far, I dont see anything on that page that talks about how to interact System Center Configuration Manager deployments or how to uninstall Application Manager with SCCM per my original post.  Is there something I am missing?

 

We dont mind installing Application Manager as long as we can automate the uninstall as well, so I am not sure how the second link applies unless you are telling me there is no way to automate the uninstall and the only way to accomplish this is to not install Application Manager in the first place?

 

Thanks

Chris.

 

After rereading my OP I realize I was not clear in my my stated goals.  I am trying to setup a full AutoCad deployment via Microsoft System Center Configuration Manager software deployment.  The full install is working fine, the automated uninstall is not.  Everything but Application Manager gets uninstalled. 

 

REFERENCES

 http://knowledge.autodesk.com/support/autocad/troubleshooting/caas/CloudHelp/cloudhelp/2015/ENU/Auto...

 

http://knowledge.autodesk.com/support/autocad-lt/troubleshooting/caas/sfdcarticles/sfdcarticles/How-...

 

 

I can uninstall AM just fine if I go to programs and features and uninstall provided I use task manager to kill the running exe and stop the Application Manager service.  The Autodesk uninstall gui tool functions the same way.

 

My ultimate question is how do I get Application Manager to uninstall via the automated batch file provided by Autodesk?

0 Likes
Message 4 of 12

david.lau
Community Manager
Community Manager

We just published the following solution. It may take a couple of hours for it to go live.

 

http://knowledge.autodesk.com/article/How-to-Silently-Uninstall-Application-Manager-using-SCCM

 

Run the following commands or create a batch script with the following contents:

call taskkill /F /IM "AdAppMgr.exe"
net stop AdAppMgrSVC
RD %Programdata%\Autodesk\SDS /S /Q
call "C:\Program Files (x86)\Common Files\Autodesk Shared\AppManager\R1\removeAdAppMgr.exe" --mode unattended
 
Please note, if last step fails then you need to remove SDS folder again.

 

http://upandready.typepad.com/up_and_ready/2015/03/how-to-command-line-uninstall-of-the-autodesk-app...

 

 



David Lau
0 Likes
Message 5 of 12

Anonymous
Not applicable

what if we DONT use SCCM? i am trying to uninstall using a batch file and it will not delete the folder, Access Denied. 

 

i tried to Run As Administrator and still cannot get it to uninstall. 

 

Here is my batch file:

 

call taskkill /F /IM "AdAppMgr.exe"
net stop AdAppMgrSVC
RD %Programdata%\Autodesk\SDS /S /Q
"C:\Program Files (x86)\Common Files\Autodesk Shared\AppManager\R1\removeAdAppMgr.exe" --mode unattended

0 Likes
Message 6 of 12

david.lau
Community Manager
Community Manager

The easiest test is to have Application Manager installed, open a command prompt and run each command one at a time....

 

http://knowledge.autodesk.com/search-result/caas/sfdcarticles/sfdcarticles/How-to-Silently-Uninstall...

 



David Lau
0 Likes
Message 7 of 12

Anonymous
Not applicable

David, i got it to work! 

 

I already did run each command on the command prompt but it seems something wasnt right the first time, i did it again and everything ran fine. Thanks for your help! 

0 Likes
Message 8 of 12

ukdxb012
Advisor
Advisor

Please refer to this solution i posted... http://forums.autodesk.com/t5/installation-licensing/uninstalling-autodesk-application-manager/td-p/...

 

You need to make sure that the Application is not running and closed to successfully remove it via the links i provided.



Duncan Brannan
UK/EMEIA CAD Operations Manager
Twitter | LinkedIn

0 Likes
Message 9 of 12

Anonymous
Not applicable

I had problem with the uninstall or version 2016

Not sure if it helps anyone, but here it is!

 

all taskkill /F /IM "AdAppMgr.exe"

net stop AdAppMgrSVC

sc delete AdAppMgrSVC

RD %Programdata%\Autodesk\SDS /S /Q

call "%ProgramFiles(x86)%\Common Files\Autodesk Shared\AppManager\R1\removeAdAppMgr.exe" --mode unattended

 

AdAppMgrSVC restarted all the time so i had to delete it for the uninstallation to work!

 

Regards

Peter

0 Likes
Message 10 of 12

Anonymous
Not applicable
Hi David,

I have issues uninstalling autodesk application manager when all other autodesk products are uninstalled from Windows > Control Panel > Programs.

I saw this on your previous comment:

"Run the following commands or create a batch script with the following contents:

call taskkill /F /IM "AdAppMgr.exe"
net stop AdAppMgrSVC
RD %Programdata%\Autodesk\SDS /S /Q
call "C:\Program Files (x86)\Common Files\Autodesk Shared\AppManager\R1\removeAdAppMgr.exe" --mode unattended"

How do i actually run them individually?

Thanks
0 Likes
Message 11 of 12

Anonymous
Not applicable

Run each line of those commands, individually? not sure what you are asking. 

0 Likes
Message 12 of 12

samuray73
Explorer
Explorer

net stop is not enough

Because AdAppMgrSvc task is sarting again

It is solved below

Working.

 

sc config "AdAppMgrSvc" start= disabled
sc stop "AdAppMgrSvc"

call taskkill /F /IM "AdAppMgr.exe"
call taskkill /F /IM "AdAppMgrSvc.exe"

RD /S /Q "%ProgramData%\Autodesk\SDS"
call "%CommonProgramFiles(x86)%\Autodesk Shared\AppManager\R1\removeAdAppMgr.exe" --mode unattended

0 Likes