[UWP] [桌面应用程序转换器]在设置基本映像时拒绝访问 [英] [UWP] [Desktop App Converter] Access is denied when seting up a Base Image

查看:113
本文介绍了[UWP] [桌面应用程序转换器]在设置基本映像时拒绝访问的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我启用了容器功能,我正处于设置基本映像的阶段。 我在文件夹C中的DAC中使用以下命令:\ tEMP

I have the Containers feature enabled and I am at the stage of setting up a Base Image.  I am using the following command in the DAC in the folder C:\TEMP

DesktopAppConverter.exe -Setup -BaseImage C:\TEMP\BaseImage-16232.wim -Verbose

它开始展开图像OK并且进度条到达接近结尾,但后来我得到了一个例外。 这是日志输出:

It starts to expand the image OK and the progress bar reaches near the end, but then I get an exception.  Here is the log output:

[2017-07-11T13:42:11] Log file can be found in C:\DesktopAppConverter\236c39ac-ffbf-432d-948c-785dc8c7d925\logs\DesktopAppConverterSetup.log
[2017-07-11T13:42:11] Desktop App Converter 2.0.2.release_2017-04-20_15-32_d5d861e622cd5bd166242b726909575b22b31f27
[2017-07-11T13:42:11] --------------------------------------------------


Checking Prerequisites


[2017-07-11T13:42:11] Checking Windows Version to ensure it meets minimum requirements
[2017-07-11T13:42:11] Minimum Windows Version requirement is met.
[2017-07-11T13:42:11] --------------------------------------------------


Running Setup


[2017-07-11T13:42:11] Checking that the Base Image file 'C:\TEMP\BaseImage-16232.wim' exists
[2017-07-11T13:42:11] Ensuring that the Base Image file 'C:\TEMP\BaseImage-16232.wim' is a valid windows image
[2017-07-11T13:42:13] Testing for required Windows feature enabled
[2017-07-11T13:42:14] Testing for required feature enabled...
[2017-07-11T13:42:16] Required feature is enabled. Checking if reboot is required
[2017-07-11T13:42:36] Required feature is enabled.
[2017-07-11T13:42:36] Required Windows feature is enabled
[2017-07-11T13:42:36] Setting up expanded base image
[2017-07-11T13:42:36] Deleting any old expanded base image.
[2017-07-11T13:42:36] Checking if there is OS-Matching expanded base image.
[2017-07-11T13:42:36] Preparing to expand base image
[2017-07-11T13:42:36] Validating Base Image path: C:\TEMP\BaseImage-16232.wim
[2017-07-11T13:42:36] Checking that the Base Image file 'C:\TEMP\BaseImage-16232.wim' exists
[2017-07-11T13:42:36] Ensuring that the Base Image file 'C:\TEMP\BaseImage-16232.wim' is a valid windows image
[2017-07-11T13:42:38] Expanding Base Image (this may take a while)
[2017-07-11T14:01:15] Processing Expanded Base Image at C:\ProgramData\Microsoft\Windows\Images\BaseImage-16232
[2017-07-11T14:01:17] An error occurred converting your application. Here is the full error record: 
[2017-07-11T14:01:17] 

PowerShell Error Record:
Exception calling "ProcessBaseLayer" with "1" argument(s): "Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))"
PowerShell Stack Trace:
at Expand-BaseImage, C:\Program Files\WindowsApps\Microsoft.DesktopAppConverter_2.0.2.0_x64__8wekyb3d8bbwe\converter_util\BaseImageOps.ps1: line 365
at Setup-ExpandedImages, C:\Program Files\WindowsApps\Microsoft.DesktopAppConverter_2.0.2.0_x64__8wekyb3d8bbwe\Setup.ps1: line 227
at Setup-DesktopAppConverter, C:\Program Files\WindowsApps\Microsoft.DesktopAppConverter_2.0.2.0_x64__8wekyb3d8bbwe\Setup.ps1: line 139
at <ScriptBlock><Process>, C:\Program Files\WindowsApps\Microsoft.DesktopAppConverter_2.0.2.0_x64__8wekyb3d8bbwe\DesktopAppConverter.ps1: line 382
at <ScriptBlock>, <No file>: line 1

Inner Exception[0]:
System.Management.Automation.MethodInvocationException: Exception calling "ProcessBaseLayer" with "1" argument(s): "Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))" ---> System.UnauthorizedAccessException: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))
   at Microsoft.Windows.ComputeVirtualization.ContainerStorage.StorageFunctions.ProcessBaseImage(String path)
   at Microsoft.Windows.ComputeVirtualization.ContainerStorage.ProcessBaseLayer(String path)
   at CallSite.Target(Closure , CallSite , Type , Object )
   --- End of inner exception stack trace ---
   at System.Management.Automation.ExceptionHandlingOps.CheckActionPreference(FunctionContext funcContext, Exception exception)
   at System.Management.Automation.Interpreter.ActionCallInstruction`2.Run(InterpretedFrame frame)
   at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame)
   at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame)
   at System.Management.Automation.Interpreter.Interpreter.Run(InterpretedFrame frame)
   at System.Management.Automation.Interpreter.LightLambda.RunVoid1[T0](T0 arg0)
   at System.Management.Automation.PSScriptCmdlet.RunClause(Action`1 clause, Object dollarUnderbar, Object inputToProcess)
   at System.Management.Automation.PSScriptCmdlet.DoEndProcessing()
   at System.Management.Automation.CommandProcessorBase.Complete()
Inner Exception Stack Trace[0]
   at System.Management.Automation.ExceptionHandlingOps.CheckActionPreference(FunctionContext funcContext, Exception exception)
   at System.Management.Automation.Interpreter.ActionCallInstruction`2.Run(InterpretedFrame frame)
   at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame)
   at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame)
   at System.Management.Automation.Interpreter.Interpreter.Run(InterpretedFrame frame)
   at System.Management.Automation.Interpreter.LightLambda.RunVoid1[T0](T0 arg0)
   at System.Management.Automation.PSScriptCmdlet.RunClause(Action`1 clause, Object dollarUnderbar, Object inputToProcess)
   at System.Management.Automation.PSScriptCmdlet.DoEndProcessing()
   at System.Management.Automation.CommandProcessorBase.Complete()

Inner Exception[1]:
System.UnauthorizedAccessException: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))
   at Microsoft.Windows.ComputeVirtualization.ContainerStorage.StorageFunctions.ProcessBaseImage(String path)
   at Microsoft.Windows.ComputeVirtualization.ContainerStorage.ProcessBaseLayer(String path)
   at CallSite.Target(Closure , CallSite , Type , Object )
Inner Exception Stack Trace[1]
   at Microsoft.Windows.ComputeVirtualization.ContainerStorage.StorageFunctions.ProcessBaseImage(String path)
   at Microsoft.Windows.ComputeVirtualization.ContainerStorage.ProcessBaseLayer(String path)
   at CallSite.Target(Closure , CallSite , Type , Object )
[2017-07-11T14:01:17] The full error record is saved in the logs at C:\DesktopAppConverter\236c39ac-ffbf-432d-948c-785dc8c7d925\logs 

我正在使用Windows 10企业内幕预览。 Build 16232.rs_prerelease.170624-1334

I am using Windows 10 Enterprise Insider Preview. Build 16232.rs_prerelease.170624-1334

推荐答案

嗨KevinMalley,


  1. 请以
    管理员
  2. 请运行以下步骤来设置转换器。  你可以参考

    设置几个ings up(仅限安装人员的应用程序)
    。  请严格按照文档中的步骤操作,以避免出现意外问题。
  1. Please run the Desktop App Converter as an administrator
  2. Please run the following steps to set up the converter. You could refer Set a few things up (apps with installers only)Please follow the steps on the document strictly to avoid Unexpected problem.


最好的问候

Roy 





这篇关于[UWP] [桌面应用程序转换器]在设置基本映像时拒绝访问的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆