dism命令使用教程

Deployment Image Servicing and Management (DISM) is a tool that is used to scan and fix the WIM store issues which can affect Windows system files. DISM is a command-line tool and used with the Administrative privileges which means normal users can not use it. It can run currently running Windows operating system files as well as .vim , .vhd .vhdx files. Dism can be run in  MS-DOS or PowerShell without a problem.

Deployment Image Servicing and Management (DISM)是一种工具,用于扫描和修复可能影响Windows系统文件的WIM存储问题。 DISM是一种命令行工具,具有“管理”权限,这意味着普通用户无法使用它。 它可以运行当前正在运行的Windows操作系统文件以及.vim.vhd .vhdx文件。 Dism可以在MS-DOS或PowerShell中运行而不会出现问题。

Dism命令需要提升的权限(管理员模式) (Dism Command Requires Elevated Permissions (Administrator Mode))

Before using Dism we need to know that Dism requires Administrative privileges. For example, when we try to get help information with the /? we will get Error: 740 Elevated permissions are required to run DISM.. So we will start the MS-DOS terminal with Administrative privileges in normal user desktop.

在使用Dism之前,我们需要知道Dism需要管理特权。 例如,当我们尝试使用/?获得帮助信息时/? 我们将得到Error: 740 Elevated permissions are required to run DISM. 。 因此,我们将在普通用户桌面中以“管理”权限启动MS-DOS终端。

Dism Command Requires Elevated Permissions (Administrator Mode)
Dism命令需要提升的权限(管理员模式)

First, we will write the cmd command to the Start Menu like below and then right-click to the Command Prompt which will open a menu. Then click to the Run as administrator which will open the MS-DOS in Administrator mode.

首先,如下所示,我们将cmd命令写入“ Start Menu ,然后右键单击“ Command Prompt ,这将打开一个菜单。 然后单击以Run as administrator身份Run as administrator ,它将以管理员模式打开MS-DOS。

Dism Command Requires Elevated Permissions (Administrator Mode)
Dism命令需要提升的权限(管理员模式)

Dism帮助 (Dism Help)

Dism provides different imaging commands to enumerate, install, uninstall, configure, update. We can list these commands and get information about them with the /? option like below.

Dism提供了不同的映像命令来枚举,安装,卸载,配置,更新。 我们可以列出这些命令并使用/?获得有关它们的信息/? 如下所示的选项。

Dism Help
Dism帮助

扫描图像以更快地发现问题(Scan Image For Problems Faster)

Windows operating system components can be scanned with the following command. /CheckHealth option will scan faster way with fewer details.

可以使用以下命令扫描Windows操作系统组件。 /CheckHealth选项将以更少的详细信息更快地进行扫描。

> dism /Online /Cleanup-Image /CheckHealth

Scan Image For Problems Faster
扫描图像以更快地发现问题

扫描图像以查看速度较慢和详细的问题(Scan Image For Problems Slower and Detailed)

If we want to scan a more detailed way the Windows files or Image we can use /ScanHealth option. This option process will take some time to complete but will provide a more detailed scan result.

如果我们想以更详细的方式扫描Windows文件或图像,可以使用/ScanHealth选项。 此选项过程将花费一些时间,但会提供更详细的扫描结果。

> dism /Online /Cleanup-Image /ScanHealth

Scan Image For Problems Slower and Detailed
扫描图像以查找速度较慢和详细的问题

自动扫描和修复(Scan and Repair Automatically)

If there are problems we can repair them automatically with the /RestoreHealth option.

如果有问题,我们可以使用/RestoreHealth选项自动修复。

> dism /Online /Cleanup-Image /RestoreHealth

Scan and Repair Automatically
自动扫描和修复

指定Windows分区(Specify Windows Partition)

While using dism the current partition will be used to scan Windows operating system files. We can also specify different partitions for Windows operating system files. We will specify the partition with the /Image: option by providing a partition letter. In this example, we will scan the Windows operating system files in partition D:.

使用dism时,当前分区将用于扫描Windows操作系统文件。 我们还可以为Windows操作系统文件指定不同的分区。 我们将通过提供分区字母来使用/Image:选项指定分区。 在此示例中,我们将扫描分区D:的Windows操作系统文件。

> dism /Online /Image:D /Cleanup-Image /ScanHealth

从指定的WIM文件修复 (Repair From Specified WIM File)

While repairing we can use a drive or path in order to specify WIM file. We can specify the WIM file location with the /Source: option and provide the path. In this example, we will use D:\install.wim as WIM file to repair.

修复时,我们可以使用驱动器或路径来指定WIM文件。 我们可以使用/Source:选项指定WIM文件的位置并提供路径。 在此示例中,我们将使用D:\install.wim作为WIM文件进行修复。

> dism /Online /Cleanup-Image /RestoreHealth /Source:D:\install.wim
.ua1ffafe3fceb24ba5346227299722202 , .ua1ffafe3fceb24ba5346227299722202 .postImageUrl , .ua1ffafe3fceb24ba5346227299722202 .centered-text-area { min-height: 80px; position: relative; } .ua1ffafe3fceb24ba5346227299722202 , .ua1ffafe3fceb24ba5346227299722202:hover , .ua1ffafe3fceb24ba5346227299722202:visited , .ua1ffafe3fceb24ba5346227299722202:active { border:0!important; } .ua1ffafe3fceb24ba5346227299722202 .clearfix:after { content: ""; display: table; clear: both; } .ua1ffafe3fceb24ba5346227299722202 { display: block; transition: background-color 250ms; webkit-transition: background-color 250ms; width: 100%; opacity: 1; transition: opacity 250ms; webkit-transition: opacity 250ms; background-color: #ECF0F1; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.17); -moz-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.17); -o-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.17); -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.17); } .ua1ffafe3fceb24ba5346227299722202:active , .ua1ffafe3fceb24ba5346227299722202:hover { opacity: 1; transition: opacity 250ms; webkit-transition: opacity 250ms; background-color: #D35400; } .ua1ffafe3fceb24ba5346227299722202 .centered-text-area { width: 100%; position: relative; } .ua1ffafe3fceb24ba5346227299722202 .ctaText { border-bottom: 0 solid #fff; color: #3498DB; font-size: 16px; font-weight: bold; margin: 0; padding: 0; text-decoration: underline; } .ua1ffafe3fceb24ba5346227299722202 .postTitle { color: #27AE60; font-size: 16px; font-weight: 600; margin: 0; padding: 0; width: 100%; } .ua1ffafe3fceb24ba5346227299722202 .ctaButton { background-color: #e6e6e6!important; color: #3498DB; border: none; border-radius: 3px; box-shadow: none; font-size: 14px; font-weight: bold; line-height: 26px; moz-border-radius: 3px; text-align: center; text-decoration: none; text-shadow: none; width: 80px; min-height: 80px; background: url(https://www.poftut.com/wp-content/plugins/intelly-related-posts/assets/images/simple-arrow.png)no-repeat; position: absolute; right: 0; top: 0; } .ua1ffafe3fceb24ba5346227299722202:hover .ctaButton { background-color: #E67E22!important; } .ua1ffafe3fceb24ba5346227299722202 .centered-text { display: table; height: 80px; padding-left: 18px; top: 0; } .ua1ffafe3fceb24ba5346227299722202 .ua1ffafe3fceb24ba5346227299722202-content { display: table-cell; margin: 0; padding: 0; padding-right: 108px; position: relative; vertical-align: middle; width: 100%; } .ua1ffafe3fceb24ba5346227299722202:after { content: ""; display: block; clear: both; }

LEARN MORE  How To Read And Filter Windows Update Log In Command Line

.ua1ffafe3fceb24ba5346227299722202 , .ua1ffafe3fceb24ba5346227299722202 .postImageUrl , .ua1ffafe3fceb24ba5346227299722202 .centered-text-area { min-height: 80px; position: relative; } .ua1ffafe3fceb24ba5346227299722202 , .ua1ffafe3fceb24ba5346227299722202:hover , .ua1ffafe3fceb24ba5346227299722202:visited , .ua1ffafe3fceb24ba5346227299722202:active { border:0!important; } .ua1ffafe3fceb24ba5346227299722202 .clearfix:after { content: ""; display: table; clear: both; } .ua1ffafe3fceb24ba5346227299722202 { display: block; transition: background-color 250ms; webkit-transition: background-color 250ms; width: 100%; opacity: 1; transition: opacity 250ms; webkit-transition: opacity 250ms; background-color: #ECF0F1; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.17); -moz-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.17); -o-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.17); -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.17); } .ua1ffafe3fceb24ba5346227299722202:active , .ua1ffafe3fceb24ba5346227299722202:hover { opacity: 1; transition: opacity 250ms; webkit-transition: opacity 250ms; background-color: #D35400; } .ua1ffafe3fceb24ba5346227299722202 .centered-text-area { width: 100%; position: relative; } .ua1ffafe3fceb24ba5346227299722202 .ctaText { border-bottom: 0 solid #fff; color: #3498DB; font-size: 16px; font-weight: bold; margin: 0; padding: 0; text-decoration: underline; } .ua1ffafe3fceb24ba5346227299722202 .postTitle { color: #27AE60; font-size: 16px; font-weight: 600; margin: 0; padding: 0; width: 100%; } .ua1ffafe3fceb24ba5346227299722202 .ctaButton { background-color: #e6e6e6!important; color: #3498DB; border: none; border-radius: 3px; box-shadow: none; font-size: 14px; font-weight: bold; line-height: 26px; moz-border-radius: 3px; text-align: center; text-decoration: none; text-shadow: none; width: 80px; min-height: 80px; background: url(https://www.poftut.com/wp-content/plugins/intelly-related-posts/assets/images/simple-arrow.png)no-repeat; position: absolute; right: 0; top: 0; } .ua1ffafe3fceb24ba5346227299722202:hover .ctaButton { background-color: #E67E22!important; } .ua1ffafe3fceb24ba5346227299722202 .centered-text { display: table; height: 80px; padding-left: 18px; top: 0; } .ua1ffafe3fceb24ba5346227299722202 .ua1ffafe3fceb24ba5346227299722202-content { display: table-cell; margin: 0; padding: 0; padding-right: 108px; position: relative; vertical-align: middle; width: 100%; } .ua1ffafe3fceb24ba5346227299722202:after { content: ""; display: block; clear: both; }

了解更多信息如何在命令行中读取和过滤Windows Update登录

翻译自: https://www.poftut.com/dism-command-tutorial-to-repair-windows/

dism命令使用教程

dism命令使用教程_Dism命令教程修复Windows相关推荐

  1. Mysql入门教程--基础命令

    Mysql入门教程--基础命令 #mysql ----------------------------------------------------------------------------- ...

  2. 一丶宝塔+青龙面板安装部署教程及命令-依赖库

    一丶宝塔+青龙面板安装部署教程及命令-依赖库 QQ交流群:1014549449 直达 - 没有服务器的先自行购买,这里推荐腾讯云2H4G首年70 点击购买 建议装centos7.6安装宝塔,后期调试及 ...

  3. 如何在redhat8里使用gcc命令_如何使用DISM命令行工具修复Windows 10映像

    Windows 10 中内置了一个被称为 DISM 的「部署映像服务和管理」命令行工具,该工具从 Windows 8 便开始内置,直到 Windows 10. DISM 命令行工具可用于修复和准备 W ...

  4. Systemd入门教程:命令篇

    Systemd入门教程:命令篇 转自:http://www.ruanyifeng.com/blog/2016/03/systemd-tutorial-commands.html 作者: 阮一峰 日期: ...

  5. 命php令删除文件夹,window_win7系统通过cmd命令提示符的del命令删除文件的详细教程,怎么利用cmd命令提示符的del命 - phpStudy...

    win7系统通过cmd命令提示符的del命令删除文件的详细教程 怎么利用cmd命令提示符的del命令删除文件?cmd命令提示符的功能十分强大,它可以通过一些简单的命令来完成指定的查询.修改.删除等任务 ...

  6. c语言-命令行选项_EWSTM8系列教程06_工程节点选项配置(一)

    说明: 本文原创作者『strongerHuang』 首发于微信公众号『嵌入式专栏』,同时也更新在我的个人网站:EmbeddedDevelop 该教程基于EWSTM8,大部分内容也适用于IAR其它产品( ...

  7. 5.9 使用新建调整图层命令调整图像 [原创Ps教程]

    原文:http://coolketang.com/staticPhotoshop/5a98d4aca22b9d0044369a68.html 1. 本节课程将为您演示,如何使用[调整图层]命令,来调整 ...

  8. 终端 删除php文件内容,Mac_mac命令行终端可以卸载吗?mac命令行终端卸载软件教程,  mac os系统卸载软件方式有 - phpStudy...

    mac命令行终端可以卸载吗?mac命令行终端卸载软件教程 mac os系统卸载软件方式有多种, 卸载工具,程序图标拖拽到垃圾桶皆可,但对顽固残留软件该怎么办呢?今天phpstudy小编就为大家分享ma ...

  9. xp系统如何查看计算机用户,xp查看电脑配置、查看电脑型号详细教程和命令

    如何查看电脑配置.如何查看电脑型号?本文以xp系统查看电脑配置信息作为教程,系统的给大家讲解不用任何软件也可以将电脑的配置信息参数查看清楚,部分步骤需要用到windows操作系统常见的命令来查看,好了 ...

  10. 3D 打印机 G 代码命令:完整列表和教程

    3D 打印机 G 代码命令:完整列表和教程 查看原文 了解 G 代码命令将开启 3D 打印的下一个层次.继续阅读以快速了解此代码的基础知识! 内容 它是什么? 3D 打印的重要命令 G0 & ...

最新文章

  1. 数据有价——数据资产定价研究初探
  2. html 地址坐标图标,浏览器地址栏中显示自定义小图标
  3. 命令行编译 WRK ,windbg 调试
  4. 二维码原理--开胃小知识
  5. Tiniux 3.0 / Memory.c / OSMemFree
  6. 02_Jquery_02_元素选择器
  7. onmounted vue3_基于项目时间阐述vue3.0新型状态管理和逻辑复用方式
  8. CSS3笔记之基础篇(二)颜色和渐变色彩
  9. 新手学完Java可以面试哪些岗位?
  10. centos python_在centos上配置python的虚拟开发环境
  11. hyper-v 安装centos7 后,虚拟机无法访问网络。
  12. oracle数据库的字符集更改
  13. 使用Enide Studio 2014 IDE进行Express JS路由
  14. Acrel 2000E/G配电室综合监控系统
  15. 批量合成bilibili的m4s缓存文件为MP4格式 ver2.5
  16. 大数据查询语句SQL
  17. Cosy V3.1.3 简洁大气WordPress博客主题自适应个人自媒体网站模板(含积木部分插件)
  18. mysql设置id起点_mysql自增ID起始值修改方法
  19. 2017 AMC8中文
  20. mysql取当前月份两位数_SQL获取当前时间月份为两位数

热门文章

  1. linux下jdk1.8搭建笔记
  2. c++ 编译代码时Link失败,无法关闭目标文件
  3. 解决qt调试时Unknown debugger type No Engine
  4. C语言学习资料教程 | 免费下载
  5. 剖析基于TUN/TAP虚拟网卡游戏加速器原理
  6. c语言实现 网络嗅探程序代码,C语言实现网络嗅探器
  7. nc 连接文件服务器失败,nc文件服务器
  8. 交叉火力dsp手机调音软件_DSP调音软件手机版下载-DSP音效处理器app下载 v1.0 安卓版-都去下载...
  9. php100视频教程(全集)
  10. c语言程序设计 考试报名管理系统,C语言程序设计考试题库