M BUZZ CRAZE NEWS
// general

Having trouble uninstalling software with msiexec quietly

By David Jones

I want to use msiexec to uninstall some programs without going through confimation boxes.

the problem is when I use this command

msiexec.exe /x "{product id}" /quiet

then nothing happens and the program does not uninstall.

when I use

msiexec.exe /x "{product id}" /passive

I see the progress bar appears and disappears quickly but the program does not actually uninstall.

2

1 Answer

Are you trying to do this locally only or remotely?

Unless you are doing this in the power shell consolehost, you really should not need the quotes.

Yet, I'd use this command as a try as well...

msiexec /qn /x '{ProductId}'

If you are doing this in one of the editors, then you need to sue the Start-Process cmdlet.

If it is remote, see this discussion.

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy