neon-lzf
Goto Top

DISM: unmount-image commit Fehler 5, Zugriff verweigert

Hallo zusammen,

ich versuche ein Windows 10 1709 Installationsimage von einigen Store Apps zu befreien. Das Funktioniert auch bis zu dem Punkt, an dem ich das Image unmounten möchte. Dabei erhalte ich den "Fehler 5 Zugriff verweigert". Die dism.log enthält folgenden Inhalt:

2018-03-09 17:00:40, Info                  DISM   DISM.EXE: 
2018-03-09 17:00:40, Info                  DISM   DISM.EXE: <----- Starting Dism.exe session ----->
2018-03-09 17:00:40, Info                  DISM   DISM.EXE: 
2018-03-09 17:00:40, Info                  DISM   DISM.EXE: Host machine information: OS Version=10.0.16299, Running architecture=amd64, Number of processors=4
2018-03-09 17:00:40, Info                  DISM   DISM.EXE: Dism.exe version: 10.0.16299.15
2018-03-09 17:00:40, Info                  DISM   DISM.EXE: Executing command line: "C:\Windows\system32\Dism.exe" /unmount-image /mountdir:.\mount\ /commit  
2018-03-09 17:00:40, Info                  DISM   DISM Provider Store: PID=5836 TID=9332 Getting the collection of providers from a local provider store type. - CDISMProviderStore::GetProviderCollection
2018-03-09 17:00:40, Info                  DISM   DISM Provider Store: PID=5836 TID=9332 Connecting to the provider located at C:\Windows\system32\Dism\FolderProvider.dll. - CDISMProviderStore::Internal_LoadProvider
2018-03-09 17:00:40, Warning               DISM   DISM Provider Store: PID=5836 TID=9332 Failed to load the provider: C:\Windows\system32\Dism\SiloedPackageProvider.dll. - CDISMProviderStore::Internal_GetProvider(hr:0x8007007e)
2018-03-09 17:00:40, Info                  DISM   DISM Provider Store: PID=5836 TID=9332 Connecting to the provider located at C:\Windows\system32\Dism\FfuProvider.dll. - CDISMProviderStore::Internal_LoadProvider
2018-03-09 17:00:40, Info                  DISM   DISM Provider Store: PID=5836 TID=9332 Connecting to the provider located at C:\Windows\system32\Dism\WimProvider.dll. - CDISMProviderStore::Internal_LoadProvider
2018-03-09 17:00:40, Info                  DISM   DISM Provider Store: PID=5836 TID=9332 Connecting to the provider located at C:\Windows\system32\Dism\VHDProvider.dll. - CDISMProviderStore::Internal_LoadProvider
2018-03-09 17:00:40, Info                  DISM   DISM Provider Store: PID=5836 TID=9332 Connecting to the provider located at C:\Windows\system32\Dism\ImagingProvider.dll. - CDISMProviderStore::Internal_LoadProvider
2018-03-09 17:00:40, Info                  DISM   DISM Provider Store: PID=5836 TID=9332 Connecting to the provider located at C:\Windows\system32\Dism\CompatProvider.dll. - CDISMProviderStore::Internal_LoadProvider
2018-03-09 17:00:40, Warning               DISM   DISM Provider Store: PID=5836 TID=9332 Failed to load the provider: C:\Windows\system32\Dism\MetaDeployProvider.dll. - CDISMProviderStore::Internal_GetProvider(hr:0x8007007e)
2018-03-09 17:00:40, Info                  DISM   DISM.EXE: Got the collection of providers. Now enumerating them to build the command table.
2018-03-09 17:00:40, Info                  DISM   DISM.EXE: Attempting to add the commands from provider: DISM Log Provider
2018-03-09 17:00:40, Info                  DISM   DISM.EXE: Attempting to add the commands from provider: FolderManager
2018-03-09 17:00:40, Info                  DISM   DISM.EXE: Attempting to add the commands from provider: FfuManager
2018-03-09 17:00:40, Info                  DISM   DISM.EXE: Succesfully registered commands for the provider: FfuManager.
2018-03-09 17:00:40, Info                  DISM   DISM.EXE: Attempting to add the commands from provider: WimManager
2018-03-09 17:00:40, Info                  DISM   DISM.EXE: Succesfully registered commands for the provider: WimManager.
2018-03-09 17:00:40, Info                  DISM   DISM.EXE: Attempting to add the commands from provider: VHDManager
2018-03-09 17:00:40, Info                  DISM   DISM.EXE: Attempting to add the commands from provider: GenericImagingManager
2018-03-09 17:00:40, Info                  DISM   DISM.EXE: Succesfully registered commands for the provider: GenericImagingManager.
2018-03-09 17:00:40, Info                  DISM   DISM.EXE: Attempting to add the commands from provider: Compatibility Manager
2018-03-09 17:00:40, Info                  DISM   DISM.EXE: Succesfully registered commands for the provider: Compatibility Manager.
2018-03-09 17:00:40, Info                  DISM   DISM FFU Provider: PID=5836 TID=9332 [.\mount\] is not recognized by the DISM FFU provider. - CFfuImage::Initialize
2018-03-09 17:00:40, Info                  DISM   DISM Imaging Provider: PID=5836 TID=9332 The provider FfuManager does not support CreateDismImage on .\mount\ - CGenericImagingManager::CreateDismImage
2018-03-09 17:00:40, Info                  DISM   DISM VHD Provider: PID=5836 TID=9332 [.\mount\] is not recognized by the DISM VHD provider. - CVhdImage::Initialize
2018-03-09 17:00:40, Info                  DISM   DISM Imaging Provider: PID=5836 TID=9332 The provider VHDManager does not support CreateDismImage on .\mount\ - CGenericImagingManager::CreateDismImage
[5836] ImageUnmarshallHandle: Reconstituting wim at C:\Users\USERNAME\Documents\install.wim.
[5836] ImageUnmarshallHandle: Reconstituting wim at C:\Users\USERNAME\Documents\install.wim.
[5836] ImageUnmarshallHandle: Reconstituting wim at C:\Users\USERNAME\Documents\install.wim.
[5836] [0xc144012e] 
2018-03-09 17:01:01, Error                 DISM   DISM WIM Provider: PID=5836 C:\Users\USERNAME\Documents\mount\Windows\WinSxS\amd64_microsoft-windows-t..-deployment-package_31bf3856ad364e35_10.0.16299.15_none_81b9cba3f4b3ec61\TFTP.EXE (HRESULT=0x80070005) - CWimManager::WimProviderMsgLogCallback
[5836] [0x80070005] ImageRecaptureDirectory:(141): Zugriff verweigert
[5836] [0x80070005] WIMCommitImageHandle:(1416): Zugriff verweigert
2018-03-09 17:01:01, Error                 DISM   DISM WIM Provider: PID=5836 TID=9332 onecore\base\ntsetup\opktools\dism\providers\wimprovider\dll\wimimage.cpp:201 - CWimImage::Save(hr:0x80070005)
2018-03-09 17:01:02, Error                 DISM   DISM WIM Provider: PID=5836 TID=9332 "Could not commit changes during unmount." - CWimImage::Unmount(hr:0x80070005)  
2018-03-09 17:01:02, Error                 DISM   DISM Imaging Provider: PID=5836 TID=9332 onecore\base\ntsetup\opktools\dism\providers\imagingprovider\dll\genericimagingmanager.cpp:1101 - CGenericImagingManager::InternalCmdUnmount(hr:0x80070005)
2018-03-09 17:01:02, Error                 DISM   DISM Imaging Provider: PID=5836 TID=9332 onecore\base\ntsetup\opktools\dism\providers\imagingprovider\dll\genericimagingmanager.cpp:547 - CGenericImagingManager::ExecuteCmdLine(hr:0x80070005)
2018-03-09 17:01:02, Info                  DISM   DISM.EXE: Image session has been closed. Reboot required=no.
2018-03-09 17:01:02, Info                  DISM   DISM.EXE: 
2018-03-09 17:01:02, Info                  DISM   DISM.EXE: <----- Ending Dism.exe session ----->
2018-03-09 17:01:02, Info                  DISM   DISM.EXE: 

Eingebunden habe ich das Image mit DISM "/mount-image /ImageFile:.\install.wim /Index:1 /MountDir:mount" und anschließend mit "DISM /Image:mount /Remove-ProvisionedAppxPackage /PackageName:PACKAGENAME" ein oder mehrere Pakete entfernt. Schreibzugriff auf die WIM-File habe ich und die Powershell wurde als Admin gestartet.

Alles was ich dazu bei Google gefunden habe bezog sich auf Probleme beim Mounten selbst. Zu Fehlern beim Unmounten habe ich aber nix weiter gefunden. Hat vielleicht jemand eine Idee?

Viele Grüße
Sebastian

Content-Key: 367590

Url: https://administrator.de/contentid/367590

Printed on: April 19, 2024 at 10:04 o'clock

Member: Meierjo
Meierjo Mar 09, 2018 at 19:00:41 (UTC)
Goto Top
Hallo

Eingebunden habe ich das Image mit DISM "/mount-image /ImageFile:.\install.wim /Index:1 /MountDir:mount"
Du mountest das Image nach :Mount??

In deinem Log-File sind einige Hinweise, dass das so nicht unterstütz wird:
2018-03-09 17:00:40, Info DISM DISM Imaging Provider: PID=5836 TID=9332 The provider FfuManager does not support CreateDismImage on .\mount\ - CGenericImagingManager::CreateDismImage
2018-03-09 17:00:40, Info DISM DISM VHD Provider: PID=5836 TID=9332 [.\mount\] is not recognized by the DISM VHD provider. - CVhdImage::Initialize
2018-03-09 17:00:40, Info DISM DISM Imaging Provider: PID=5836 TID=9332 The provider VHDManager does not support CreateDismImage on .\mount\ - CGenericImagingManager::CreateDismImage


Hast du mal versucht, das Image woanders hin zu mounten, zB:
"dism /mount-image /imagefile:D:\...\install.wim /index:1 /mountdir:D:\......"

Gruss