Privacy and Security Enable or Disable App Diagnostics Access in Windows 11

  • Thread starter Thread starter Brink
  • Start date Published: Start date Updated Updated:

diagnostics_banner.webp

This tutorial will show you how to enable or disable letting apps access diagnostic info about other apps for your account or all users in Windows 11.

Apps in Windows are carefully isolated so that they don’t interfere with each other. However, there are scenarios where it’s useful for one app to see certain types of information about other running apps (for example, it’s useful for diagnostic tools to be able to get a list of running apps). This is especially useful during app development, or for apps like Task Manager that report simple information about running apps. Some people worry about an app getting information about any other apps, but the settings in Windows always give you control over which apps can get this kind of information about other running apps.

Only certain, very specific pieces of information are made available in app diagnostics, specifically:
  • The name of each running app.
  • The package name of each running app.
  • The user name under whose account the app is running.
  • Memory usage of the app, and other process-level information typically used during development.
Reference:

This only applies to apps from the Microsoft Store.

Desktop apps aren’t affected by the setting that lets apps access diagnostic info about your other apps. To allow or block desktop apps, use the settings in those applications.



Contents

  • Option One: Turn On or Off App Diagnostics Access for All Users in Settings
  • Option Two: Turn On or Off App Diagnostics Access for Current User in Settings
  • Option Three: Enable or Disable App Diagnostics Access for All Users in Local Group Policy Editor
  • Option Four: Enable or Disable App Diagnostics Access for All Users using REG file




Option One

Turn On or Off App Diagnostics Access for All Users in Settings


You must be signed in as an administrator to have this option available.


1 Open Settings (Win+I).

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


App_diagnostics-1.webp

3 Turn On (default) or Off App diagnostic access for what you want. (see screenshot below)

Turning off App diagnostic access will gray out and turn off Let apps access diagnostic info about your apps for all users.


App_diagnostics-2.webp

4 You can now close Settings if you like.




Option Two

Turn On or Off App Diagnostics Access for Current User in Settings


1 Open Settings (Win+I).

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


App_diagnostics-1.webp

3 Turn On (default) or Off Let apps access diagnostic info about your apps for what you want. (see screenshot below)

It is required to have App diagnostic access turned on to change the Let apps access diagnostic info about your apps setting.


App_diagnostics-3.webp

4 You can now close Settings if you like.




Option Three

Enable or Disable App Diagnostics Access for All Users in Local Group Policy Editor


You must be signed in as an administrator to use this option.

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 > App Privacy

App_diagnostics_gpedit-1.webp

3 In the right pane of App Privacy in the Local Group Policy Editor, double click/tap on the Let Windows apps access diagnostic information about other apps policy to edit it. (see screenshot above)

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

5 Force Enable App Diagnostics Access for All Users

This will prevent using Option One and Option Two.


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

B) Under "Options", select Force Allow in the "Default for all apps" drop menu.​

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

App_diagnostics_gpedit-3.webp

6 Disable App Diagnostics Access for All Users

This will prevent using Option One and Option Two.


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

B) Under "Options", select Force Deny in the "Default for all apps" drop menu.​

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

App_diagnostics_gpedit-4.webp

7 Default User-Choice App Diagnostics Access

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


A) Select (dot) Not Configured, click/tap on OK, and go to step 8 below. (see screenshot below)​

App_diagnostics_gpedit-2.webp

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




Option Four

Enable or Disable App Diagnostics Access for All Users using REG file


You must be signed in as an administrator to use this option.


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


 2. Force Enable App Diagnostics Access for All Users

This will prevent using Option One and Option Two.


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

Force_enable_app_diagnostics_access_for_all_users.reg


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

[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\AppPrivacy]
"LetAppsGetDiagnosticInfo"=dword:00000001


 3. Disable App Diagnostics Access for All Users

This will prevent using Option One and Option Two.


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

Disable_app_diagnostics_access_for_all_users.reg


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

[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\AppPrivacy]
"LetAppsGetDiagnosticInfo"=dword:00000002


 4. Default User-Choice App Diagnostics Access

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 5 below.​

Default_user-choice_app_diagnostics_access.reg


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

[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\AppPrivacy]
"LetAppsGetDiagnosticInfo"=dword:-
"LetAppsGetDiagnosticInfo_UserInControlOfTheseApps"=-
"LetAppsGetDiagnosticInfo_ForceAllowTheseApps"=-
"LetAppsGetDiagnosticInfo_ForceDenyTheseApps"=-

5 Save the .reg file to your desktop.

6 Double click/tap on the downloaded .reg file to merge it.

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

8 You can now delete the downloaded .reg file if you like.


That's it,
Shawn Brink
 

Attachments

Last edited:
Hi, I think the title for "3. Disable Location Services" is wrong, shouldn't it be "3. Force Disable App Diagnostics Access for All Users"? Regards.
 

My Computer

System One

  • OS
    Windows 11
    Computer type
    Laptop
    Manufacturer/Model
    Lenovo
Hi, I think the title for "3. Disable Location Services" is wrong, shouldn't it be "3. Force Disable App Diagnostics Access for All Users"? Regards.

Hello, :alien:

Thank you. Now corrected.
 

My Computers

System One System Two

  • OS
    Windows 11 Pro for Workstations
    Computer type
    PC/Desktop
    Manufacturer/Model
    Custom self build
    CPU
    Intel i7-8700K 5 GHz
    Motherboard
    ASUS ROG Maximus XI Formula Z390
    Memory
    64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600 MHz (F4-3600C18D-32GTZR)
    Graphics Card(s)
    ASUS ROG-STRIX-GTX1080TI-O11G-GAMING (11GB GDDR5X)
    Sound Card
    Integrated Digital Audio (S/PDIF)
    Monitor(s) Displays
    2 x Samsung Odyssey G75 27"
    Screen Resolution
    2560x1440
    Hard Drives
    1TB Samsung 990 PRO M.2,
    4TB Samsung 990 PRO M.2,
    8TB WD MyCloudEX2Ultra NAS
    PSU
    Seasonic Prime Titanium 850W
    Case
    Thermaltake Core P3 wall mounted
    Cooling
    Corsair Hydro H115i
    Keyboard
    Logitech wireless K800
    Mouse
    Logitech MX Master 3
    Internet Speed
    1 Gbps Download and 35 Mbps Upload
    Browser
    Google Chrome
    Antivirus
    Microsoft Defender and Malwarebytes Premium
    Other Info
    Logitech Z625 speaker system,
    Logitech BRIO 4K Pro webcam,
    HP Color LaserJet Pro MFP M477fdn,
    CyberPower CP1500PFCLCD
    Galaxy S23 Plus phone
  • Operating System
    Windows 11 Pro
    Computer type
    Laptop
    Manufacturer/Model
    Surface Laptop 7 Copilot+ PC
    CPU
    Snapdragon X Elite (12 core) 3.42 GHz
    Memory
    16 GB LPDDR5x-7467 MHz
    Monitor(s) Displays
    15" HDR
    Screen Resolution
    2496 x 1664
    Hard Drives
    1 TB SSD
    Internet Speed
    Wi-Fi 7 and Bluetooth 5.4
    Browser
    Chrome and Edge
    Antivirus
    Windows Defender
Back
Top Bottom