Skip to content

Instantly share code, notes, and snippets.

@Flashwalker
Created September 9, 2021 15:27
Show Gist options
  • Save Flashwalker/294d0df7649ffe11a2fa6f71062a9c7e to your computer and use it in GitHub Desktop.
Save Flashwalker/294d0df7649ffe11a2fa6f71062a9c7e to your computer and use it in GitHub Desktop.
Block WPS Office internet connections
:: 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment