- Trending Categories
Data Structure
Networking
RDBMS
Operating System
Java
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
Physics
Chemistry
Biology
Mathematics
English
Economics
Psychology
Social Studies
Fashion Studies
Legal Studies
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
How to disable basic authentication for windows server using PowerShell?
Basic authentication is the insecure authentication for the windows. To disable the basic authentication on the windows server using PowerShell,
PS C:\> Set-Item -Path "WSMan:\localhost\Service\Auth\Basic" -Value $false -Verbose
To disable the basic authentication on the remote windows servers using PowerShell, use the below command,
Invoke-Command -ComputerName TestMahchine1, TestMachine2 - ScriptBlock { Set-Item -Path "WSMan:\localhost\Service\Auth\Basic" -Value $false -Verbose }
- Related Articles
- How to enable the basic authentication for windows servers using PowerShell?
- How to enable credssp authentication on windows server using PowerShell?
- How to disable the credssp authentication using PowerShell?
- How to disable windows firewall profiles using PowerShell?
- How to get the windows authentication settings using PowerShell?
- How to enable or disable local user on Windows OS using PowerShell?
- How to Get Windows features using PowerShell?
- How to remove windows features using PowerShell?
- How to stop a windows service using PowerShell?
- How to start a windows service using PowerShell?
- How to start multiple windows services using PowerShell?
- How to share a windows folder using PowerShell?
- How to remove windows folder sharing using PowerShell?
- How to get installed windows update using PowerShell?
- How to find Windows Product Key Using PowerShell?

Advertisements