farag2
6 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
2 additions and
2 deletions
-
Win 10.ps1
|
|
@ -11,8 +11,8 @@ Foreach ($service in $services) |
|
|
|
Get-Service -ServiceName $service | Set-Service -StartupType Disabled |
|
|
|
} |
|
|
|
# Отключить телеметрию и сбор данных для отправки |
|
|
|
Set-AutologgerConfig -Name "AutoLogger-Diagtrack-Listener" -Start 0 |
|
|
|
Set-AutologgerConfig -Name "SQMLogger" -Start 0 |
|
|
|
Update-AutologgerConfig -Name AutoLogger-Diagtrack-Listener -Start 0 |
|
|
|
Update-AutologgerConfig -Name SQMLogger -Start 0 |
|
|
|
New-ItemProperty -Path HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\DataCollection -Name AllowTelemetry -Value 1 -Force |
|
|
|
New-ItemProperty -Path HKLM:\SOFTWARE\Policies\Microsoft\Windows\DataCollection -Name AllowTelemetry -Value 1 -Force |
|
|
|
New-ItemProperty -Path HKLM:\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Policies\DataCollection -Name AllowTelemetry -Value 1 -Force |
|
|
|