Avatar of tolinrome
tolinromeFlag for United States of America asked on

Remotely uninstall application

I'm trying to use the psexec.exe command to remotely uninstall SEPM (Symantec Endpoint Protection Manager) client.

I use different variations with different results and none work.

1. >psexec.exe \\computername -u domain\admin -p password msiexec {3C1AE512-3C37-44FA-BA42-ABB721EC5B1D}
This one just hangs......

2. >psexec.exe \\ -u domain\admin -p password {3C1AE512-3C37-44FA-BA42-ABB721EC5B1D}
psexec could not start {3C1AE512-3C37-44FA-BA42-ABB721EC5B1D} on 192.468.1.50: The system cannot find the file specified.

Seems like a great tool if I can get it ot uninstall the symantec client.
Anti-Virus AppsWindows Server 2003Active Directory

Avatar of undefined
Last Comment
Sudeep Sharma

8/22/2022 - Mon
Mark Damen

msiexec needs an additional switch, -x to tell it to work in uninstall mode.
Mark Damen

enclose the whole command in quotes like so

psexec.exe \\computername -u domain\admin -p password "msiexec -x {3C1AE512-3C37-44FA-BA42-ABB721EC5B1D}"

I wasnt even sure what the msiexec meant, just saw it on a blog, not sure if it's applicable to SEPM client - Im thinking it means too uninstall a MSI extension file (program).
What if the program isnt MSI - what would I use?
Your help has saved me hundreds of hours of internet surfing.
Mark Damen

I have used this method to uninstall other Symantec products, so it will likely work.  The string here   {3C1AE512-3C37-44FA-BA42-ABB721EC5B1D} needs to be the correct install string for SEPM.  Have you checked this, or did it come from the same blog?

Other things to note:  Before using this method on Symantec AV Corporate client, I had to roll out 2 registry settings to change and then disable the uninstall password.  Otherwise the psexec command would hang up half way through, with no way of providing the install password.



I used the quotes just as you mentioned still no go. The string is from the client.
psexec.exe \\IPaddress -u domain\admin -p password "msiexec -x {3C1AE512-3C37-44FA-BA42-ABB721EC5B1D}"

The error message I get is: PsExec could not start msiexec -x {3C1AE512-3C37-44FA-BA42-ABB721EC5B1D} on the system cannot find the file specified.

So I figure it's not using an msi file?

Also, do you have or know of a script to uninstall\disable the password since we do have it on clients.

Unbelieveable how Symantec cant just have an uninstall remote utility within SEPM.
Get an unlimited membership to EE for less than $4 a week.
Unlimited question asking, solutions, articles and more.


The problem is that I'm not even getting to the poin twhere it asks for a password. Apparantly PsExec.exe cannot find the file or whatever it's looking for to uninstall the program.
Sudeep Sharma

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
See how we're fighting big data
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question