Submit a ticketCall us

Get a crash course on Network Monitoring delivered right to your inbox
This free 7-day email course provides a primer to the philosophy, theory, and fundamental concepts involved in IT monitoring. Lessons will explain not only how to perform various monitoring tasks, but why and when you should use them. Sign up now.

Home > Success Center > Server & Application Monitor (SAM) > Unable to setup Windows Authentication for the PowerShell website

Unable to setup Windows Authentication for the PowerShell website

Overview

Unable to setup Windows Authentication for the PowerShell website.

Environment

All SAM versions

Resolution

  1. Open CLI in Administrator context, and type appcmd.exe unlock config -section:system.webServer/security/authentication/windowsAuthentication
  2. Open PS in Administrator context, and type the following commands:
    • Import-Module WebAdministration: (Get-WebConfiguration system.webServer/security/authentication/windowsAuthentication 'IIS:\sites\Default Web Site\PowerShell').enabled
    • If value returned is 'False, type: Set-WebConfiguration system.webServer/security/authentication/windowsAuthentication 'IIS:\sites\Default Web Site\PowerShell' -value True

 

Last modified
20:53, 30 Nov 2016

Tags

Classifications

Public