2016-05-12 1 views

Antwort

0

i fix it Fenster und deaktivieren Formen ermöglichen Auth $ config = (Get-WebConfiguration system.web/Authentifizierung "IIS: \ sites \ $ iisAppName") $ config.mode = "Windows" $ config | Set-WebConfiguration system.web/Authentifizierung Set-WebConfigurationProperty -filter /system.webServer/security/authentication/windowsAuthentication -name aktiviert -Wertes wahr -PSPath IIS: \ -location $ iisAppName/$ iisAppPoolName

zu deaktivieren Fenster und Formulare aktivieren $ config = (Get-WebConfiguration system.web/Authentifizierung "IIS: \ sites \ $ iisAppName") $ config.mode = "Formulare" $ config | Set-WebConfiguration system.web/Authentifizierung

$ WinAuth = Get-WebConfiguration -filter /system.webServer/security/authentication/windowsAuthentication $ winAuth.enabled = $ false $ WinAuth | set-Webkonfiguration -filter /system.webServer/security/authentication/windowsAuthentication -PSPath IIS: \ -location "$ iisAppName"