根据这个链接 https://learn.microsoft.com/en-us/previous-versions/windows/it-pro/windows-8.1-and-8/hh824822(v=win.10)我要安装 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
但没有工作,我得到了上述错误。有人知道发生了什么以及我如何传递这个错误?
操作系统无法获取给定路径中所需的文件。
像这样在线尝试一下。
dism /online /enable-feature /featurename:IIS-WebServerRole
/featurename:IIS-WebServerManagementTools /featurename:IIS-ManagementConsole
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)