- Data Structure
- Networking
- RDBMS
- Operating System
- Java
- MS Excel
- 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 the credssp authentication using PowerShell?
To disable the credssp on the local computer using PowerShell, use the below command.
PS C:\> Disable-WSManCredSSP -Role Server -Verbose
You can check if the credssp is disabled, using the below command.
PS C:\> Get-ChildItem WSMan:\localhost\Service\Auth | Where-Object {$_.Name -eq"CredSSP"} | Select Name, Value Name Value ---- ----- CredSSP false
To disable the credssp authentication on the remote computers using PowerShell,
Invoke-Command -ComputerName TestMahchine1, TestMachine2 - ScriptBlock { Disable-WSManCredSSP -Role Server }
Advertisements