Browse Source
Merge pull request #500 from savchenko/fix-unified-telemetry-firewall
Update Sophia.psm1
pull/514/head
Dmitry Nefedov
1 year ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
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" |
|
|
{ |
|
|
{ |
|
|