Windows ADK PreInstallation Environment broken in 20221

Brass Contributor

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.

3 Replies
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.
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.

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

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