banner
李大仁博客

李大仁博客

天地虽大,但有一念向善,心存良知,虽凡夫俗子,皆可为圣贤。

Win10 DISM離線安裝.net framework

Win10 DISM Offline Installation of .NET Framework

DISM (Deployment Image Servicing and Management) is used to install, uninstall, configure, and update features and packages in offline Windows(R) images and offline Windows Preinstallation Environment (Windows PE) images.

To install .NET Framework, the location of the Windows system installation disk is E: drive.

Dism /Online /Enable-Feature /FeatureName /Source:E:\sources\sxs

Other uses

  1. Scan the image to check for any corruption (when the image is corrupted, the computer may encounter various issues, such as inability to update the system).

Dism /Online /Cleanup-Image /ScanHealth

  1. Finally, repair the system image files.

Dism /Online /Cleanup-Image /RestoreHealth

To repair the image using a local source, it can be a Windows installation disc or a virtual drive loaded with an ISO file.

Dism /Online /Cleanup-Image /RestoreHealth /Source:c:\test\mount\windows /LimitAccess

In the PE environment, the ImageFile method can also be used by directly using a Windows image format file.

Dism /Apply-Image /ImageFile:X.wim /Index:1 /ApplyDir:C:

Reference: https://docs.microsoft.com/en-us/windows-hardware/manufacture/desktop/what-is-dism

載入中......
此文章數據所有權由區塊鏈加密技術和智能合約保障僅歸創作者所有。