I tried to find a PowerShell script to uninstall application call watchguard on my laptop with the script but it’s not working even I try various PowerShell script that I found on the internet. Can someone share the complete script to remove a application without user interaction? Others app I run is working but not work on watchguard
Here is a very basic script we have used with success. YMMV
C:
CD \Program Files (x86)\WatchGuard\WatchGuard Mobile VPN with SSL
unins000.EXE /SP- /VERYSILENT /NORESTART
CD
RMDIR “Program Files (x86)\WatchGuard\WatchGuard Mobile VPN with SSL”
reg delete HKEY_CURRENT_USER\Software\WatchGuard\SSLVPNClient /f
pause
C:
CD \Program Files (x86)\WatchGuard\WatchGuard Mobile VPN with SSL\
unins000.EXE /SP- /VERYSILENT /NORESTART
CD\
RMDIR "Program Files (x86)\WatchGuard\WatchGuard Mobile VPN with SSL"
reg delete HKEY_CURRENT_USER\Software\WatchGuard\SSLVPNClient /f
pause
Thank you for helping out. I have try to run the PowerShell script below which write in a one line in PowerShell. However, I still got a pop for a confirmation if I want to run or execute. May I know if you have any Suggestions to run and uninstall it without a confirmation or user interaction?
Start-Process -FilePath 'C:\Program Files (x86)\WatchGuard\WatchGuard Mobile VPN with SSL\unins000.EXE ’ -ArgumentList “/SP-”, “/VERYSILENT” ,“/NORESTART” -Wait
Thx. Guess the paste from my phone didn’t work as expected.
I havent tested this, but the /VERYSILENT should be blocking the user confirmation. And adding -NoNewWindow after the -wait might hide it. But its been a while.
Thank you, now it’s working after change by adding
/supressbox
Cool. Thanks for sharing the tip.