I have the following structure in IIS.
Internet Information Services
(local computer)
Web Sites
Default Web Site
MyApplication
MyApplication is an application in IIS.
Windows Integrated Authentication is NOT installed on Default Web Site. However, I want to install integrated Windows authentication on MyApplication. (This is an intranet application).
This can be done using the graphical interface: right-click on Default Web Siteand select Properties. Select a tab Directory Securityand click Editon the anonymous access and authentication control.
I want to include this in a script setup. I have other configuration commands using adsutil.vbs, but I'm struggling to configure Integrated Windows authentication.
Duration:
cscript//nologo c:\Inetpub\AdminScripts\adsutil.vbs GET/W3SVC/1/NTAuthenticationProviders
NTAuthenticationProviders : (STRING) "NTLM"
, exepcted,
cscript//nologo c:\Inetpub\AdminScripts\adsutil.vbs GET/W3SVC/1/ROOT/MyApplication/NTAuthenticationProviders
Error Trying To GET the property: (Get Method Failed)
NTAuthenticationProviders (This property is probably not allowed at this node)
NTAuthenticationProviders Metabase ?