Fixing Windows Update installation errors and why enabling Windows Telemetry is a good idea.
While attempting to upgrade my Surface device to 25H2 in my tenant, I constantly encountered issues. The error in the default Windows Update report was not really helpful.
The error just indicated that the installation was being cancelled by the user and that it needed attention. Which is quite bizarre, because I had the device kept switched on and connected to the internet for a long period of time so the error didn't make sense to me. I started investigating this and realized that I needed more information to get to the bottom of the error. That is when I realized that I hadn't configured the collection of the Windows diagnostic or telemetry data correctly. While this is not a necessity, nonetheless highly recommended. Here is why..
Windows telemetry helps in improving security and compatibility, identifying and troubleshooting issues, monitoring device performance and reliability through collection of specific data points. These are classified across -
Service-based data from Windows Update which typically includes events like alerts for a device that cannot register with Windows update. This data normally arrives in less than an hour after an event happens in the service.
Client-based data from Intune devices that are configured to send data to Intune – This data contains additional insights from the device across various installation steps. The data is typically processed in batches and refreshes every eight hours. At the time of writing this blog post, following are the alert messages that are currently available.
Source: Microsoft
For the Windows telemetry to be collected correctly against the devices managed using Intune, here are the steps that need to be carried out -
1. Sign-in to the Microsoft Intune admin center
2. Go to Tenant administration > Connectors & tokens > Windows Data, and switch toggle 'On' for Enable feature that require Windows diagnostic data in process configuration.
3. Next step is to enable diagnostic collection on the Windows endpoints. Go to Devices > Configuration > Create > New Policy.
4. Select Platform as Windows 10 and later.
5. Select Profile type as Settings catalog.
6. Give a name and configure the following settings -
7. Assign to a group of relevant devices or users.
Once the policy applies, it can take some time for telemetry data to be collected and presented in reports. On my tenant it took any where from 12-24 hours. Once the telemetry data was processed, I got visibility into additional insights through alerts against Windows update for business reports.
Device monitor > Feature update failures report suggested that there was insufficient update connectivity.
This was also collaborated with the data in the Windows Update for Business workbook in Azure.
Suddenly things started to make sense. The power profile on my surface device was putting the device in sleep mode and all I had to do was to change it to ensure it stays power on for longer duration.
In conclusion, with device management workloads moving to cloud and while the configuration may seem simple and straight forward, it is still very easy to miss some of the important configuration elements that when configured correctly, can make a world of difference. Some of these settings are not flagged necessarily in the relevant places and therefore it is super important to stay on top of things. Which is why I try to capture through my blog posts that are more often than usual based on my experiences, both personal and from the field. Hope this blog post helps and possibly save you some time. Until next time..








Comments
Post a Comment