How can I turn off Telemetry?

Андрей Михалевский 2,581 Reputation points
2021-07-01T14:06:00.027+00:00

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
Windows Server 2019
A Microsoft server operating system that supports enterprise-level management updated to data storage.
3,444 questions
{count} votes

Accepted answer
  1. Sunny Qi 10,896 Reputation points Microsoft Vendor
    2021-07-02T02:47:55.74+00:00

    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.

    7 people found this answer helpful.

3 additional answers

Sort by: Most helpful
  1. Maciej Nux 21 Reputation points
    2022-09-20T14:48:18.75+00:00

    There were some bugs in the commands. This is a fixed and shortend version.

    Step 1. Disable schedule for Windows Compatibility Telemetry.

    WCT is a service which contains technical data on how the device and its related software are working. To disable it:

    1. Click Start, type Task Scheduler, and then press Enter.
    2. On the Task Scheduler window, go to this path: Task Scheduler Library\Microsoft\Windows\Application Experience.
    3. On the Application Experience folder, look for Microsoft Compatibility Appraiser.
    4. Right-click on it, select Disable, and then confirm to complete the process.

    243042-obraz.png

    Step.2. Disable Microsoft's Diagnostic Tracking.

    Next, please run the following command in an elevated cmd (*).

    This will remove tracking services:

    sc delete DiagTrack  
    sc delete dmwappushservice  
    

    Note that I don't know what is this logger for, but as was noted above this seems to be a keylogger log file for the diagnostics service. This command replaces it with empty text to delete the logged data:

    echo. > c:\ProgramData\Microsoft\Diagnosis\ETLLogs\Autologger\AutoLogger-Diagtrack-Listener.etl  
    

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

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

    (*) Note, to run elevated cmd:

    1. Press Windows key and type cmd. This should find the Command line program. Note that searching by "cmd" works in any language version of Windows.
    2. There should be an option to Run as administrator. Use it.
    4 people found this answer helpful.

  2. Ben Drendan 6 Reputation points
    2022-07-27T13:54:27.22+00:00

    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

    1 person found this answer helpful.
    0 comments No comments

  3. Brian Comstock 1 Reputation point
    2022-06-26T06:41:44.633+00:00

    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.