Skip to content

Commit e5acd62

Browse files
authored
Update Sophia.psm1
Enable firewall rule to block DiagTrack. #499
1 parent 1ec329d commit e5acd62

File tree

1 file changed

+1
-1
lines changed
  • src/Sophia_Script_for_Windows_10_LTSC_2019/Module

1 file changed

+1
-1
lines changed

src/Sophia_Script_for_Windows_10_LTSC_2019/Module/Sophia.psm1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -957,7 +957,7 @@ function DiagTrackService
957957
Get-Service -Name DiagTrack | Set-Service -StartupType Disabled
958958

959959
# Block connection for the Unified Telemetry Client Outbound Traffic
960-
Get-NetFirewallRule -Group DiagTrack | Set-NetFirewallRule -Enabled False -Action Block
960+
Get-NetFirewallRule -Group DiagTrack | Set-NetFirewallRule -Enabled True -Action Block
961961
}
962962
"Enable"
963963
{

0 commit comments

Comments
 (0)