|
@ -44,3 +44,9 @@ sp "HKLM:\SOFTWARE\Policies\Microsoft\Windows\Windows Search\" ConnectedSearchUs |
|
|
echo "Disabling telemetry via Group Policies" |
|
|
echo "Disabling telemetry via Group Policies" |
|
|
mkdir -Force "HKLM:\SOFTWARE\Policies\Microsoft\Windows\DataCollection" |
|
|
mkdir -Force "HKLM:\SOFTWARE\Policies\Microsoft\Windows\DataCollection" |
|
|
sp "HKLM:\SOFTWARE\Policies\Microsoft\Windows\DataCollection" "AllowTelemetry" 0 |
|
|
sp "HKLM:\SOFTWARE\Policies\Microsoft\Windows\DataCollection" "AllowTelemetry" 0 |
|
|
|
|
|
|
|
|
|
|
|
#echo "Disable AutoRun" |
|
|
|
|
|
#mkdir -Force "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer" |
|
|
|
|
|
#sp "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer" "NoDriveTypeAutoRun" 0xff |
|
|
|
|
|
#mkdir -Force "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer" |
|
|
|
|
|
#sp "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer" "NoDriveTypeAutoRun" 0xff |
|
|