用dism挂载wim文件提示错误码为5(Access is denied.)。
cmd是用管理员权限运行的。
dism挂载wim文件命令为
- Dism /Mount-Wim /WimFile:C:\WinPE_amd64\ISO\sources\boot.wim /index:1 /MountDir:C:\WinPE_amd64\mount
复制代码
已经检查确认了wim文件及其挂载目录的权限,均为完全控制权限。
dism.log
- 2018-09-19 14:28:48, Info DISM PID=740 Scratch directory set to 'X:\windows\TEMP\'. - CDISMManager::put_ScratchDir
- 2018-09-19 14:28:48, Info DISM PID=740 Successfully loaded the ImageSession at "X:\windows\System32\Dism" - CDISMManager::LoadImageSession
- 2018-09-19 14:28:48, Info DISM DISM Provider Store: PID=740 Found and Initialized the DISM Logger. - CDISMProviderStore::Internal_InitializeLogger
- 2018-09-19 14:28:48, Info DISM DISM Provider Store: PID=740 Failed to get and initialize the PE Provider. Continuing by assuming that it is not a WinPE image. - CDISMProviderStore::Final_OnConnect
- 2018-09-19 14:28:48, Info DISM DISM Provider Store: PID=740 Finished initializing the Provider Map. - CDISMProviderStore::Final_OnConnect
- 2018-09-19 14:28:48, Info DISM DISM Provider Store: PID=740 Getting Provider DISMLogger - CDISMProviderStore::GetProvider
- 2018-09-19 14:28:48, Info DISM DISM Provider Store: PID=740 Provider has previously been initialized. Returning the existing instance. - CDISMProviderStore::Internal_GetProvider
- 2018-09-19 14:28:48, Info DISM DISM Provider Store: PID=740 Getting Provider DISMLogger - CDISMProviderStore::GetProvider
- 2018-09-19 14:28:48, Info DISM DISM Provider Store: PID=740 Provider has previously been initialized. Returning the existing instance. - CDISMProviderStore::Internal_GetProvider
- 2018-09-19 14:28:48, Info DISM DISM Manager: PID=740 Successfully created the local image session and provider store. - CDISMManager::CreateLocalImageSession
- 2018-09-19 14:28:48, Info DISM DISM Provider Store: PID=740 Getting Provider DISMLogger - CDISMProviderStore::GetProvider
- 2018-09-19 14:28:48, Info DISM DISM Provider Store: PID=740 Provider has previously been initialized. Returning the existing instance. - CDISMProviderStore::Internal_GetProvider
- 2018-09-19 14:28:48, Info DISM DISM.EXE:
- 2018-09-19 14:28:48, Info DISM DISM.EXE: <----- Starting Dism.exe session ----->
- 2018-09-19 14:28:48, Info DISM DISM.EXE:
- 2018-09-19 14:28:48, Info DISM DISM.EXE: Host machine information: OS Version=6.1.7601, Running architecture=amd64, Number of processors=1
- 2018-09-19 14:28:48, Info DISM DISM.EXE: Executing command line: Dism /Mount-Wim /WimFile:D:\WinPE_amd64\ISO\sources\boot.wim /index:1 /MountDir:D:\WinPE_amd64\mount
- 2018-09-19 14:28:48, Info DISM DISM Provider Store: PID=740 Getting the collection of providers from a local provider store type. - CDISMProviderStore::GetProviderCollection
- 2018-09-19 14:28:48, Info DISM DISM Provider Store: PID=740 Provider has not previously been encountered. Attempting to initialize the provider. - CDISMProviderStore::Internal_GetProvider
- 2018-09-19 14:28:48, Info DISM DISM Provider Store: PID=740 Loading Provider from location X:\windows\System32\Dism\WimProvider.dll - CDISMProviderStore::Internal_GetProvider
- 2018-09-19 14:28:48, Info DISM DISM Provider Store: PID=740 Connecting to the provider located at X:\windows\System32\Dism\WimProvider.dll. - CDISMProviderStore::Internal_LoadProvider
- 2018-09-19 14:28:48, Info DISM DISM Provider Store: PID=740 Provider has not previously been encountered. Attempting to initialize the provider. - CDISMProviderStore::Internal_GetProvider
- 2018-09-19 14:28:48, Info DISM DISM Provider Store: PID=740 Loading Provider from location X:\windows\System32\Dism\FolderProvider.dll - CDISMProviderStore::Internal_GetProvider
- 2018-09-19 14:28:48, Info DISM DISM Provider Store: PID=740 Connecting to the provider located at X:\windows\System32\Dism\FolderProvider.dll. - CDISMProviderStore::Internal_LoadProvider
- 2018-09-19 14:28:48, Info DISM DISM Provider Store: PID=740 Provider has not previously been encountered. Attempting to initialize the provider. - CDISMProviderStore::Internal_GetProvider
- 2018-09-19 14:28:48, Info DISM DISM Provider Store: PID=740 Loading Provider from location X:\windows\System32\Dism\CompatProvider.dll - CDISMProviderStore::Internal_GetProvider
- 2018-09-19 14:28:48, Info DISM DISM Provider Store: PID=740 Connecting to the provider located at X:\windows\System32\Dism\CompatProvider.dll. - CDISMProviderStore::Internal_LoadProvider
- 2018-09-19 14:28:48, Info DISM DISM.EXE: Got the collection of providers. Now enumerating them to build the command table.
- 2018-09-19 14:28:48, Info DISM DISM.EXE: Attempting to add the commands from provider: WimManager
- 2018-09-19 14:28:48, Info DISM DISM.EXE: Succesfully registered commands for the provider: WimManager.
- 2018-09-19 14:28:48, Info DISM DISM.EXE: Attempting to add the commands from provider: FolderManager
- 2018-09-19 14:28:48, Info DISM DISM.EXE: Attempting to add the commands from provider: DISM Log Provider
- 2018-09-19 14:28:48, Info DISM DISM.EXE: Attempting to add the commands from provider: Compatibility Manager
- 2018-09-19 14:28:48, Info DISM DISM.EXE: Succesfully registered commands for the provider: Compatibility Manager.
- 2018-09-19 14:28:48, Info DISM DISM Provider Store: PID=740 Getting Provider WimManager - CDISMProviderStore::GetProvider
- 2018-09-19 14:28:48, Info DISM DISM Provider Store: PID=740 Provider has previously been initialized. Returning the existing instance. - CDISMProviderStore::Internal_GetProvider
- <font color="Blue">2018-09-19 14:29:05, Error DISM DISM WIM Provider: PID=740 Failed to mount the image. - CWimImageInfo::Mount(hr:0x80070005)
- 2018-09-19 14:29:05, Error DISM DISM WIM Provider: PID=740 d:\w7rtm\base\ntsetup\opktools\dism\providers\wimprovider\dll\wimmanager.cpp:999 - CWimManager::InternalOpMount(hr:0x80070005)
- 2018-09-19 14:29:05, Error DISM DISM WIM Provider: PID=740 d:\w7rtm\base\ntsetup\opktools\dism\providers\wimprovider\dll\wimmanager.cpp:2247 - CWimManager::InternalCmdMount(hr:0x80070005)
- 2018-09-19 14:29:05, Error DISM DISM WIM Provider: PID=740 Error executing command - CWimManager::InternalExecuteCmd(hr:0x80070005)
- 2018-09-19 14:29:05, Error DISM DISM WIM Provider: PID=740 d:\w7rtm\base\ntsetup\opktools\dism\providers\wimprovider\dll\wimmanager.cpp:516 - CWimManager::ExecuteCmdLine(hr:0x80070005)</font>
- 2018-09-19 14:29:05, Info DISM DISM.EXE: Image session has been closed. Reboot required=no.
- 2018-09-19 14:29:05, Info DISM DISM.EXE:
- 2018-09-19 14:29:05, Info DISM DISM.EXE: <----- Ending Dism.exe session ----->
- 2018-09-19 14:29:05, Info DISM DISM.EXE:
- 2018-09-19 14:29:05, Info DISM DISM Image Session: PID=740 Disconnecting the provider store - CDISMImageSession::Final_OnDisconnect
- 2018-09-19 14:29:05, Info DISM DISM Provider Store: PID=740 Disconnecting Provider: WimManager - CDISMProviderStore::Internal_DisconnectProvider
- 2018-09-19 14:29:05, Info DISM DISM Provider Store: PID=740 Disconnecting Provider: FolderManager - CDISMProviderStore::Internal_DisconnectProvider
- 2018-09-19 14:29:05, Info DISM DISM Provider Store: PID=740 Found the OSServices. Waiting to finalize it until all other providers are unloaded. - CDISMProviderStore::Final_OnDisconnect
- 2018-09-19 14:29:05, Info DISM DISM Provider Store: PID=740 Disconnecting Provider: Compatibility Manager - CDISMProviderStore::Internal_DisconnectProvider
- 2018-09-19 14:29:05, Info DISM DISM Provider Store: PID=740 Releasing the local reference to DISMLogger. Stop logging. - CDISMProviderStore::Internal_DisconnectProvider
复制代码
|