Markus Klocker
unread,Sep 27, 2022, 3:23:18 AM9/27/22Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to ntsys...@googlegroups.com
Dear all,
I'm a bit at loss here :)
I want to export only the SKU named "Windows 11 Enterprise" in an
elevated PS-Session from the W11 22H2 install.wim.
Export-WindowsImage -SourceImagePath $SourceImage -SourceName "Windows
11 Enterprise" -DestinationImagePath $TargetImage
The dism.log on a W10 21H2 fully patched tells me:
2022-09-27 09:13:53, Info DISM DISM.EXE: <-----
Starting Dism.exe session ----->
2022-09-27 09:13:53, Info DISM DISM.EXE:
2022-09-27 09:13:53, Info DISM DISM.EXE: Host machine
information: OS Version=10.0.19044, Running architecture=amd64, Number
of processors=16
2022-09-27 09:13:53, Info DISM DISM.EXE: Dism.exe
version: 10.0.19041.844
2022-09-27 09:13:53, Info DISM DISM.EXE: Executing
command line: "C:\Windows\system32\Dism.exe" /Get-ImageInfo
/imagefile:C:\wim\install.wim
2022-09-27 09:13:53, Info DISM DISM Provider Store:
PID=12692 TID=14808 Getting the collection of providers from a local
provider store type. - CDISMProviderStore::GetProviderCollection
2022-09-27 09:13:53, Info DISM DISM Provider Store:
PID=12692 TID=14808 Connecting to the provider located at
C:\Windows\system32\Dism\FolderProvider.dll. -
CDISMProviderStore::Internal_LoadProvider
2022-09-27 09:13:53, Warning DISM DISM Provider Store:
PID=12692 TID=14808 Failed to load the provider:
C:\Windows\system32\Dism\SiloedPackageProvider.dll. -
CDISMProviderStore::Internal_GetProvider(hr:0x8007007e)
2022-09-27 09:13:53, Info DISM DISM Provider Store:
PID=12692 TID=14808 Connecting to the provider located at
C:\Windows\system32\Dism\FfuProvider.dll. -
CDISMProviderStore::Internal_LoadProvider
2022-09-27 09:13:53, Info DISM DISM Provider Store:
PID=12692 TID=14808 Connecting to the provider located at
C:\Windows\system32\Dism\WimProvider.dll. -
CDISMProviderStore::Internal_LoadProvider
2022-09-27 09:13:53, Info DISM DISM Provider Store:
PID=12692 TID=14808 Connecting to the provider located at
C:\Windows\system32\Dism\VHDProvider.dll. -
CDISMProviderStore::Internal_LoadProvider
2022-09-27 09:13:53, Info DISM DISM Provider Store:
PID=12692 TID=14808 Connecting to the provider located at
C:\Windows\system32\Dism\ImagingProvider.dll. -
CDISMProviderStore::Internal_LoadProvider
2022-09-27 09:13:53, Warning DISM DISM Provider Store:
PID=12692 TID=14808 Failed to load the provider:
C:\Windows\system32\Dism\MetaDeployProvider.dll. -
CDISMProviderStore::Internal_GetProvider(hr:0x8007007e)
2022-09-27 09:13:53, Info DISM DISM.EXE: Got the
collection of providers. Now enumerating them to build the command table.
2022-09-27 09:13:53, Info DISM DISM.EXE: Attempting
to add the commands from provider: DISM Log Provider
2022-09-27 09:13:53, Info DISM DISM.EXE: Attempting
to add the commands from provider: FolderManager
2022-09-27 09:13:53, Info DISM DISM.EXE: Attempting
to add the commands from provider: FfuManager
2022-09-27 09:13:53, Info DISM DISM.EXE: Succesfully
registered commands for the provider: FfuManager.
2022-09-27 09:13:53, Info DISM DISM.EXE: Attempting
to add the commands from provider: WimManager
2022-09-27 09:13:53, Info DISM DISM.EXE: Succesfully
registered commands for the provider: WimManager.
2022-09-27 09:13:53, Info DISM DISM.EXE: Attempting
to add the commands from provider: VHDManager
2022-09-27 09:13:53, Info DISM DISM.EXE: Attempting
to add the commands from provider: GenericImagingManager
2022-09-27 09:13:53, Info DISM DISM.EXE: Succesfully
registered commands for the provider: GenericImagingManager.
2022-09-27 09:13:53, Info DISM DISM Imaging Provider:
PID=12692 TID=14808 WIM image specified -
CGenericImagingManager::GetImageInfoCollection
2022-09-27 09:13:53, Info DISM DISM.EXE: Image
session has been closed. Reboot required=no.
2022-09-27 09:13:53, Info DISM DISM.EXE:
2022-09-27 09:13:53, Info DISM DISM.EXE: <-----
Ending Dism.exe session ----->
relevant Part from a W11 21H2 fully patched:
022-09-27 09:19:10, Info DISM DISM Manager: PID=5412
TID=13836 Successfully created the local image session and provider
store. - CDISMManager::CreateLocalImageSession
2022-09-27 09:19:10, Info DISM DISM FFU Provider:
PID=5412 TID=13836 [C:\wim\mount] is not recognized by the DISM FFU
provider. - CFfuImage::Initialize
2022-09-27 09:19:10, Info DISM DISM Imaging Provider:
PID=5412 TID=13836 The provider FfuManager does not support
CreateDismImage on C:\wim\mount - CGenericImagingManager::CreateDismImage
2022-09-27 09:19:10, Info DISM DISM VHD Provider:
PID=5412 TID=13836 [C:\wim\mount] is not recognized by the DISM VHD
provider. - CVhdImage::Initialize
2022-09-27 09:19:10, Info DISM DISM Imaging Provider:
PID=5412 TID=13836 The provider VHDManager does not support
CreateDismImage on C:\wim\mount - CGenericImagingManager::CreateDismImage
[5412.13836] [0x80070002] FIOReadFileIntoBuffer:(1456): The system
cannot find the file specified.
[5412.13836] [0xc142011c] UnmarshallImageHandleFromDirectory:(641)
[5412.13836] [0xc142011c] WIMGetMountedImageHandle:(2910)
2022-09-27 09:19:10, Info DISM DISM WIM Provider:
PID=5412 TID=13836 [C:\wim\mount] is not a WIM mount point. -
CWimMountedImageInfo::Initialize
2022-09-27 09:19:10, Info DISM DISM Imaging Provider:
PID=5412 TID=13836 The provider WimManager does not support
CreateDismImage on C:\wim\mount - CGenericImagingManager::CreateDismImage
2022-09-27 09:19:10, Info DISM DISM Imaging Provider:
PID=5412 TID=13836 No imaging provider supported CreateDismImage for
this path - CGenericImagingManager::CreateDismImage
[5412.13836] [0x80070002] FIOReadFileIntoBuffer:(1456): The system
cannot find the file specified.
[5412.13836] [0xc142011c] UnmarshallImageHandleFromDirectory:(641)
[5412.13836] [0xc142011c] WIMGetMountedImageHandle:(2910)
2022-09-27 09:19:10, Info DISM DISM WIM Provider:
PID=5412 TID=13836 [C:\wim\mount] is not a WIM mount point. -
CWimMountedImageInfo::Initialize
2022-09-27 09:19:10, Info DISM DISM FFU Provider:
PID=5412 TID=13836 [C:\wim\mount] is not recognized by the DISM FFU
provider. - CFfuImage::Initialize
2022-09-27 09:19:10, Info DISM DISM VHD Provider:
PID=5412 TID=13836 [C:\wim\mount] is not recognized by the DISM VHD
provider. - CVhdImage::Initialize
2022-09-27 09:19:10, Error DISM API: PID=5412
TID=13836
onecore\base\ntsetup\opktools\dism\api\lib\imagingcommandobject.cpp:668
- CUnmountImageCommandObject::InternalExecute(hr:0xc0040007)
2022-09-27 09:19:10, Error DISM API: PID=5412
TID=13836 InternalExecute failed -
CBaseCommandObject::Execute(hr:0xc0040007)
2022-09-27 09:19:10, Error DISM API: PID=5412 TID=7480
CUnmountImageCommandObject failed - DismUnmountImageInternal(hr:0xc0040007)
No luck in exporting the wanted SKU.
Any hints or ideas?
Best whishes
Markus