<div id="article_details" class="details">
<div class="article_title">
<span class="ico ico_type_Original"></span>
<h1>
<span class="link_title"><a href="/pclzr/article/details/6064725">
Windows部署——Dism命令工具(1)
</a></span>
</h1>
</div>
<div class="article_manage clearfix">
<div class="article_l">
<span class="link_categories">
标签:
<a href="http://www.csdn.net/tag/windows" target="_blank" οnclick="_gaq.push(['_trackEvent','function', 'onclick', 'blog_articles_tag']);">windows</a><a href="http://www.csdn.net/tag/%e5%b7%a5%e5%85%b7" target="_blank" οnclick="_gaq.push(['_trackEvent','function', 'onclick', 'blog_articles_tag']);">工具</a><a href="http://www.csdn.net/tag/%e8%af%ad%e8%a8%80" target="_blank" οnclick="_gaq.push(['_trackEvent','function', 'onclick', 'blog_articles_tag']);">语言</a><a href="http://www.csdn.net/tag/%e5%be%ae%e8%bd%af" target="_blank" οnclick="_gaq.push(['_trackEvent','function', 'onclick', 'blog_articles_tag']);">微软</a>
</span>
</div>
<div class="article_r">
<span class="link_postdate">2010-12-09 10:08</span>
<span class="link_view" title="阅读次数">5191人阅读</span>
<span class="link_comments" title="评论次数"> <a href="#comments" οnclick="_gaq.push(['_trackEvent','function', 'onclick', 'blog_articles_pinglun'])">评论</a>(1)</span>
<span class="link_collect tracking-ad" data-mod="popu_171"> <a href="javascript:void(0);" οnclick="javascript:collectArticle('Windows%e9%83%a8%e7%bd%b2%e2%80%94%e2%80%94Dism%e5%91%bd%e4%bb%a4%e5%b7%a5%e5%85%b7%ef%bc%881%ef%bc%89','6064725');return false;" title="收藏">收藏</a></span>
<span class="link_report"> <a href="#report" οnclick="javascript:report(6064725,2);return false;" title="举报">举报</a></span>
</div>
</div>
<div class="embody" style="display:none" id="embody">
<span class="embody_t">本文章已收录于:</span>
<div class="embody_c" id="lib" value="{"err":0,"msg":"ok","data":[]}"></div>
</div>
<style type="text/css">
.embody{
padding:10px 10px 10px;
margin:0 -20px;
border-bottom:solid 1px #ededed;
}
.embody_b{
margin:0 ;
padding:10px 0;
}
.embody .embody_t,.embody .embody_c{
display: inline-block;
margin-right:10px;
}
.embody_t{
font-size: 12px;
color:#999;
}
.embody_c{
font-size: 12px;
}
.embody_c img,.embody_c em{
display: inline-block;
vertical-align: middle;
}
.embody_c img{
width:30px;
height:30px;
}
.embody_c em{
margin: 0 20px 0 10px;
color:#333;
font-style: normal;
}
</style>
<script type="text/javascript">
$(function () {
try
{
var lib = eval("("+$("#lib").attr("value")+")");
var html = "";
if (lib.err == 0) {
$.each(lib.data, function (i) {
var obj = lib.data[i];
//html += '<img src="' + obj.logo + '"/>' + obj.name + " ";
html += ' <a href="' + obj.url + '" target="_blank">';
html += ' <img src="' + obj.logo + '">';
html += ' <em><b>' + obj.name + '</b></em>';
html += ' </a>';
});
if (html != "") {
setTimeout(function () {
$("#lib").html(html);
$("#embody").show();
}, 100);
}
}
} catch (err)
{ }
});
</script>
<div class="category clearfix">
<div class="category_l">
<img src="http://static.blog.csdn.net/images/category_icon.jpg">
<span>分类:</span>
</div>
<div class="category_r">
<label οnclick="GetCategoryArticles('763569','pclzr','top','6064725');">
<span οnclick="_gaq.push(['_trackEvent','function', 'onclick', 'blog_articles_fenlei']);">windows 部署<em>(5)</em></span>
<img class="arrow-down" src="http://static.blog.csdn.net/images/arrow_triangle _down.jpg" style="display:inline;">
<img class="arrow-up" src="http://static.blog.csdn.net/images/arrow_triangle_up.jpg" style="display:none;">
<div class="subItem">
<div class="subItem_t"><a href="http://blog.csdn.net/pclzr/article/category/763569" target="_blank">作者同类文章</a><i class="J_close">X</i></div>
<ul class="subItem_l" id="top_763569">
</ul>
</div>
</label>
</div>
</div>
<script type="text/javascript" src="http://static.blog.csdn.net/scripts/category.js"></script>
<div class="bog_copyright">
<p class="copyright_p">版权声明:本文为博主原创文章,未经博主允许不得转载。</p>
</div>
<div id="article_content" class="article_content">
<blockquote> <p align="left">微软在Windows 7中推出了新的封装工具——Dism,其中常见命令如下:</p> <p><strong>1、dism /get-wiminfo :获取Windows映像信息 <br></strong> Windows 7/2008的映像中封装了当前系统的所有版本,在进行系统不熟前首先要确定安装那一个版本,比如想获取光驱中Windows 7的安装版本和每个版本所对应的索引号,可执行”dism /get-wiminfo /wimfile:<font color="#ff0000">f:sources/install.wim</font>“命令(红色部分为映像路径);执行后显示界面如下: <br> <a href="http://hi.csdn.net/attachment/201012/9/0_1291860531im21.gif"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://hi.csdn.net/attachment/201012/9/0_1291860531d0iF.gif" width="504" height="471"></a> </p> <p><strong>2、dism /mount-wim :装载Windows映像 <br></strong> 要将Windows 7映像中的ULTIMATE版装载到D盘的ULTIMATE版目录中,可执行”dism /mount-wim /wimfile:<font color="#ff0000">f:/sources/install.wim</font> /index:<font color="#ff0000">5 </font>/mountdi <br>r:<font color="#ff0000">d:/ultimate</font><font color="#800080"> /readonly</font>“;其中:”<font color="#ff0000">f:/sources/install.wim“</font>为Windows7映像目录,”index:<font color="#ff0000">5</font><font color="#000000">“中的5表示用上条命令查看到的ultimate版本所对应的索引值, ”</font><font color="#ff0000"><font color="#ff0000">d:/ultimate</font> </font><font color="#000000">“为装载到硬盘的目录,必须在D盘中存在,如果你直接从光盘加载Windows映像,则该映像为只读属性,故最后要加一个参数:<strong>readonly </strong>,如果是将Windows映像复制到硬盘上,且属性设为可写,则可取掉readonly参数; <br><a href="http://hi.csdn.net/attachment/201012/9/0_1291860535WT4R.gif"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://hi.csdn.net/attachment/201012/9/0_1291860535Um4A.gif" width="504" height="187"></a> </font></p> <p><strong>3、dism /get-mountedwiminfo :获取装载Windows映像的信息 <br></strong> 查询系统中装载了哪些映像以及装载的影像的信息,可用“dism /get-mountedwiminfo”进行获取 <br><a href="http://hi.csdn.net/attachment/201012/9/0_1291860536xXlZ.gif"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://hi.csdn.net/attachment/201012/9/0_1291860536j0sp.gif" width="504" height="223"></a> <br><strong>4、dism /image : 对Windows映像进行操作 <br></strong> 要对映像进行操作,必须保证映像可写,在第二步 不能直接对光盘映像进行挂载,需要将install.wim复制到硬盘,再进行挂载,并且挂在时<font color="#ff0000">不要使用readonly参数,</font><font color="#000000">对映像最常</font>见的操作就是向Windows映像中添加设备驱动程序,比如我们希望向映像中添加网卡驱动,可以执行:”dism /image:<font color="#ff0000">d:/ultimate</font> /add-driver /driver:<font color="#ff0000">d:/drivers/b44win.inf</font>“其中<font color="#ff0000">d:/ultimate</font>为挂载映像的目录,<font color="#ff0000">d:/drivers/b44win.inf</font>为驱动程序的路径; <br><a href="http://hi.csdn.net/attachment/201012/9/0_1291860536GWIN.gif"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://hi.csdn.net/attachment/201012/9/0_1291860537DUiM.gif" width="504" height="200"></a> <br>我们也可以对映像做其他操作:添加语言包、程序等; <br><strong>5、dism /unmount-wim : 对Windows映像进行保存并卸载 <br></strong> 对上面修改后的映像进行保存并卸载,可执行命令:”dism /unmount-wim /mountdir:<font color="#ff0000">d:/ultimate</font> /c<font color="#800080">ommit</font>“其中<font color="#ff0000">d:/ultimate</font> 为挂载映像的目录,c<font color="#800080">ommit</font>表示保存修改,如果不想保存修改,只想卸载映像,可以将commit 参数改为discard; <br><a href="http://hi.csdn.net/attachment/201012/9/0_1291860537n9c6.gif"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://hi.csdn.net/attachment/201012/9/0_12918605380KbN.gif" width="504" height="188"></a></p></blockquote>
</div>
<!-- Baidu Button BEGIN -->
<div class="bdsharebuttonbox tracking-ad" style="float: right;" data-mod="popu_172">
<a href="#" class="bds_more" data-cmd="more" style="background-position:0 0 !important; background-image: url(http://bdimg.share.baidu.com/static/api/img/share/icons_0_16.png?v=d754dcc0.png) !important"></a>
<a href="#" class="bds_qzone" data-cmd="qzone" title="分享到QQ空间" style="background-position:0 -52px !important"></a>
<a href="#" class="bds_tsina" data-cmd="tsina" title="分享到新浪微博" style="background-position:0 -104px !important"></a>
<a href="#" class="bds_tqq" data-cmd="tqq" title="分享到腾讯微博" style="background-position:0 -260px !important"></a>
<a href="#" class="bds_renren" data-cmd="renren" title="分享到人人网" style="background-position:0 -208px !important"></a>
<a href="#" class="bds_weixin" data-cmd="weixin" title="分享到微信" style="background-position:0 -1612px !important"></a>
</div>
<script>window._bd_share_config = { "common": { "bdSnsKey": {}, "bdText": "", "bdMini": "1", "bdMiniList": false, "bdPic": "", "bdStyle": "0", "bdSize": "16" }, "share": {} }; with (document) 0[(getElementsByTagName('head')[0] || body).appendChild(createElement('script')).src = 'http://bdimg.share.baidu.com/static/api/js/share.js?v=89860593.js?cdnversion=' + ~(-new Date() / 36e5)];</script>
<!-- Baidu Button END -->
<link rel="stylesheet" href="http://static.blog.csdn.net/css/blog_detail.css">
<!--172.16.140.12-->
<!-- Baidu Button BEGIN -->
<script type="text/javascript" id="bdshare_js" data="type=tools&uid=1536434"></script>
<script type="text/javascript" id="bdshell_js" src="http://bdimg.share.baidu.com/static/js/shell_v2.js?cdnversion=412280"></script>
<script type="text/javascript">
document.getElementById("bdshell_js").src = "http://bdimg.share.baidu.com/static/js/shell_v2.js?cdnversion=" + Math.ceil(new Date()/3600000)
</script>
<!-- Baidu Button END -->
<div id="digg" articleid="6064725">
<dl id="btnDigg" class="digg digg_enable" οnclick="btndigga();">
<dt>顶</dt>
<dd>0</dd>
</dl>
<dl id="btnBury" class="digg digg_enable" οnclick="btnburya();">
<dt>踩</dt>
<dd>0</dd>
</dl>
</div>
<div class="tracking-ad" data-mod="popu_222"><a href="javascript:void(0);"> </a> </div>
<div class="tracking-ad" data-mod="popu_223"> <a href="javascript:void(0);"> </a></div>
<script type="text/javascript">
function btndigga() {
$(".tracking-ad[data-mod='popu_222'] a").click();
}
function btnburya() {
$(".tracking-ad[data-mod='popu_223'] a").click();
}
</script>
<ul class="article_next_prev">
<li class="prev_article"><span οnclick="_gaq.push(['_trackEvent','function', 'onclick', 'blog_articles_shangyipian']);location.href='/pclzr/article/details/6064725';">上一篇</span><a href="/pclzr/article/details/6064725" οnclick="_gaq.push(['_trackEvent','function', 'onclick', 'blog_articles_shangyipian'])">Windows部署——Dism命令工具(1)</a></li>
<li class="next_article"><span οnclick="_gaq.push(['_trackEvent','function', 'onclick', 'blog_articles_xiayipian']);location.href='/pclzr/article/details/6064732';">下一篇</span><a href="/pclzr/article/details/6064732" οnclick="_gaq.push(['_trackEvent','function', 'onclick', 'blog_articles_xiayipian'])">MDT2010 配置无人职守安装(1)—— RULE 配置文件</a></li>
</ul>
<div style="clear:both; height:10px;"></div>
<div class="similar_article" style="">
<h4>我的同类文章</h4>
<div class="similar_c" style="margin:20px 0px 0px 0px">
<div class="similar_c_t">
<label class="similar_cur">
<span style="cursor:pointer" οnclick="GetCategoryArticles('763569','pclzr','foot','6064725');">windows 部署<em>(5)</em></span>
</label>
</div>
<div class="similar_wrap tracking-ad" data-mod="popu_141" style="max-height:195px;">
<a href="http://blog.csdn.net" style="display:none">http://blog.csdn.net</a>
<ul class="similar_list fl"><li><em>•</em><a href="http://blog.csdn.net/pclzr/article/details/6067271" id="foot_aritcle_6067271undefined6439076410187776" target="_blank" title="使用Windows server 2008 R2 wds 和 MDT2010 部署 Windows7 和 Windows xp时,客户端通过网络启动后,蓝屏或者黑屏,无法进入安装界面。">使用Windows server 2008 R2 wds 和 MDT2010 部署 Windows7 和 Windows xp时,客户端通过网络启动后,蓝屏或者黑屏,无法进入安装界面。</a><span>2010-12-10</span><label><i>阅读</i><b>1750</b></label></li> <li><em>•</em><a href="http://blog.csdn.net/pclzr/article/details/6064730" id="foot_aritcle_6064730undefined12178354653482604" target="_blank" title="MDT2010 配置无人职守安装(2)—— BootStrap.ini 部分配置文件">MDT2010 配置无人职守安装(2)—— BootStrap.ini 部分配置文件</a><span>2010-12-09</span><label><i>阅读</i><b>1806</b></label></li> <li><em>•</em><a href="http://blog.csdn.net/pclzr/article/details/6064646" id="foot_aritcle_6064646undefined8757397170930545" target="_blank" title="微软升级系统部署工具 MDT 2010 Update 1 版本号 (build 5.1.1642.01)">微软升级系统部署工具 MDT 2010 Update 1 版本号 (build 5.1.1642.01)</a><span>2010-12-09</span><label><i>阅读</i><b>717</b></label></li> </ul>
<ul class="similar_list fr"><li><em>•</em><a href="http://blog.csdn.net/pclzr/article/details/6064732" id="foot_aritcle_6064732undefined308246176688324" target="_blank" title="MDT2010 配置无人职守安装(1)—— RULE 配置文件">MDT2010 配置无人职守安装(1)—— RULE 配置文件</a><span>2010-12-09</span><label><i>阅读</i><b>1204</b></label></li> <li><em>•</em><a href="http://blog.csdn.net/pclzr/article/details/6064682" id="foot_aritcle_6064682undefined33776861537229896" target="_blank" title="将Windows 7/Windows 2008安装到VHD文件">将Windows 7/Windows 2008安装到VHD文件</a><span>2010-12-09</span><label><i>阅读</i><b>1144</b></label></li> </ul>
</div>
</div>
</div>
<script type="text/javascript">
$(function () {
GetCategoryArticles('763569', 'pclzr','foot','6064725');
});
</script>
</div>
Windows部署——Dism命令工具(1)
最新推荐文章于 2023-07-07 11:27:28 发布