none
wimファイルをapply-imageするとアクセスが拒否されました。とでてイメージが適応されません。 RRS feed

  • 質問

  • win10の旧PCのCドライブをキャプチャし新しいSSDを入れた同じ機種のwin10に

    dism /apply-image /imagefile:"D:\win10.wim" /index:1 /applydir:c:\

    としたところ、アクセスが拒否されました。とでましてイメージが適応されません。

    どうしたらイメージ適応できますでしょうか?

    以下はエラーのアクセスログです。

    2017-04-01 22:29:22, Info                  DISM   PID=1448 TID=1452 Scratch directory set to 'X:\windows\TEMP\'. - CDISMManager::put_ScratchDir
    2017-04-01 22:29:22, Info                  DISM   PID=1448 TID=1452 DismCore.dll version: 10.0.14393.0 - CDISMManager::FinalConstruct
    2017-04-01 22:29:22, Info                  DISM   Try to initialize Panther logging 1 times, last error: 0x0
    2017-04-01 22:29:22, Info                  DISM   PID=1448 TID=1452 Successfully loaded the ImageSession at "X:\windows\System32\Dism" - CDISMManager::LoadLocalImageSession
    2017-04-01 22:29:22, Info                  DISM   Try to initialize Panther logging 1 times, last error: 0x0
    2017-04-01 22:29:22, Info                  DISM   DISM Provider Store: PID=1448 TID=1452 Found and Initialized the DISM Logger. - CDISMProviderStore::Internal_InitializeLogger
    2017-04-01 22:29:22, Info                  DISM   DISM Provider Store: PID=1448 TID=1452 Failed to get and initialize the PE Provider.  Continuing by assuming that it is not a WinPE image. - CDISMProviderStore::Final_OnConnect
    2017-04-01 22:29:22, Info                  DISM   DISM Provider Store: PID=1448 TID=1452 Finished initializing the Provider Map. - CDISMProviderStore::Final_OnConnect
    2017-04-01 22:29:22, Info                  DISM   DISM Provider Store: PID=1448 TID=1452 Getting Provider DISMLogger - CDISMProviderStore::GetProvider
    2017-04-01 22:29:22, Info                  DISM   DISM Provider Store: PID=1448 TID=1452 Provider has previously been initialized.  Returning the existing instance. - CDISMProviderStore::Internal_GetProvider
    2017-04-01 22:29:22, Info                  DISM   Try to initialize Panther logging 1 times, last error: 0x0
    2017-04-01 22:29:22, Info                  DISM   DISM Provider Store: PID=1448 TID=1452 Getting Provider DISMLogger - CDISMProviderStore::GetProvider
    2017-04-01 22:29:22, Info                  DISM   DISM Provider Store: PID=1448 TID=1452 Provider has previously been initialized.  Returning the existing instance. - CDISMProviderStore::Internal_GetProvider
    2017-04-01 22:29:22, Info                  DISM   DISM Manager: PID=1448 TID=1452 Successfully created the local image session and provider store. - CDISMManager::CreateLocalImageSession
    2017-04-01 22:29:22, Info                  DISM   DISM Provider Store: PID=1448 TID=1452 Getting Provider DISMLogger - CDISMProviderStore::GetProvider
    2017-04-01 22:29:22, Info                  DISM   DISM Provider Store: PID=1448 TID=1452 Provider has previously been initialized.  Returning the existing instance. - CDISMProviderStore::Internal_GetProvider
    2017-04-01 22:29:22, Info                  DISM   DISM.EXE:
    2017-04-01 22:29:22, Info                  DISM   DISM.EXE: <----- Starting Dism.exe session ----->
    2017-04-01 22:29:22, Info                  DISM   DISM.EXE:
    2017-04-01 22:29:22, Info                  DISM   DISM.EXE: Host machine information: OS Version=10.0.14393, Running architecture=amd64, Number of processors=2
    2017-04-01 22:29:22, Info                  DISM   DISM.EXE: Dism.exe version: 10.0.14393.0
    2017-04-01 22:29:22, Info                  DISM   DISM.EXE: Executing command line: dism  /apply-image /imagefile:"D:\win10.wim" /index:1 /applydir:c:\
    2017-04-01 22:29:22, Info                  DISM   DISM Provider Store: PID=1448 TID=1452 Getting the collection of providers from a local provider store type. - CDISMProviderStore::GetProviderCollection
    2017-04-01 22:29:22, Info                  DISM   DISM Provider Store: PID=1448 TID=1452 Provider has not previously been encountered.  Attempting to initialize the provider. - CDISMProviderStore::Internal_GetProvider
    2017-04-01 22:29:22, Info                  DISM   DISM Provider Store: PID=1448 TID=1452 Loading Provider from location X:\windows\System32\Dism\FolderProvider.dll - CDISMProviderStore::Internal_GetProvider
    2017-04-01 22:29:22, Info                  DISM   DISM Provider Store: PID=1448 TID=1452 Connecting to the provider located at X:\windows\System32\Dism\FolderProvider.dll. - CDISMProviderStore::Internal_LoadProvider
    2017-04-01 22:29:22, Info                  DISM   DISM Provider Store: PID=1448 TID=1452 Provider has not previously been encountered.  Attempting to initialize the provider. - CDISMProviderStore::Internal_GetProvider
    2017-04-01 22:29:22, Info                  DISM   DISM Provider Store: PID=1448 TID=1452 Loading Provider from location X:\windows\System32\Dism\WimProvider.dll - CDISMProviderStore::Internal_GetProvider
    2017-04-01 22:29:22, Info                  DISM   DISM Provider Store: PID=1448 TID=1452 Connecting to the provider located at X:\windows\System32\Dism\WimProvider.dll. - CDISMProviderStore::Internal_LoadProvider
    2017-04-01 22:29:23, Info                  DISM   DISM Provider Store: PID=1448 TID=1452 Provider has not previously been encountered.  Attempting to initialize the provider. - CDISMProviderStore::Internal_GetProvider
    2017-04-01 22:29:23, Info                  DISM   DISM Provider Store: PID=1448 TID=1452 Loading Provider from location X:\windows\System32\Dism\VHDProvider.dll - CDISMProviderStore::Internal_GetProvider
    2017-04-01 22:29:23, Info                  DISM   DISM Provider Store: PID=1448 TID=1452 Connecting to the provider located at X:\windows\System32\Dism\VHDProvider.dll. - CDISMProviderStore::Internal_LoadProvider
    2017-04-01 22:29:23, Info                  DISM   DISM Provider Store: PID=1448 TID=1452 Provider has not previously been encountered.  Attempting to initialize the provider. - CDISMProviderStore::Internal_GetProvider
    2017-04-01 22:29:23, Info                  DISM   DISM Provider Store: PID=1448 TID=1452 Loading Provider from location X:\windows\System32\Dism\ImagingProvider.dll - CDISMProviderStore::Internal_GetProvider
    2017-04-01 22:29:23, Info                  DISM   DISM Provider Store: PID=1448 TID=1452 Connecting to the provider located at X:\windows\System32\Dism\ImagingProvider.dll. - CDISMProviderStore::Internal_LoadProvider
    2017-04-01 22:29:23, Info                  DISM   DISM Provider Store: PID=1448 TID=1452 Provider has not previously been encountered.  Attempting to initialize the provider. - CDISMProviderStore::Internal_GetProvider
    2017-04-01 22:29:23, Info                  DISM   DISM Provider Store: PID=1448 TID=1452 Loading Provider from location X:\windows\System32\Dism\CompatProvider.dll - CDISMProviderStore::Internal_GetProvider
    2017-04-01 22:29:23, Info                  DISM   DISM Provider Store: PID=1448 TID=1452 Connecting to the provider located at X:\windows\System32\Dism\CompatProvider.dll. - CDISMProviderStore::Internal_LoadProvider
    2017-04-01 22:29:23, Info                  DISM   DISM Provider Store: PID=1448 TID=1452 Provider has not previously been encountered.  Attempting to initialize the provider. - CDISMProviderStore::Internal_GetProvider
    2017-04-01 22:29:23, Info                  DISM   DISM Provider Store: PID=1448 TID=1452 Loading Provider from location X:\windows\System32\Dism\FfuProvider.dll - CDISMProviderStore::Internal_GetProvider
    2017-04-01 22:29:23, Info                  DISM   DISM Provider Store: PID=1448 TID=1452 Connecting to the provider located at X:\windows\System32\Dism\FfuProvider.dll. - CDISMProviderStore::Internal_LoadProvider
    2017-04-01 22:29:23, Info                  DISM   DISM Provider Store: PID=1448 TID=1452 Provider has not previously been encountered.  Attempting to initialize the provider. - CDISMProviderStore::Internal_GetProvider
    2017-04-01 22:29:23, Info                  DISM   DISM Provider Store: PID=1448 TID=1452 Loading Provider from location X:\windows\System32\Dism\SiloedPackageProvider.dll - CDISMProviderStore::Internal_GetProvider
    2017-04-01 22:29:23, Warning               DISM   DISM Provider Store: PID=1448 TID=1452 Failed to Load the provider: X:\windows\System32\Dism\SiloedPackageProvider.dll. - CDISMProviderStore::Internal_GetProvider(hr:0x8007007e)
    2017-04-01 22:29:23, Info                  DISM   DISM.EXE: Got the collection of providers. Now enumerating them to build the command table.
    2017-04-01 22:29:23, Info                  DISM   DISM.EXE: Attempting to add the commands from provider: DISM Log Provider
    2017-04-01 22:29:23, Info                  DISM   DISM.EXE: Attempting to add the commands from provider: FolderManager
    2017-04-01 22:29:23, Info                  DISM   DISM.EXE: Attempting to add the commands from provider: WimManager
    2017-04-01 22:29:23, Info                  DISM   DISM.EXE: Succesfully registered commands for the provider: WimManager.
    2017-04-01 22:29:23, Info                  DISM   DISM.EXE: Attempting to add the commands from provider: VHDManager
    2017-04-01 22:29:23, Info                  DISM   DISM.EXE: Attempting to add the commands from provider: GenericImagingManager
    2017-04-01 22:29:23, Info                  DISM   DISM.EXE: Succesfully registered commands for the provider: GenericImagingManager.
    2017-04-01 22:29:23, Info                  DISM   DISM.EXE: Attempting to add the commands from provider: Compatibility Manager
    2017-04-01 22:29:23, Info                  DISM   DISM.EXE: Succesfully registered commands for the provider: Compatibility Manager.
    2017-04-01 22:29:23, Info                  DISM   DISM.EXE: Attempting to add the commands from provider: FfuManager
    2017-04-01 22:29:23, Info                  DISM   DISM Provider Store: PID=1448 TID=1452 Getting Provider GenericImagingManager - CDISMProviderStore::GetProvider
    2017-04-01 22:29:23, Info                  DISM   DISM Provider Store: PID=1448 TID=1452 Provider has previously been initialized.  Returning the existing instance. - CDISMProviderStore::Internal_GetProvider
    2017-04-01 22:29:23, Info                  DISM   DISM Provider Store: PID=1448 TID=1452 Getting Provider WimManager - CDISMProviderStore::GetProvider
    2017-04-01 22:29:23, Info                  DISM   DISM Provider Store: PID=1448 TID=1452 Provider has previously been initialized.  Returning the existing instance. - CDISMProviderStore::Internal_GetProvider
    [1448] [0x80070005] RestoreDirMetadata:(2427): アクセスが拒否されました。
    [1448] [0x8144012d]
    2017-04-01 22:29:25, Warning               DISM   DISM WIM Provider: PID=1448 [RestoreDirMetadata:(2433) -> Error restoring directory metadata] c:\Program Files\WindowsApps\Microsoft.3DBuilder_11.0.47.0_neutral_split.language-ja_8wekyb3d8bbwe (HRESULT=0x80070005) - CWimManager::WimProviderMsgLogCallback
    [1448] [0x80070005] RestoreDirMetadata:(2575): アクセスが拒否されました。
    [1448] [0x80070005] WimCreateDirectory:(3097): アクセスが拒否されました。
    [1448] [0xc144012e]
    2017-04-01 22:29:25, Error                 DISM   DISM WIM Provider: PID=1448 c:\Program Files\WindowsApps\Microsoft.3DBuilder_11.0.47.0_neutral_split.language-ja_8wekyb3d8bbwe (HRESULT=0x80070005) - CWimManager::WimProviderMsgLogCallback
    [1448] [0x80070005] RestoreDirTree:(3348): アクセスが拒否されました。
    [1448] [0x80070005] WIMApplyImageInternal:(709): アクセスが拒否されました。
    2017-04-01 22:29:25, Error                 DISM   DISM WIM Provider: PID=1448 TID=1452 onecore\base\ntsetup\opktools\dism\providers\wimprovider\dll\wimmanager.cpp:1054 - CWimManager::Apply(hr:0x80070005)
    2017-04-01 22:29:25, Error                 DISM   DISM Imaging Provider: PID=1448 TID=1452 onecore\base\ntsetup\opktools\dism\providers\imagingprovider\dll\genericimagingmanager.cpp:2535 - CGenericImagingManager::InternalCmdWimApply(hr:0x80070005)
    2017-04-01 22:29:25, Error                 DISM   DISM Imaging Provider: PID=1448 TID=1452 onecore\base\ntsetup\opktools\dism\providers\imagingprovider\dll\genericimagingmanager.cpp:535 - CGenericImagingManager::ExecuteCmdLine(hr:0x80070005)
    2017-04-01 22:29:25, Info                  DISM   DISM.EXE: Image session has been closed. Reboot required=no.
    2017-04-01 22:29:25, Info                  DISM   DISM.EXE:
    2017-04-01 22:29:25, Info                  DISM   DISM.EXE: <----- Ending Dism.exe session ----->
    2017-04-01 22:29:25, Info                  DISM   DISM.EXE:
    2017-04-01 22:29:25, Info                  DISM   DISM Provider Store: PID=1448 TID=1452 Found the OSServices.  Waiting to finalize it until all other providers are unloaded. - CDISMProviderStore::Final_OnDisconnect
    2017-04-01 22:29:25, Info                  DISM   DISM Provider Store: PID=1448 TID=1452 Disconnecting Provider: FolderManager - CDISMProviderStore::Internal_DisconnectProvider
    2017-04-01 22:29:25, Info                  DISM   DISM Provider Store: PID=1448 TID=1452 Disconnecting Provider: WimManager - CDISMProviderStore::Internal_DisconnectProvider
    2017-04-01 22:29:25, Info                  DISM   DISM Provider Store: PID=1448 TID=1452 Disconnecting Provider: VHDManager - CDISMProviderStore::Internal_DisconnectProvider
    2017-04-01 22:29:25, Info                  DISM   DISM Provider Store: PID=1448 TID=1452 Disconnecting Provider: GenericImagingManager - CDISMProviderStore::Internal_DisconnectProvider
    2017-04-01 22:29:25, Info                  DISM   DISM Provider Store: PID=1448 TID=1452 Disconnecting Provider: Compatibility Manager - CDISMProviderStore::Internal_DisconnectProvider
    2017-04-01 22:29:25, Info                  DISM   DISM Provider Store: PID=1448 TID=1452 Disconnecting Provider: FfuManager - CDISMProviderStore::Internal_DisconnectProvider
    2017-04-01 22:29:25, Info                  DISM   DISM Provider Store: PID=1448 TID=1452 Releasing the local reference to DISMLogger.  Stop logging. - CDISMProviderStore::Internal_DisconnectProvider

    2017年4月1日 13:47

回答