Uninstalling a program silently - Is there a way to execute rundll32.exe silently via PowerShell?

2.8k Views Asked by At

I'm trying to uninstall a Mindspark program using PowerShell. I was able to see the uninstall string for the program is:

rundll32 "C:\Program Files (x86)\DailyHomeGuide_bg\bar\1.bin\bgBar.dll",O mindsparktoolbarkey="DailyHomeGuide_bg" uninstalltype=IE

Running the command above works, however it requires user interaction. When the command above is executed, it prompts the user "Are you sure you want to remove the program?" Is there a way to run the command silently?

I tried looking for a silent switch but no bueno.

0

There are 0 best solutions below