From bb13978b016205c7e8a599640e42031cbbdda64d Mon Sep 17 00:00:00 2001 From: Heikki Halmet Date: Mon, 16 Mar 2020 11:31:24 +0200 Subject: Provisioning: Disable Connected User Experiences and Telemetry service MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Task-number: QTQAINFRA-3609 Change-Id: Ie4df9a3b47cf9adcfc0afa1eaf75386e9452fd42 Reviewed-by: Tony Sarajärvi --- .../qtci-windows-10-x86/01-disable-windows-telemetry.ps1 | 7 +++++++ .../qtci-windows-10-x86_64/01-disable-windows-telemetry.ps1 | 7 +++++++ 2 files changed, 14 insertions(+) create mode 100644 coin/provisioning/qtci-windows-10-x86/01-disable-windows-telemetry.ps1 create mode 100644 coin/provisioning/qtci-windows-10-x86_64/01-disable-windows-telemetry.ps1 diff --git a/coin/provisioning/qtci-windows-10-x86/01-disable-windows-telemetry.ps1 b/coin/provisioning/qtci-windows-10-x86/01-disable-windows-telemetry.ps1 new file mode 100644 index 00000000..3f5a75f4 --- /dev/null +++ b/coin/provisioning/qtci-windows-10-x86/01-disable-windows-telemetry.ps1 @@ -0,0 +1,7 @@ +# Disable Connected User Experiences and Telemetry service +# The Connected User Experiences and Telemetry service enables features that support in-application and connected user experiences. +# Additionally, this service manages the event driven collection and transmission of diagnostic and usage information +# (used to improve the experience and quality of the Windows Platform) when the diagnostics and usage privacy option settings are enabled under Feedback and Diagnostics. +reg.exe ADD "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Data Collection" /V AllowTelemetry /T REG_dWORD /D 0 /F +stop-service diagtrack +set-service diagtrack -startuptype disabled diff --git a/coin/provisioning/qtci-windows-10-x86_64/01-disable-windows-telemetry.ps1 b/coin/provisioning/qtci-windows-10-x86_64/01-disable-windows-telemetry.ps1 new file mode 100644 index 00000000..3f5a75f4 --- /dev/null +++ b/coin/provisioning/qtci-windows-10-x86_64/01-disable-windows-telemetry.ps1 @@ -0,0 +1,7 @@ +# Disable Connected User Experiences and Telemetry service +# The Connected User Experiences and Telemetry service enables features that support in-application and connected user experiences. +# Additionally, this service manages the event driven collection and transmission of diagnostic and usage information +# (used to improve the experience and quality of the Windows Platform) when the diagnostics and usage privacy option settings are enabled under Feedback and Diagnostics. +reg.exe ADD "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Data Collection" /V AllowTelemetry /T REG_dWORD /D 0 /F +stop-service diagtrack +set-service diagtrack -startuptype disabled -- cgit v1.2.3