iis windows authentication is missing at windows 10 (ASP.NET Visual Studio 2015)

前端 未结 5 2080
逝去的感伤
逝去的感伤 2020-12-09 08:22

I am trying to run an asp .net website in Visual Studio 2015 that is using windows authentication in IIS7. Although I installed IIS in my PC, while trying to add \"windows a

5条回答
  •  爱一瞬间的悲伤
    2020-12-09 09:05

    To enable “Windows Authentication” either you need to upgrade the OS to Pro version or you can run this command to enable it.

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

    The file name will be different based on windows updates. So please update if requires.

提交回复
热议问题