Optional Diagnostic Data Registry Hack for Windows 11/10
Windows 11 and Windows 10 collect diagnostic information to help Microsoft understand how your computer is performing, identify errors, and improve the overall Windows experience. This information can include details about your device configuration, system performance, application compatibility, and Windows errors.
Microsoft provides two types of diagnostic data: Required diagnostic data and Optional diagnostic data. Required diagnostic data is collected to help keep Windows secure, updated, and working properly. Optional diagnostic data provides additional information, such as how you use certain features, application activity, and more detailed information about your device.
Sometimes, you may notice that the Optional diagnostic data setting is grayed out, unavailable, or cannot be changed through Windows Settings. This can happen because of administrator policies, registry configurations, or settings managed by your organization.
Fortunately, you can use a simple Windows Registry hack to configure the diagnostic data setting manually.
However, before making any changes, remember that editing the registry incorrectly can cause Windows problems.
Follow the instructions carefully and create a backup before proceeding.
Optional Diagnostic Data Registry Hack for Windows 11/10

To enable Optional diagnostic data in Windows 11/10 using the Registry Editor, open Registry Editor, navigate to HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\DataCollection, and create or modify a DWORD (32-bit) value named AllowTelemetry. Set its value to 3, click OK, and restart your computer. Then open Diagnostics & feedback in Windows Settings to check the configuration.
1: Create a Registry Backup
Before modifying anything, create a backup of your Windows Registry. This is important because an incorrect registry change can affect Windows functionality.
Press Windows + R on your keyboard to open the Run dialog box. Type regedit in the text field and press Enter.
You may see a User Account Control (UAC) prompt asking whether you want to allow Registry Editor to make changes. Click Yes.
Once Registry Editor opens, click the File menu in the upper-left corner and select Export.
A new window will appear. Under Export range, select All to back up the entire registry. Choose a location where you can easily find the backup, such as your Desktop.
Enter a recognizable filename, such as Windows-Registry-Backup, and click Save.
Windows will now save a registry backup file with the .reg extension. Keep this file somewhere safe so you can restore your previous configuration if something goes wrong.
2: Navigate to the DataCollection Registry Key
Now that you have created a backup, navigate to the registry location responsible for controlling diagnostic data collection.
In Registry Editor, look at the address bar at the top. Click inside it, remove the existing text, and paste the following registry path:
HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\DataCollection
Press Enter to open the location.
Alternatively, you can manually expand each folder from the left navigation panel.
Start with HKEY_LOCAL_MACHINE, expand SOFTWARE, and locate Policies. Expand it, open Microsoft, and then expand Windows.
Look for a folder named DataCollection.
If the DataCollection folder already exists, click it to view its registry entries. If it does not exist, you will need to create it manually.
3: Create the DataCollection Registry Key (If Missing)
If you cannot find the DataCollection folder under the Windows registry directory, don’t worry. You can create it yourself.
Right-click the Windows folder in the left navigation panel and select New > Key.
Windows will create a new folder and ask you to enter a name.
Type DataCollection and press Enter.
Make sure you spell the name correctly because Windows uses the registry key name to identify the policy configuration.
Once created, click the new DataCollection folder. You should see an empty area on the right side of Registry Editor.
You are now in the correct location to create the DWORD value that controls optional diagnostic data.
4: Create the AllowTelemetry DWORD Value
This is the main part of the registry hack. You need to create a new DWORD value named AllowTelemetry.
While the DataCollection folder is selected, right-click an empty area in the right-hand panel.
Select New > DWORD (32-bit) Value from the context menu.
A new registry entry will appear with a highlighted name field.
Type AllowTelemetry and press Enter.
If you already have an AllowTelemetry entry, you don’t need to create another one. Simply open the existing entry and modify its value in the next step.
Remember that you should create a DWORD (32-bit) Value, even if your computer is running a 64-bit version of Windows. The registry policy specifically uses a 32-bit integer value.
5: Set AllowTelemetry Value to 3
Now you need to configure the newly created AllowTelemetry value to enable optional diagnostic data.
Double-click the AllowTelemetry entry in the right-hand panel.
A small Edit DWORD (32-bit) Value window will appear. You will see two fields: Value name and Value data.
Make sure the Value name is set to AllowTelemetry.
Under Value data, replace the existing number with:
AllowTelemetry Value
(Optional data 3)
DWORD (32-bit) Value
Leave the Base option set to Hexadecimal. The value 3 represents optional diagnostic data in this policy.
Click OK to save your changes.
You have now configured the registry policy to allow Windows to send optional diagnostic data along with required diagnostic information.
For reference, these are the commonly used policy values:
| Registry value | Configuration |
| 0 | Security level, supported only on specific editions |
| 1 | Required diagnostic data |
| 3 | Optional diagnostic data |
Important: Value 0 does not disable diagnostic data on every Windows edition. On Windows editions that do not support the Security level, it is treated as the Required diagnostic data setting.
6: Restart Your Windows Computer
After modifying the registry, restart your computer to allow Windows to apply the updated configuration.
Close Registry Editor and save any open documents or work.
Click the Start button, select the Power icon, and choose Restart.
Wait for Windows to shut down and boot again. Depending on your computer’s speed, this process may take a few seconds or a couple of minutes.
Once you reach the desktop, Windows should have an opportunity to apply the updated diagnostic data policy.
7: Verify Optional Diagnostic Data in Windows Settings
Now that you have modified the registry and restarted your computer, check whether the diagnostic data setting reflects your changes.
On Windows 11, open Settings using the Windows + I keyboard shortcut.
Navigate to Privacy & security > Diagnostics & feedback.
Under the Diagnostic data section, look for the Send optional diagnostic data setting.
On Windows 10, open Settings and navigate to Privacy > Diagnostics & feedback.
Check whether the option to send optional diagnostic data is available.
If the setting is enabled, Windows is configured to send optional diagnostic data.
If the option is still grayed out or unavailable, another policy or device management setting may be controlling it. In that case, check whether your computer is connected to a work or school account or managed by an organization.
Microsoft also notes that unavailable diagnostic data controls can indicate that the device is managed by an organization.
8: Restore the Previous Registry Configuration (If Needed)
If you no longer want to use the registry modification, you can reverse the change.
Open Registry Editor again and navigate to:
HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\DataCollection
Locate the AllowTelemetry entry in the right-hand panel.
Double-click it and change its value to 1 if you want to configure Required diagnostic data through this policy.
Alternatively, if the AllowTelemetry value did not exist before your modification, you can right-click it and select Delete.
Deleting the value removes that particular registry policy configuration. However, other policies or management settings may still control diagnostic data collection.
Click Yes to confirm deletion if prompted, close Registry Editor, and restart your computer.
You can also restore your earlier registry backup by opening Registry Editor, selecting File > Import, and choosing the .reg backup file you created in Step 1. Remember that importing a complete registry backup can overwrite other registry changes made since the backup was created.
FAQs
1. Is it safe to enable Optional diagnostic data using Registry Editor?
Yes, changing the AllowTelemetry registry policy to 3 is a documented Windows configuration method. However, it allows Windows to collect and send additional diagnostic information to Microsoft. Create a registry backup before making changes.
2. What is the AllowTelemetry registry value in Windows 11/10?
AllowTelemetry is a DWORD (32-bit) registry value that controls the Windows diagnostic data collection level through the DataCollection policy. A value of 1 represents Required diagnostic data, while 3 represents Optional diagnostic data.
3. Why is Optional diagnostic data grayed out in Windows 11?
The option may be unavailable because of Group Policy settings, Mobile Device Management (MDM), or workplace and school device management. Check your organization’s policies before modifying the registry.
4. Can I enable Optional diagnostic data in Windows 10 Home?
You can access Registry Editor in Windows 10 Home, but not every administrative diagnostic data policy is supported on every Windows edition. The AllowTelemetry policy is documented for supported Pro, Enterprise, and Education editions. Therefore, creating the registry entry on Home does not guarantee that Windows will honor it.
5. Does enabling Optional diagnostic data improve Windows performance?
No. Enabling optional diagnostic data does not directly make your computer faster. It provides Microsoft with additional information that can help identify compatibility issues, diagnose errors, and improve Windows features.
6. Do I need to restart my PC after changing AllowTelemetry?
Restarting Windows is recommended after modifying the registry policy. It gives Windows an opportunity to apply the updated configuration.
