
The issue is that the Microsoft Windows Management Instrumentation (WMI) is corrupt and needs to be repaired.
1. Download WMIDiag from https://techcommunity.microsoft.com/t5/ask-the-performance-team/wmidiag-2-2-is-here/ba-p/375642
2. Extract and run the WMIDiag.vbs script.
3. Look for the following errors in the Log file:
31290 15:27:06 (1) !! ERROR: WMI MONIKER CONNECTION errors occured for the following namespaces: .......................................... 1 ERROR(S)!
31291 15:27:06 (0) ** - ROOT/DEFAULT, 0x80041002 - (WBEM_E_NOT_FOUND) Object cannot be found.
31292 15:27:06 (0) **
31293 15:27:06 (1) !! ERROR: WMI CONNECTION errors occured for the following namespaces: .................................................. 2 ERROR(S)!
31294 15:27:06 (0) ** - ROOT/DEFAULT, 0x80041002 - (WBEM_E_NOT_FOUND) Object cannot be found.
31295 15:27:06 (0) ** - Root/Default, 0x80041002 - (WBEM_E_NOT_FOUND) Object cannot be found.
4. Open a command shell
5. Run the command rundll32 wbemupgd repairwmisetup
6. Run the Deployment Scanner again and ensure that the .NET Framework Version is detected correctly