Scripting Question

Uninstall Bloomberg Office Tools

03/18/2020 1584 views

I need help to silently uninstall Bloomberg Office Tools. It has an uninstall shortcut:

"C:\blp\API\Office Tools\unwpxy.exe" "C:\ProgramData\{D741AF74-02F8-4918-AF66-1127ABDAFFDE}\UninstallOT.exe" MODIFY=FALSE REMOVE=TRUE


I have tried to run it through 2 separate files

"C:\blp\API\Office Tools\unwpxy.exe" and

"C:\ProgramData\{D741AF74-02F8-4918-AF66-1127ABDAFFDE}\UninstallOT.exe"  with several different combinations of parameters. 

I have tried: Execute-Process -Path '"C:\blp\API\Office Tools\unwpxy.exe" "$envProgramData\{D741AF74-02F8-4918-AF66-1127ABDAFFDE}\UninstallOT.exe"' -Parameters "MODIFY=FALSE REMOVE=TRUE"

I even tried to run "C:\ProgramData\{D741AF74-02F8-4918-AF66-1127ABDAFFDE}\UninstallOT.exe" as a parameter :)


I dont have a problem with uninstall of Bloomberg terminal because its uninstall shortcut point only to one file. I uninstall it like this:

Execute-Process -Path "$envProgramData\{6D1CADCF-370D-4D81-9C6D-2AB09C08F34D}\sotrt.exe" -Parameters "REMOVE=TRUE /s"


0 Comments   [ + ] Show comments


All Answers


I don't know the Kace stuff at all but I'd guess that it's passing the parameters to the first EXE. Build a CMD and run that instead.

Answered 03/19/2020 by: anonymous_9363
Red Belt


$ParamaterU = "$envProgramData\{D741AF74-02F8-4918-AF66-1127ABDAFFDE}\UninstallOT.exe MODIFY=FALSE REMOVE=TRUE"

Execute-Process -Path "$envSystemDrive\blp\API\Office Tools\unwpxy.exe" -Parameters $ParamaterU

Avoid using hardcode values in script .

Difference between ' and " using in command line.

Answered 03/19/2020 by: rock_star
4th Degree Black Belt

  • Thanks man!
    It works.
    I used this code for silent uninstall:
    $ParamaterU = "$envProgramData\{D741AF74-02F8-4918-AF66-1127ABDAFFDE}\UninstallOT.exe MODIFY=FALSE REMOVE=TRUE"
    Execute-Process -Path "$envSystemDrive\blp\API\Office Tools\unwpxy.exe" -Parameters "$ParamaterU /s"
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ