Submit a ticketCall us

WebinarUpcoming Webinar: How Help Desk and Remote Support Pays for Itself

Learn how help desk software can simplify ticketing management, allow you to track hardware and software assets, and accelerate the speed of IT support and service delivery. Gain insights on how remote support tools allow your IT team to maximize their efficiency and ticket resolution by expediting desktop troubleshooting, ultimately helping keep end-users happy and productive.

Register here.

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,
  2. Type: cd "%systemroot%\system32\inetsrv\"
  3. Then type: appcmd.exe unlock config -section:system.webServer/security/authentication/windowsAuthentication
  4. 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