How to silently uninstall SCOM 2007 R2 Agent
We're trying to uninstall SCOM 2007 R2 Agent of a group of computers through SCCM. We want to silently uninstall it.
We found in technet that this command works for uninstall (and it actually does):
%windir%\System32\msiexec.exe /x Path\MomAgent.msi /qb
But then if we tried changing something for /quiet or /qn it won't work... if you check at the
task manager the msiexec appears but then in less than a second it goes away.
Is there any way to silently uninstall these agents through command prompt window so that we
can deploy the uninstall with SCCM?
Thanks
October 25th, 2011 12:08pm
how about this?
msiexec /x {25097770-2B1F-49F6-AB9D-1C708B96262A} /qn /L*v c:\log.txt
or
msiexec /x {25097770-2B1F-49F6-AB9D-1C708B96262A} /qn
Free Windows Admin Tool Kit Click here and download it now
October 25th, 2011 2:51pm
Already tried those two... Not working either... Msiexec shows up but then it fades away immediately. I go and check the programs installed and SCOM Agent 2007 R2 is still there.
October 25th, 2011 4:03pm
just checked under local admin user, no issues detected. agent has been uninstalled successfully.
what does c:\log.txt say in your case?
Free Windows Admin Tool Kit Click here and download it now
October 25th, 2011 4:11pm
Please refer to the following articles and check if the commands are correct:
Uninstall SCOM agent the easy way:
http://www.jonathancusson.com/2010/07/28/uninstall-scom-agent-the-easy-way/
SCOM command line parameters:
http://www.snowland.se/2007/12/08/scom-command-line-parameters/Please remember to click Mark as Answer on the post that helps you, and to click Unmark as Answer if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
October 26th, 2011 4:09am
Please refer to the following articles and check if the commands are correct:
Uninstall SCOM agent the easy way:
http://www.jonathancusson.com/2010/07/28/uninstall-scom-agent-the-easy-way/
SCOM command line parameters:
http://www.snowland.se/2007/12/08/scom-command-line-parameters/Please remember to click Mark as Answer on the post that helps you, and to click Unmark as Answer if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
Free Windows Admin Tool Kit Click here and download it now
October 26th, 2011 11:03am