Forum Discussion

PGomersall's avatar
PGomersall
Brass Contributor
Sep 25, 2020

Windows ADK PreInstallation Environment broken in 20221

In Windows ADK PreInstallation Environment broken 20221 some components are broken, e.g. WinPE-StorageWMI-Package. Adding the 2 required components installs without error when building a custome wim. However the module of Storage is not available in the resultant wim.

  • PGomersall's avatar
    PGomersall
    Brass Contributor
    I found a workaround to enable the import of Storage module to load: Adding a DWORD set to 0 for AllowStrongNameBypass in the following registry keys: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETFramework and HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\.NETFramework Assumes a 64 bit WinPE So issue is related to signing of the Powershell Storage module in WinPE or a component it depends on.
    • PGomersall's avatar
      PGomersall
      Brass Contributor

      This actually turned out to need the key below not the values I mentioned in the previous post.

      HKLM\Software\Microsoft\StrongName\Verification\*,*

  • PGomersall's avatar
    PGomersall
    Brass Contributor
    This is still apparent in 20226 WinPE. I did some more testing and it looks like the the WMIStorage module is not properly signed as trying to import the module results in: Strong name validation failed.

Resources