Commit 9f6cbdd0 authored by Christof Schulze's avatar Christof Schulze 😎
Browse files

disable WIFI tracking,

some fixes
parent b658b4fa
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
# enable pings from other institute clients

$inst_networks = "131.188.220.192/26,192.168.220.128/25,10.188.220.0/25"

# can be done bye wf.msc
New-NetFirewallRule -DisplayName "Allow inbound ICMPv4" -Group "WW8" -Profile Private,Domain -Direction Inbound -Protocol ICMPv4 -IcmpType 8 -RemoteAddress 131.188.220.192/26,192.168.220.128/25,10.188.220.0/25 -Action Allow
New-NetFirewallRule -DisplayName "Allow inbound ICMPv4" -Group "WW8" -Profile Private,Domain -Direction Inbound -Protocol ICMPv4 -IcmpType 8 -RemoteAddress $inst_networks -Action Allow


#New-NetFirewallRule -DisplayName "Allow inbound ICMPv6" -Direction Inbound -Protocol ICMPv6 -IcmpType 8 -RemoteAddress <local subnet> -Action Allow
+4 −0
Original line number Diff line number Diff line
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WcmSvc\wifinetworkmanager\config]
"AutoConnectAllowedOEM"=dword:00000000
+1 −1
Original line number Diff line number Diff line
@@ -4,7 +4,7 @@

[Console]::OutputEncoding = [Text.UTF8Encoding]::UTF8
if (([Security.Principal.WindowsPrincipal][Security.Principal.WindowsIdentity]::GetCurrent()).IsInRole([Security.Principal.WindowsBuiltInRole]::Administrator))

{

  $policy_file = ".\policies.json"

+1 −1
Original line number Diff line number Diff line
@@ -4,7 +4,7 @@
#
[Console]::OutputEncoding = [Text.UTF8Encoding]::UTF8
if (([Security.Principal.WindowsPrincipal][Security.Principal.WindowsIdentity]::GetCurrent()).IsInRole([Security.Principal.WindowsBuiltInRole]::Administrator))

{
  # Bypass Powershell certificate validation, so that we can download any untrusted certificate.
  [Net.ServicePointManager]::ServerCertificateValidationCallback = {$true}