每个人电脑的文件名称可能不一样,需要在此文件夹下C:\Windows\servicing\Packages,找到IIS相关文件。
然后运行如下代码,就可以在Win10家庭版安装IIS没有的Windows authentication组件。
DISM.exe /online /norestart /add-package:"C:\Windows\servicing\Packages\Microsoft-Windows-IIS-WebServer-AddOn-2-Package~31bf3856ad364e35~amd64~~10.0.19041.264.mum"
Control Panel-> Turn Windows features on or off-> Internet Information Services -> World Wide Web Services -> Security
解决方式来源于:https://stackoverflow.com/questions/38364218/windows-10-home-windows-authentication