Report Windows 11 Compatibility

Vid3al 91 Reputation points
2022-05-13T13:39:06.833+00:00

We are using the Script indicated in this article to centrally track down which devices do not have the hardware prerequisites for upgrading to Windows 11. We only use Configuration Manager Current Branch 2111.

https://techcommunity.microsoft.com/t5/microsoft-endpoint-manager-blog/understanding-readiness-for-windows-11-with-microsoft-endpoint/ba-p/2770866

We only use Configuration Manager Current Branch 2111.
If there are thousands of devices, after several tests we noticed that the result of the script is difficult to handle in an excel file for any searches or filters, so we tried to create a report with the suggestions of the following article.

https://www.anoopcnair.com/sccm-windows-11-upgrade-readiness-report-sql/

But we noticed a discrepancy in results between the two methods, that is, by running both methods on a test collection, the first shows all the devices, while the second shows fewer devices.

Investigating, we noticed that on several computers there is no registry key "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\CompatMarkers\CO21H2" .

We also noticed that some computers with Windows 10 21H2, do not have this registry key. The lack of this key does not mean that the device is not compatible with Windows 11, because instead the script returns that it is compatible.

Why don't all computers have these registry keys?

Thank you all for your support.

Microsoft Configuration Manager Updates
Microsoft Configuration Manager Updates
Microsoft Configuration Manager: An integrated solution for for managing large groups of personal computers and servers.Updates: Broadly released fixes addressing specific issue(s) or related bug(s). Updates may also include new or modified features (i.e. changing default behavior).
958 questions
Microsoft Configuration Manager
0 comments No comments
{count} votes

10 answers

Sort by: Most helpful
  1. Eswar Koneti 2,196 Reputation points
    2022-05-13T15:32:18.54+00:00

    have you looked at this report available which is based on the hardware components? https://www.systemcenterdudes.com/free-readiness-memcm-sccm-windows-11-report/

    Thanks,
    Eswar
    www.eskonr.com

    2 people found this answer helpful.
    0 comments No comments

  2. abbodi86 3,776 Reputation points
    2022-05-14T02:48:35.43+00:00

    You can force the computer to perform compatibility appraiser, in admin command prompt run:

    pushd %windir%\system32\
    CompatTelRunner.exe -m:devinv.dll -f:CreateDeviceInventory
    CompatTelRunner.exe -m:invagent.dll -f:RunUpdate
    CompatTelRunner.exe -m:generaltel.dll -f:DoCensusRun
    CompatTelRunner.exe -m:generaltel.dll -f:RunGeneralTelemetry
    CompatTelRunner.exe -m:generaltel.dll -f:GetCITData
    CompatTelRunner.exe -m:appraiser.dll -f:DailyGatedCheck
    CompatTelRunner.exe -m:appraiser.dll -f:UpdateAvStatus
    CompatTelRunner.exe -m:appraiser.dll -f:DoScheduledTelemetryRun
    CompatTelRunner.exe -m:pcasvc.dll -f:QueryEncapsulationSettings
    DeviceCensus.exe
    DeviceCensus.exe SystemCxt
    DeviceCensus.exe UserCxt
    CompatTelRunner.exe
    CompatTelRunner.exe -maintenance
    
    1 person found this answer helpful.
    0 comments No comments

  3. Andrew J 6 Reputation points
    2022-12-21T13:51:23.253+00:00

    I found the reason the reg key AppCompatFlags\CompatMarkers is empty. We have CIS Benchmark policies that disable settings. We have "Allow Telemetry" set to disable (value of 0).

    Reg Key:     HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\DataCollection:AllowTelemetry  
    
    Group Policy:     Computer Configuration\Policies\Administrative Templates\Windows Components\Data Collection and Preview Builds\Allow Telemetry  
    

    Setting the AllowTelemetry value to 1 then running the scheduled task Microsoft Compatibility Appraiser creates the registry keys.

    1 person found this answer helpful.

  4. Vid3al 91 Reputation points
    2022-05-26T16:00:07.503+00:00
    0 comments No comments

  5. Satyendra Verma 1 Reputation point
    2022-08-03T19:10:04.33+00:00

    I am also facing the same issue. I don't know why but these registries are missing from almost 2k plus machines in my organization.

    Could it be due to using enablement package to upgrade to Win10 21H2?

    0 comments No comments