Browse Source

Merge pull request #500 from savchenko/fix-unified-telemetry-firewall

Update Sophia.psm1
pull/514/head
Dmitry Nefedov 2 years ago
committed by GitHub
parent
commit
aa233d9460
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      src/Sophia_Script_for_Windows_10_LTSC_2019/Module/Sophia.psm1

2
src/Sophia_Script_for_Windows_10_LTSC_2019/Module/Sophia.psm1

@ -957,7 +957,7 @@ function DiagTrackService
Get-Service -Name DiagTrack | Set-Service -StartupType Disabled Get-Service -Name DiagTrack | Set-Service -StartupType Disabled
# Block connection for the Unified Telemetry Client Outbound Traffic # Block connection for the Unified Telemetry Client Outbound Traffic
Get-NetFirewallRule -Group DiagTrack | Set-NetFirewallRule -Enabled False -Action Block Get-NetFirewallRule -Group DiagTrack | Set-NetFirewallRule -Enabled True -Action Block
} }
"Enable" "Enable"
{ {

Loading…
Cancel
Save