AskOverflow.Dev

AskOverflow.Dev Logo AskOverflow.Dev Logo

AskOverflow.Dev Navigation

  • 主页
  • 系统&网络
  • Ubuntu
  • Unix
  • DBA
  • Computer
  • Coding
  • LangChain

Mobile menu

Close
  • 主页
  • 系统&网络
    • 最新
    • 热门
    • 标签
  • Ubuntu
    • 最新
    • 热门
    • 标签
  • Unix
    • 最新
    • 标签
  • DBA
    • 最新
    • 标签
  • Computer
    • 最新
    • 标签
  • Coding
    • 最新
    • 标签
主页 / server / 问题 / 592346
Accepted
MDMoore313
MDMoore313
Asked: 2014-05-01 10:14:46 +0800 CST2014-05-01 10:14:46 +0800 CST 2014-05-01 10:14:46 +0800 CST

尝试使用 Powershell 在 Windows 7 中安装 WinPE 5 wim 时出现错误 0x8007007e

  • 772

使用适用于 Windows 8.1 的 ADK,以及随附的 DISM cmdlet。我安装了 WMF 4.0。我的机器是 Windows 7 x64 SP1,我正在尝试使用

PS C:\Users\BigHomie> Mount-WindowsImage -ImagePath 'C:\Program Files (x86)\Windows
Kits\8.1\Assessment and Deployment Kit\Windows Preinstallation Environment\x86\
en-us\winpe.wim' -Path C:\WinPE_x86 -index 1

并收到以下错误:

Mount-WindowsImage : DismInitialize failed. Error code = 0x8007007e
At line:1 char:1
+ Mount-WindowsImage -ImagePath 'C:\Program Files (x86)\Windows
Kits\8.1\Assessmen ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~
    + CategoryInfo          : NotSpecified: (:) [Mount-WindowsImage], COMExcep
   tion
    + FullyQualifiedErrorId : Microsoft.Dism.Commands.MountWindowsImageCommand

使用 dism.exe 工作正常。

更新

忘记了我有这个问题,我去使用 Powershell ISE 安装了一个 wim,实际上得到了一个关于的视觉错误消息

"C:\Program Files (x86)\Windows Kits\8.1\Assessment and Deployment Kit\Deployment Tools\x86\DISM\api-ms-win-downlevel-advapi32-l4-1-0.dll" 

没有被安装。在检查该 dll 确实存在于我调用 regsvr32 的文件夹中并收到另一条错误消息后

在此处输入图像描述

将尝试按照建议重新安装。

powershell
  • 1 1 个回答
  • 2634 Views

1 个回答

  • Voted
  1. Best Answer
    user220961
    2014-05-24T03:16:45+08:002014-05-24T03:16:45+08:00

    将 dism 模块的路径添加到环境变量路径示例:$env:Path = ($env:Path + ";C:\Program Files (x86)\Windows Kits\8.1\Assessment and Deployment Kit\Deployment Tools\amd64 \DISM")

    • 2

相关问题

  • 资源锁和电源外壳

  • 脚本 - 如何断开远程桌面会话?

  • 如何限制向通讯组发送到外部地址?

  • Powershell对值与数组的作用不同?

  • Windows Powershell Vim 键绑定

Sidebar

Stats

  • 问题 205573
  • 回答 270741
  • 最佳答案 135370
  • 用户 68524
  • 热门
  • 回答
  • Marko Smith

    新安装后 postgres 的默认超级用户用户名/密码是什么?

    • 5 个回答
  • Marko Smith

    SFTP 使用什么端口?

    • 6 个回答
  • Marko Smith

    命令行列出 Windows Active Directory 组中的用户?

    • 9 个回答
  • Marko Smith

    什么是 Pem 文件,它与其他 OpenSSL 生成的密钥文件格式有何不同?

    • 3 个回答
  • Marko Smith

    如何确定bash变量是否为空?

    • 15 个回答
  • Martin Hope
    Tom Feiner 如何按大小对 du -h 输出进行排序 2009-02-26 05:42:42 +0800 CST
  • Martin Hope
    Noah Goodrich 什么是 Pem 文件,它与其他 OpenSSL 生成的密钥文件格式有何不同? 2009-05-19 18:24:42 +0800 CST
  • Martin Hope
    Brent 如何确定bash变量是否为空? 2009-05-13 09:54:48 +0800 CST
  • Martin Hope
    cletus 您如何找到在 Windows 中打开文件的进程? 2009-05-01 16:47:16 +0800 CST

热门标签

linux nginx windows networking ubuntu domain-name-system amazon-web-services active-directory apache-2.4 ssh

Explore

  • 主页
  • 问题
    • 最新
    • 热门
  • 标签
  • 帮助

Footer

AskOverflow.Dev

关于我们

  • 关于我们
  • 联系我们

Legal Stuff

  • Privacy Policy

Language

  • Pt
  • Server
  • Unix

© 2023 AskOverflow.DEV All Rights Reserve