question

47451047 avatar image
0 Votes"
47451047 asked BenDrendan-3172 answered

How can I turn off Telemetry?

How can I disable telemetry completely? And all related services and tasks in the scheduler?

From: https://stefanos.cloud/blog/kb/how-to-resolve-error-group-policy-client-service-failed-the-logon-access-denied-in-citrix-and-fslogix-environments/
Recommecned Stop and disable the “Connected User Experiences and Telemetry” Windows service, but i can't find him. (Windows server 2019)

windows-server-2019
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

SunnyQi-MSFT avatar image
2 Votes"
SunnyQi-MSFT answered

Hi,

Welcome to Q&A platform.

The Windows Compatibility Telemetry is a service in Windows Server 2019 which contains technical data on how the device and its related software is working. It periodically sends the data to Microsoft for future improvement of the system and to enhance the user experience. We would suggest you do not disable this service. If you really want to disable it, please try the following detailed steps to see if it was helpful:

Click Start, type Task Scheduler, and then press Enter.

On the TaskScheduler window, go to this path: Task Scheduler Library\Microsoft\Windows\Application Experience.

On the Application Experience folder, look for Microsoft Compatibility Appraiser.

111087-snipaste-2021-07-02-10-45-47.png

Right-click on it, select Disable, and then confirm to complete the process.

Next, please run the following command in an elevated command prompt:

sc delete DiagTrack
sc delete dmwappushservice
echo “” >
C:\\ProgramData\\Microsoft\\Diagnosis\\ETLLogs\\AutoLogger\\AutoLogger-Diagtrack-Listener.etl
reg add HKLM\SOFTWARE\Policies\Microsoft\Windows\DataCollection /v AllowTelemetry /t REG_DWORD /d 0 /f

Best Regards,
Sunny


If the Answer is helpful, please click "Accept Answer" and upvote it.

Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

BrianComstock-2797 avatar image
0 Votes"
BrianComstock-2797 answered EricDurbin-1766 commented

What does all this do and why isnt just disabling the option not enough?

sc delete DiagTrack
sc delete dmwappushservice
echo “” >
C:\\ProgramData\\Microsoft\\Diagnosis\\ETLLogs\\AutoLogger\\AutoLogger-Diagtrack-Listener.etl
reg add HKLM\SOFTWARE\Policies\Microsoft\Windows\DataCollection /v AllowTelemetry /t REG_DWORD /d 0 /f

Before I blindly trust the internet and mess with my registry, I sure would like to know what it is doing and why.

· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

 sc delete DiagTrack

This first line deletes the service "DiagTrack", which is one of Microsoft's Diagnostic Tracking application. Read more about it in this article: windows-10-automatic-spying-begins-again

I can't find a lot about the second service, but what I do find indicates it's another tracking service, but somehow related to mobile apps.

 echo “” > C:\\ProgramData\\Microsoft\\Diagnosis\\ETLLogs\\AutoLogger\\AutoLogger-Diagtrack-Listener.etl

This replaces the keylogger log file with empty text to delete the logged data.

 reg add HKLM\SOFTWARE\Policies\Microsoft\Windows\DataCollection /v AllowTelemetry /t REG_DWORD /d 0 /f

This adds a registry key titled "AllowTelemetry" and sets the key to 0, to disable the telemetry.

If you are unsure about what commands do, you can look up each line and chances are other people have the same question and someone has answered it already. In addition, it appears that the answerer is a Microsoft employee, so we can assume with some degree of confidence that there is not malicious intent with the commands given. Hope this helps!




0 Votes 0 ·
BenDrendan-3172 avatar image
0 Votes"
BenDrendan-3172 answered

Regedit should be entered at the Run prompt by simultaneously pressing the Windows key and R. Click OK. Click Yes when the User Account Control window appears.
Click HKEY LOCAL MACHINE > SOFTWARE > Policies > Microsoft > Windows > DataCollection to access it now. Right-click on DataCollection in this window and choose New > DWORD (32-bit value). Double-click this new value after giving it the name Allow Telemetry. Value data should be changed to 0 (zero), then OK.
Also 5 different methods how to disable Microsoft Compatibility Telemetry


5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.