尝试使用Mount-WindowsImage cmdlet装入install.wim文件时出现“拒绝访问”错误

当我尝试安装一个Windows映像来应用更新,以便我可以使用WDS进行批量部署时,出现拒绝访问错误。 以下是我运行的命令的一个示例,以及Windows Server 2012 R2 Datacenter操作系统向我发出的错误。

Mount-WindowsImage -ImagePath "F:\sources\install.wim" -Path "D:\MountPoint" -Index 2 Mount-WindowsImage : You do not have permissions to mount and modify this image. Verify that you have Read/Write permissions or mount the image using the /ReadOnly option. Note that you cannot commit changes to an image with read-only permissions. 

我正在尝试安装的映像是Windows 8.1 Pro映像。 WDS服务器是在Server 2012 R2 Datacenter主机上运行在Hyper-V之上的虚拟机。 我以完整的pipe理权限login。

有谁知道如何解决这个访问被拒绝的错误?

你是直接从disk / iso挂载install.wim的吗? 如果是这样,请尝试先将其从磁盘/ iso中复制出来(例如,复制到D:\ wim \ install.wim),然后重试。