Ask questionsUnknown OS architecture when runnig on non-english OS

Got the following error when running on non-English OS

Machine is not Device Guard / Credential Guard compatible because of the following: Unknown OS, OS Architecture failure..

Reason: the script expects '64-bit' with a lower b, on a German client, the result is '64-Bit' with a capital B


Change the code in the CheckOSArchitecture function in the \DG_Readiness_Tool_v3.6.ps1 script as following

from $OSArch = $(gwmi win32_operatingsystem).OSArchitecture


$OSAch = $((gwmi win32_operatingsystem).OSArchitecture).tolower()

then the script just works fine.

Details here:

Document Details

Do not edit this section. It is required for ➟ GitHub issue linking.


Answer questions DaniHalfin

@alexverboon thanks for raising this issue. This sounds like it might be a product issue more than a doc issue, however, it's good that we're aware so that we can address it properly.

@SteveSyfuhs - should I add a note here?


Related questions

tdlrecover.exe - Windows 10.0.18362.XXX - TileDataLayer is deprecated hot 1
DisableEnterpriseAuthProxy=0 and Windows Defender ATP hot 1
CloudAssignedOobeConfig has a 1024 bitmap to skip keyboard layout hot 1
Documentation is wrong and does not work get this error hot 1
0x801c03f3 not listed hot 1
Give an example how to utilize RestrictedGroups feature hot 1
0x801c0451 not listed hot 1
How to identify which TPM 2.0 PCR Bank is being used hot 1
How to identify which TPM 2.0 PCR Bank is being used hot 1
InstallWindowsDefenderApplicationGuard hot 1
0x801c044f not listed... hot 1
Windows Hello certificates requires enabling a permitted strong authentication provider hot 1
How to identify which TPM 2.0 PCR Bank is being used hot 1
FileExplorerNamespaceRestrictions hot 1
0x801c0451 not listed hot 1
Github User Rank List