Windows 10 Home: Windows authentication

牧云@^-^@ 提交于 2019-12-03 13:11:22

问题


I'm on a 64bit machine running Windows 10 Home.IIS Version 10

I'm trying to use windows authentication on IIS Server. I only see 4 options on IIS server: Anonymous Authentication, ASP.NET Impersonation, Basic Authentication and Forms Authentication. I tried searching online and found out that I needed to enable it under windows features > IIS > Security. But I don't have that checkbox. Please see the below images. So my question is: Does windows 10 home support windows authentication and if yes then how to enable it? Anyone using Windows 10 home please comment


回答1:


Windows 10 Home edition doesn't include Windows Authentication (and a bunch of other IIS security features). However, the package with these features is sitting right there in your OS and you can manually install it.

All you need to do is open an elevated command prompt and run:

dism /online /norestart /add-package:%SystemRoot%\servicing\Packages\Microsoft-Windows-IIS-WebServer-AddOn-2-Package~31bf3856ad364e35~amd64~~10.0.16299.15.mum

  • Filename above may be slightly different since it's based on your system's bitness and version

Then just make your way back to:

Turn Windows features on or off > Internet Information Services > World Wide Web Services > Security

All the "pro" options under Security will be available. Simply check "Windows Authentication" and reboot.




回答2:


Elaborating a little to answer from coldfused. Since I encountered errors (reason as stated by coldfused), followed these steps - Errors something like - An error occurred trying to open - C:\Windows\servicing\Packages\Microsoft-Windows-IIS-WebServer-AddOn-2-Package~31bf3856ad364e35~amd64~~10.0.16299.15.mum Error: 0x80070003

(i) Goto File explorer - type %SystemRoot% on the bar (ii) Goto Servicing>Packages> (iii) Enter IIS in Search to get list of available package (iv) Now, filter most appropriate for your system. You can check package mentioned by coldfused with available on your system.

AddOn-2-Package~31bf3856ad364e35~amd64~~10.0.16299.15.mum (mentioned by coldfused) AddOn-2-Package~31bf3856ad364e35~amd64~~10.0.15063.0.mum (on my system)

so I created the whole command as under - dism /online /norestart /add-package:%SystemRoot%\servicing\Packages\Microsoft-Windows-IIS-WebServer-AddOn-2-Package~31bf3856ad364e35~amd64~~10.0.15063.0.mum

Hope it helps someone.



来源:https://stackoverflow.com/questions/38364218/windows-10-home-windows-authentication

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!