Created
September 9, 2021 15:27
-
-
Save Flashwalker/294d0df7649ffe11a2fa6f71062a9c7e to your computer and use it in GitHub Desktop.
Block WPS Office internet connections
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
:: Replace all 11.2.0.9967 with yours installed version | |
netsh advfirewall firewall add rule name="WPS Office" dir=in action=block program="C:\Program Files\WPS Office\11.2.0.9967\utility\config.exe" enable=yes | |
netsh advfirewall firewall add rule name="WPS Office" dir=in action=block program="C:\Program Files\WPS Office\11.2.0.9967\office6\mui\default\resource\ksee\EqnEdit.exe" enable=yes | |
netsh advfirewall firewall add rule name="WPS Office" dir=in action=block program="C:\Program Files\WPS Office\11.2.0.9967\office6\et.exe" enable=yes | |
netsh advfirewall firewall add rule name="WPS Office" dir=in action=block program="C:\Program Files\WPS Office\11.2.0.9967\office6\kcrashdumper.exe" enable=yes | |
netsh advfirewall firewall add rule name="WPS Office" dir=in action=block program="C:\Program Files\WPS Office\11.2.0.9967\office6\kcrashdumper64.exe" enable=yes | |
netsh advfirewall firewall add rule name="WPS Office" dir=in action=block program="C:\Program Files\WPS Office\11.2.0.9967\office6\ksolaunch.exe" enable=yes | |
netsh advfirewall firewall add rule name="WPS Office" dir=in action=block program="C:\Program Files\WPS Office\ksolaunch.exe" enable=yes | |
netsh advfirewall firewall add rule name="WPS Office" dir=in action=block program="C:\Program Files\WPS Office\11.2.0.9967\office6\ksomisc.exe" enable=yes | |
netsh advfirewall firewall add rule name="WPS Office" dir=in action=block program="C:\Program Files\WPS Office\11.2.0.9967\office6\KSOXMLED.exe" enable=yes | |
netsh advfirewall firewall add rule name="WPS Office" dir=in action=block program="C:\Program Files\WPS Office\11.2.0.9967\office6\promecefpluginhost.exe" enable=yes | |
netsh advfirewall firewall add rule name="WPS Office" dir=in action=block program="C:\Program Files\WPS Office\11.2.0.9967\office6\transerr.exe" enable=yes | |
netsh advfirewall firewall add rule name="WPS Office" dir=in action=block program="C:\Program Files\WPS Office\11.2.0.9967\utility\uninst.exe" enable=yes | |
netsh advfirewall firewall add rule name="WPS Office" dir=in action=block program="C:\Program Files\WPS Office\11.2.0.9967\wtoolex\updateself.exe" enable=yes | |
netsh advfirewall firewall add rule name="WPS Office" dir=in action=block program="C:\Program Files\WPS Office\11.2.0.9967\office6\wpp.exe" enable=yes | |
netsh advfirewall firewall add rule name="WPS Office" dir=in action=block program="C:\Program Files\WPS Office\11.2.0.9967\office6\wps.exe" enable=yes | |
netsh advfirewall firewall add rule name="WPS Office" dir=in action=block program="C:\Program Files\WPS Office\11.2.0.9967\office6\wpscenter.exe" enable=yes | |
netsh advfirewall firewall add rule name="WPS Office" dir=in action=block program="C:\Program Files\WPS Office\11.2.0.9967\office6\wpscloudlaunch.exe" enable=yes | |
netsh advfirewall firewall add rule name="WPS Office" dir=in action=block program="C:\Program Files\WPS Office\11.2.0.9967\office6\wpscloudsvr.exe" enable=yes | |
netsh advfirewall firewall add rule name="WPS Office" dir=in action=block program="C:\Program Files\WPS Office\wpscloudsvr.exe" enable=yes | |
netsh advfirewall firewall add rule name="WPS Office" dir=in action=block program="C:\Program Files\WPS Office\11.2.0.9967\office6\wpsoffice.exe" enable=yes | |
netsh advfirewall firewall add rule name="WPS Office" dir=in action=block program="C:\Program Files\WPS Office\11.2.0.9967\office6"\wpspdf.exe enable=yes | |
netsh advfirewall firewall add rule name="WPS Office" dir=in action=block program="C:\Program Files\WPS Office\11.2.0.9967\office6\wpsupdate.exe" enable=yes | |
netsh advfirewall firewall add rule name="WPS Office" dir=out action=block program="C:\Program Files\WPS Office\11.2.0.9967\utility\config.exe" enable=yes | |
netsh advfirewall firewall add rule name="WPS Office" dir=out action=block program="C:\Program Files\WPS Office\11.2.0.9967\office6\mui\default\resource\ksee\EqnEdit.exe" enable=yes | |
netsh advfirewall firewall add rule name="WPS Office" dir=out action=block program="C:\Program Files\WPS Office\11.2.0.9967\office6\et.exe" enable=yes | |
netsh advfirewall firewall add rule name="WPS Office" dir=out action=block program="C:\Program Files\WPS Office\11.2.0.9967\office6\kcrashdumper.exe" enable=yes | |
netsh advfirewall firewall add rule name="WPS Office" dir=out action=block program="C:\Program Files\WPS Office\11.2.0.9967\office6\kcrashdumper64.exe" enable=yes | |
netsh advfirewall firewall add rule name="WPS Office" dir=out action=block program="C:\Program Files\WPS Office\11.2.0.9967\office6\ksolaunch.exe" enable=yes | |
netsh advfirewall firewall add rule name="WPS Office" dir=out action=block program="C:\Program Files\WPS Office\ksolaunch.exe" enable=yes | |
netsh advfirewall firewall add rule name="WPS Office" dir=out action=block program="C:\Program Files\WPS Office\11.2.0.9967\office6\ksomisc.exe" enable=yes | |
netsh advfirewall firewall add rule name="WPS Office" dir=out action=block program="C:\Program Files\WPS Office\11.2.0.9967\office6\KSOXMLED.exe" enable=yes | |
netsh advfirewall firewall add rule name="WPS Office" dir=out action=block program="C:\Program Files\WPS Office\11.2.0.9967\office6\promecefpluginhost.exe" enable=yes | |
netsh advfirewall firewall add rule name="WPS Office" dir=out action=block program="C:\Program Files\WPS Office\11.2.0.9967\office6\transerr.exe" enable=yes | |
netsh advfirewall firewall add rule name="WPS Office" dir=out action=block program="C:\Program Files\WPS Office\11.2.0.9967\utility\uninst.exe" enable=yes | |
netsh advfirewall firewall add rule name="WPS Office" dir=out action=block program="C:\Program Files\WPS Office\11.2.0.9967\wtoolex\updateself.exe" enable=yes | |
netsh advfirewall firewall add rule name="WPS Office" dir=out action=block program="C:\Program Files\WPS Office\11.2.0.9967\office6\wpp.exe" enable=yes | |
netsh advfirewall firewall add rule name="WPS Office" dir=out action=block program="C:\Program Files\WPS Office\11.2.0.9967\office6\wps.exe" enable=yes | |
netsh advfirewall firewall add rule name="WPS Office" dir=out action=block program="C:\Program Files\WPS Office\11.2.0.9967\office6\wpscenter.exe" enable=yes | |
netsh advfirewall firewall add rule name="WPS Office" dir=out action=block program="C:\Program Files\WPS Office\11.2.0.9967\office6\wpscloudlaunch.exe" enable=yes | |
netsh advfirewall firewall add rule name="WPS Office" dir=out action=block program="C:\Program Files\WPS Office\11.2.0.9967\office6\wpscloudsvr.exe" enable=yes | |
netsh advfirewall firewall add rule name="WPS Office" dir=out action=block program="C:\Program Files\WPS Office\wpscloudsvr.exe" enable=yes | |
netsh advfirewall firewall add rule name="WPS Office" dir=out action=block program="C:\Program Files\WPS Office\11.2.0.9967\office6\wpsoffice.exe" enable=yes | |
netsh advfirewall firewall add rule name="WPS Office" dir=out action=block program="C:\Program Files\WPS Office\11.2.0.9967\office6"\wpspdf.exe enable=yes | |
netsh advfirewall firewall add rule name="WPS Office" dir=out action=block program="C:\Program Files\WPS Office\11.2.0.9967\office6\wpsupdate.exe" enable=yes |
Version agnostic PowerShell for the same:
cool
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Version agnostic PowerShell for the same:
ls -r "C:\Users\$($ENV:UserName)\AppData\Local\Kingsoft\WPS Office" -file -filter *.exe | select -expandproperty fullname | % { iex "netsh advfirewall firewall add rule name=`"WPS Office`" dir=in action=block program=`"$_`" enable=yes" }