Submit a ticketCall us

Systems Monitoring for Dummies
Our new eBook will teach you the fundamentals and help you create monitors and alerts that are effective, meaningful, and actionable. Monitoring is more than a checkbox on your to-do list. This free eBook will give you practical advice to help you succeed in all aspects of monitoring – discovery, alerting, remediation, and troubleshooting. Don’t miss out on this indispensable resource for newbies, experienced IT pros, and everyone in between. Register 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

Tags

Classifications

Public