/build/static/layout/Breadcrumb_cap_w.png

Uninstall Bloomberg Office Tools

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

Answers (2)

Posted by: anonymous_9363 10 months ago
Red Belt
1

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.

Posted by: rock_star 10 months ago
4th Degree Black Belt
1

$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.





Comments:
  • 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" - bananaman 10 months ago
 
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