0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

ドライバーやパッチをあてたWIMファイルを作成する (A WIM file creation including drivers and patches)

Last updated at Posted at 2020-02-12

MicrosoftからISOイメージをダウンロードする
ISOをマウントし、sources\install.esdファイルを、適当な場所(サンプルではc:\createフォルダ)へ、コピーする

install.esdからinstall.wim(Windows 10 Pro)を取り出す

DISM /Export-Image /SourceImageFile:c:\create\install.esd /SourceName:"Windows 10 Pro" /DestinationImageFile:c:\create\install.wim /Compress:max /CheckIntegrity

以下の命令で適当な場所(サンプルではc:\mounts)へ、マウントする

md c:\mounts
DISM /Mount-WIM /WimFile:c:\create\install.wim /Name:"Windows 10 Pro" /MountDir:c:\mounts

ドライバーをあてる

DISM /Add-Driver /Image:C:\mounts\ /Driver:C:\Drivers\ドライバーフォルダ名またはinfファイル名

パッチを充てる

パッチダウンロード先:http://www.catalog.update.microsoft.com/Search.aspx?q=windows%2010%20version%201909%20cumulative%20update
msuファイルを適当な場所(サンプルではc:\updates)へ、コピーしておく
DISM /Add-Package /Image:C:\Mount\Windows /PackagePath:"C:\updates\ downloaded update msuファイル名"

アンマウントする

DISM /Image:C:\Mounts /Cleanup-Image /AnalyzeComponentStore
DISM /Image:C:\Mounts /Cleanup-Image /StartComponentCleanup /ResetBase
DISM /Unmount-Image /MountDir:C:\Mounts\ /Commit

Wimを取り出す

DISM /Export-Image /SourceImageFile:c:\create\install.wim /SourceIndex:1 /DestinationImageFile:c:\create\Win10Pro.wim
DISM /Get-WimInfo /WimFile:c:\create\Win10Pro.wim /Index:1
DISM /cleanup-wim

...That's all. ☆ Knowledge of zealous young🌙🐰

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?