Privacy and Security Enable or Disable Diagnostic Data Viewer in Windows 11


  • Staff
DiagnosticDataViewer_banner.png

Microsoft uses diagnostic data to keep Windows secure and up to date, troubleshoot problems, and make product improvements as described in more detail below. Regardless of whether you choose to send Optional diagnostic data, your device will be just as secure and will operate normally. This data is transmitted to Microsoft and stored with one or more unique identifiers that can help us recognize an individual user on an individual device and understand the device's service issues and use patterns.

The Diagnostic Data Viewer app lets you review the Windows diagnostic data your device is sending to Microsoft, grouping the info into simple categories based on how it's used by Microsoft.

You must download and install the Diagnostic Data Viewer app before you can use it to review your device's diagnostic data.

Before you can use this tool for viewing Windows diagnostic data, you must turn on data viewing.

See also:

This tutorial will show you how to enable or disable Diagnostic Data Viewer for all users in Windows 11.


You must be signed in as an administrator to turn on/off or enable/disable Diagnostic Data Viewer.




Contents

  • Option One: Turn On or Off Diagnostic Data Viewer in Settings
  • Option Two: Turn On or Off Diagnostic Data Viewer using REG file
  • Option Three: Enable or Disable Diagnostic Data Viewer in Local Group Policy Editor
  • Option Four: Enable or Disable Diagnostic Data Viewer using REG file


EXAMPLE: Diagnostic Data Viewer turned on and off

Diagnostic_Data_Viewer-ON.png
Diagnostic_Data_Viewer-OFF.png





Option One

Turn On or Off Diagnostic Data Viewer in Settings


1 Open Settings (Win+I).

2 Click/tap on Privacy & security on the left side, and click/tap on Diagnostics & feedback on the right side. (see screenshot below)


Diagnostic_Data_Viewer_Settings-1.png

3 Click/tap on View diagnostic data to expand it open. (see screenshot below step 4)

4 Turn On or Off (default) Turn on Diagnostic Data Viewer for what you want. (see screenshots below)

Diagnostic_Data_Viewer_Settings-2.png
Diagnostic_Data_Viewer_Settings-3.png

5 You can now close Settings if you like.




Option Two

Turn On or Off Diagnostic Data Viewer using REG file


1 Do step 2 (on) or step 3 (off) below for what you want.

2 Turn On Diagnostic Data Viewer

A) Click/tap on the Download button below to download the file below, and go to step 4 below.​

Turn_on_Diagnostic_Data_Viewer.reg


(Contents of REG file for reference)
Code:
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Diagnostics\DiagTrack\EventTranscriptKey]
"EnableEventTranscript"=dword:00000001

3 Turn Off Diagnostic Data Viewer

A) Click/tap on the Download button below to download the file below, and go to step 4 below.​

Turn_off_Diagnostic_Data_Viewer.reg


(Contents of REG file for reference)
Code:
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Diagnostics\DiagTrack\EventTranscriptKey]
"EnableEventTranscript"=dword:00000000

4 Save the REG file to your desktop.

5 Double click/tap on the downloaded REG file to merge it.

6 When prompted, click/tap on Run, Yes (UAC), Yes, and OK to approve the merge.

7 You can now delete the downloaded REG file if you like.




Option Three

Enable or Disable Diagnostic Data Viewer in Local Group Policy Editor


The Local Group Policy Editor is only available in the Windows 11 Pro, Enterprise, and Education editions.

All editions can use Option Four to configure the same policy.


1 Open the Local Group Policy Editor (gpedit.msc).

2 Navigate to the policy location below in the left pane of the Local Group Policy Editor. (see screenshot below)

Computer Configuration > Administrative Templates > Windows Components > Data Collection and Preview Builds

Diagnostic_Data_Viewer_gpedit-1.png

3 In the right pane of Data Collection and Preview Builds in the Local Group Policy Editor, double click/tap on the Disable diagnostic data viewer policy to edit it. (see screenshot above)

4 Do step 5 (enable) or step 6 (disable) below for what you want.

5 Enable Diagnostic Data Viewer

This is the default setting to allow using Option One and Option Two.


A) Select (dot) Not Configured. (see screenshot below)​

B) Click/tap on OK, and go to step 7 below.​

Diagnostic_Data_Viewer_gpedit-2.png

6 Disable Diagnostic Data Viewer

This will override and prevent using Option One and Option Two.


A) Turn off Diagnostic Data Viewer using Option One or Option Two first.​

If you do not turn off Diagnostic Data Viewer first, users will still be able to view diagnostic data in the Diagnostic Data Viewer app.


B) Select (dot) Enabled. (see screenshot below)​

C) Click/tap on OK, and go to step 7 below.​

Diagnostic_Data_Viewer_gpedit-3.png

7 You can now close the Local Group Policy Editor if you like.




Option Four

Enable or Disable Diagnostic Data Viewer using REG file


1 Do step 2 (enable) or step 3 (disable) below for what you want.


 2. Enable Diagnostic Data Viewer

This is the default setting to allow using Option One and Option Two.


A) Click/tap on the Download button below to download the file below, and go to step 4 below.​

Enable_Diagnostic_Data_Viewer.reg


(Contents of REG file for reference)
Code:
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\DataCollection]
"DisableDiagnosticDataViewer"=-


 3. Disable Diagnostic Data Viewer

This will override and prevent using Option One and Option Two.


A) Click/tap on the Download button below to download the file below, and go to step 4 below.​

Disable_Diagnostic_Data_Viewer.reg


(Contents of REG file for reference)
Code:
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Diagnostics\DiagTrack\EventTranscriptKey]
"EnableEventTranscript"=dword:00000000

[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\DataCollection]
"DisableDiagnosticDataViewer"=dword:00000001

4 Save the REG file to your desktop.

5 Double click/tap on the downloaded REG file to merge it.

6 When prompted, click/tap on Run, Yes (UAC), Yes, and OK to approve the merge.

7 You can now delete the downloaded REG file if you like.


That's it,
Shawn Brink


 

Attachments

  • DiagnosticDataViewer.png
    DiagnosticDataViewer.png
    1.9 KB · Views: 20
  • Turn_off_Diagnostic_Data_Viewer.reg
    700 bytes · Views: 43
  • Turn_on_Diagnostic_Data_Viewer.reg
    704 bytes · Views: 39
  • Disable_Diagnostic_Data_Viewer.reg
    938 bytes · Views: 43
  • Enable_Diagnostic_Data_Viewer.reg
    618 bytes · Views: 26
Last edited:
Top Bottom