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: https://www.verboon.info/2019/05/the-case-of-running-the-device-and-credential-guard-hardware-readiness-tool-and-unknown-architecture/
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ 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?