You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The **Collect diagnostics** remote action lets you collect and download Windows device logs without interrupting the user. Only non-user locations and file types can be accessed, so no personal information is collected.
34
+
The **Collect diagnostics** remote action lets you collect and download Windows device logs without interrupting the user. Only non-user locations and file types are accessed.
35
35
36
-
Autopilot diagnosticscan also be captured automatically when devices experience a failure during the Autopilot process. When logs are finished processing on a failed device, they will be automatically captured and uploaded to Intune. Autopilot diagnostics and logs may include user identifiable information such as user name or device name.
36
+
The **Collect diagnostics** remote action can also be configured to automatically collect and upload Windows devices logs upon an Autopilot failure on a device. When an Autopilot failure occurs, logs will be processed on the failed device and then automatically captured and uploaded to Intune.
37
37
38
38
The diagnostic collection is stored for 28 days and then deleted. Each device can have up to 10 collections stored at one time.
39
39
@@ -55,110 +55,122 @@ The *Collect diagnostics* remote action is supported for:
55
55
56
56
To use the *Collect diagnostics* action:
57
57
58
-
1. Sign in to the [Microsoft Endpoint Manager admin center](https://go.microsoft.com/fwlink/?linkid=2109431) > **Devices** > **Windows** > select a supported device.
59
-
2. On the device’s **Overview** page, select **…** > **Collect diagnostics** > **Yes**. A pending notification appears on the device’s **Overview** page.
60
-
3. To see the status of the action, select **Device diagnostics monitor**.
61
-
4. After the action completes, select **Download** in the row for the action > **Yes**.
62
-
5. The data zip file is added to your download tray and you can save it to your computer.
58
+
1. Sign in to the [Microsoft Endpoint Manager admin center](https://go.microsoft.com/fwlink/?linkid=2109431)
59
+
2. Navigate to **Devices** > **Windows** > select a supported device.
60
+
3. On the device’s **Overview** page, select **…** > **Collect diagnostics** > **Yes**. A pending notification appears on the device’s **Overview** page.
61
+
4. To see the status of the action, select **Device diagnostics monitor**.
62
+
5. After the action completes, select **Download** in the row for the action > **Yes**.
63
+
6. The data zip file is added to your download tray and you can save it to your computer.
64
+
65
+
## Diagnostics collection on Autopilot failure
66
+
67
+
For Autopilot diagnostics collection, no additional action is required. Autopilot diagnostics will be automatically captured when devices experience a failure as long as the Autopilot automatic capture diagnostic feature is enabled.
63
68
64
-
> [!NOTE]
65
-
> For Autopilot diagnostics collection, no additional action is required. Autopilot diagnostics will be automatically captured when devices experience a failure as long as the Autopilot automatic capture diagnostic feature is enabled.
69
+
To view the diagnostics collected after an Autopilot failure:
70
+
71
+
1. Sign in to the [Microsoft Endpoint Manager admin center](https://go.microsoft.com/fwlink/?linkid=2109431)
72
+
2. Navigate to **Devices** > **Monitor** > **Autopilot deployments (preview)**.
73
+
3. In the middle pane, select a device.
74
+
4. On the right hand **Properties** pane, under **Device Diagnostics**, select **Download**.
75
+
5. The data zip file is added to your download tray and you can save it to your computer.
66
76
67
77
## Data collected
68
78
69
-
No personal information is collected. If you've installed [KB5011543](https://support.microsoft.com/topic/march-22-2022-kb5011543-os-builds-19042-1620-19043-1620-and-19044-1620-preview-4fe2d1c0-720f-47fe-9523-75339bc107a1) on Windows 10 or [KB5011563](https://support.microsoft.com/topic/march-28-2022-kb5011563-os-build-22000-593-preview-40df54c9-b5a9-42e5-ae1c-9a33ff91ca91) on Windows 11, the format of the zip file will be simpler, including a flattened structure where the logs collected are named to match the data collected, and when multiple files are collected a folder is created.
79
+
While there is no intent to collect personal data, some identifiable information such as user names or device name might be collected when they are contained in collected logs or data from other locations.
80
+
81
+
If you've installed [KB5011543](https://support.microsoft.com/topic/march-22-2022-kb5011543-os-builds-19042-1620-19043-1620-and-19044-1620-preview-4fe2d1c0-720f-47fe-9523-75339bc107a1) on Windows 10 or [KB5011563](https://support.microsoft.com/topic/march-28-2022-kb5011563-os-build-22000-593-preview-40df54c9-b5a9-42e5-ae1c-9a33ff91ca91) on Windows 11, the format of the zip file will be simpler, including a flattened structure where the logs collected are named to match the data collected, and when multiple files are collected a folder is created.
70
82
71
83
This list below is the same order as the diagnostic zip. Each collection contains the following data:
- %ProgramData Microsoft Update Health Tools\Logs\*.etl
145
+
- %temp%\MDMDiagnostics\battery-report.html
146
+
- %temp%\MDMDiagnostics\energy-report.html
147
+
- %temp%\MDMDiagnostics\mdmlogs-<Date/Time>.cab
148
+
- %temp%\MDMDiagnostics\msinfo32.log
149
+
- %windir%\ccm\logs\*.log
150
+
- %windir%\ccmsetup\logs\*.log
151
+
- %windir%\logs\CBS\cbs.log
152
+
- %windir%\logs\measuredboot\*.*
153
+
- %windir%\Logs\WindowsUpdate\*.etl
154
+
- %windir%\temp\%computername%*.log
155
+
- %windir%\temp\officeclicktorun*.log
144
156
145
157
## Disable device diagnostics
146
158
147
-
You can disable the **Collect diagnostics** remote action for all devices by following these steps:
159
+
The the **Collect diagnostics** remote action is enabled by default. You can disable the **Collect diagnostics** remote action for all devices by following these steps:
148
160
149
161
1. Sign in to the [Microsoft Endpoint Manager admin center](https://go.microsoft.com/fwlink/?linkid=2109431) > **Tenant administration** > **Device diagnostics**.
150
162
2. Change the control under **Device diagnostics are available for corporate-managed devices running Windows 10, version 1909 and later, or Windows 11.** to **Disabled**.
151
163
152
-
:::image type="content" source="./media/collect-diagnostics/disable-device-diagnostics.png" alt-text="Screenshot that shows the Device diagnostics pane with the highlighted control set to Disabled.":::
164
+
:::image type="content" source="./media/collect-diagnostics/disable-device-diagnostics.png" alt-text="Screenshot that shows the Device diagnostics pane with the highlighted control for device diagnostics set to Disabled.":::
153
165
154
-
## Disable Autopilot diagnostics
166
+
## Disable Autopilot automatic collection of diagnostics
155
167
156
-
You can disable Autopilot automatic diagnostic capture by following these steps:
168
+
Autopilot automatic diagnostic capture is enabled by default. You can disable Autopilot automatic diagnostic capture by following these steps:
157
169
158
170
1. Sign in to the [Microsoft Endpoint Manager admin center](https://go.microsoft.com/fwlink/?linkid=2109431) > **Tenant administration** > **Device diagnostics**.
159
171
2. Change the control under **Automatically capture diagnostics when devices experience a failure during the Autopilot process on Windows 10 version 1909 or later and Windows 11. Diagnostics may include user identifiable information such as user or device name (preview).** to **Disabled**.
160
172
161
-
:::image type="content" source="./media/collect-diagnostics/disable-autopilot-diagnostics.png" alt-text="Screenshot that shows the Device diagnostics pane with the highlighted control set to Disabled.":::
173
+
:::image type="content" source="./media/collect-diagnostics/disable-autopilot-diagnostics.png" alt-text="Screenshot that shows the Device diagnostics pane with the highlighted control for Autopilot automatic diagnostics collection set to Disabled.":::
0 commit comments