根据此链接,我将安装 IIS Windows 功能以进入离线模式。
我已经install.wim
像上面的链接一样安装了我的等等。但是当我运行这个命令时:
Dism /Image:C:\test\offline /Enable-Feature /FeatureName:WCF-NonHTTP-Activation /All
我收到了这个错误:
Deployment Image Servicing and Management tool
Version: 10.0.16299.15
Image Version: 10.0.16299.125
Enabling feature(s)
[==========================100.0%==========================]
Error: 0x800f081f
The source files could not be found.
Use the "Source" option to specify the location of the files that are required to restore the feature. For more information on specifying a source location, see http://go.microsoft.com/fwlink/?LinkId=243077.
The DISM log file can be found at C:\Windows\Logs\DISM\dism.log
显示此错误The source files could not be found.
,但是当我运行此错误时,我得到了结果:
Dism /Image:C:\test\offline /Get-Features
根据一些想法,我已经执行了这个命令:
Dism /Image:C:\test\offline /Cleanup-Image /StartComponentCleanup
Dism /Image:C:\test\offline /Cleanup-Image /RestoreHealth
但没有工作,我得到了上述错误。有人知道发生了什么,我怎么能通过这个错误?