Script for fixing patches can't be measure issues with SCCM
Date: 02/01/2024
Please test this before running against your environment. I always do this against 1 or 2 machines to make sure they don't brick. Windows issues can cause unexpected results with devices that are unhealthy. Please always test even if you completely understand what the script does.
Clean up Patches can't be measured
- Clear ccm cache
- Clear windows Temp
- Clear group policy
- Clear SoftwareDist
- Start Services
If you suffer from inconsistent code execution and they are older machines please make sure your devices are patched up. Server 2012 and below makes sure you patch them to "Windows Management Framework 5.1". You can see more here.
You can also learn more about WMF or Windows Management Framework here