Dism

Dismは便利です。
サービスパックや任意のアップデート
ドライバ等最初から組み込んだイメージを作成できます。
それ以外にも現在のCドライブのイメージをWIMにすることも。

Dism /apply-image /imagefile:”DISC:\sources\install.swm” /swmfile:”DISC:\sources\install2.swm” /index:数字 /applydir:ドライブレター:\

Dism /Get-ImageInfo /ImageFile:DISC:\sources\install.swm /swmfile:DISC:\sources\install2.swm

Dism /Apply-Image /ImageFile:DISC:\sources\install.wim /index:数字 /ApplyDir:ドライブレター:\
DISM /image:DISC:\ /Get-packages
DISM /online /Add-Package /PackagePath:C:\windows6.1-KB976902-X64.cab
DISM /online /Add-Package /PackagePath:C:\windows6.1-KB976932-X64.cab

#展開
setup /x
#-2012R2-

#VドライブのイメージににCのmsuを適用。
DISM /Image:V:\ /Add-Package /PackagePath:C:\Windows6.1-KB3050265-x64.msu
DISM /Image:V:\ /Add-Package /PackagePath:C:\Windows8.1-KB2883200-x64.msu
DISM /Image:V:\ /Add-Package /PackagePath:C:\Windows8.1-KB2887595-v2-x64.msu
DISM /Image:V:\ /Add-Package /PackagePath:C:\Windows8.1-KB2911106-x64.msu
DISM /Image:V:\ /Add-Package /PackagePath:C:\Windows8.1-KB2919442-x64.msu
DISM /Image:V:\ /Add-Package /PackagePath:C:\Windows8.1-KB2919355-x64.msu
DISM /Image:V:\ /Add-Package /PackagePath:C:\Windows8.1-KB2932046-x64.msu
DISM /Image:V:\ /Add-Package /PackagePath:C:\Windows8.1-KB2937592-x64.msu
DISM /Image:V:\ /Add-Package /PackagePath:C:\Windows8.1-KB2938439-x64.msu
DISM /Image:V:\ /Add-Package /PackagePath:C:\Windows8.1-KB3000850-x64.msu

#-2012R2-
#-x64-2008R2-7-
#KドライブにCドライブのmsuを適用
DISM /Image:K:\ /Add-Package /PackagePath:C:\kb2533552-x64.msu
DISM /Image:K:\ /Add-Package /PackagePath:C:/kb3020369-x64.msu
DISM /Image:K:\ /Add-Package /PackagePath:C:\kb3125574-v4-x64.msu

#-86-
#VドライブにCのmsuを適用
DISM /Image:V:\ /Add-Package /PackagePath:C:\kb2533552-x86.msu
DISM /Image:V:\ /Add-Package /PackagePath:C:\kb3020369-x86.msu
DISM /Image:V:\ /Add-Package /PackagePath:C:\kb3125574-v4-x86.msu

#Cドライブの中身を名前CでFドライブにイメージ作成
Dism /Capture-Image /ImageFile:F:\my-windows-partition.wim /CaptureDir:C:\ /Name:”C”

投稿者: みずがめ座

パスワード保護された記事があります。お問い合わせからどうぞ。