- 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 enable credssp authentication on windows server using PowerShell?
Before enabling the credssp authentication for the windows server, we will first check the credssp status using the below command.
Get-ChildItem WSMan:\localhost\Service\Auth | Where-Object {$_.Name -eq "CredSSP"} | Select Name, Value
Output
Name Value ---- ----- CredSSP false
To enable the credssp,
PS C:\> Enable-WSManCredSSP -role server -Force
Output
cfg : http://schemas.microsoft.com/wbem/wsman/1/config/service/auth lang : en-US Basic : false Kerberos : true Negotiate : true Certificate : false CredSSP : true CbtHardeningLevel : Relaxed
To enable the credssp authentication on the remote computers,
Invoke-Command -ComputerName TestMahchine1, TestMachine2 - ScriptBlock { Enable-WSManCredSSP -Role Server -Force }
- Related Articles
- How to disable the credssp authentication using PowerShell?
- How to disable basic authentication for windows server using PowerShell?
- How to enable the basic authentication for windows servers using PowerShell?
- How to enable or disable local user on Windows OS using PowerShell?
- How to get the windows authentication settings using PowerShell?
- How to Install the Azure CLI on Windows using PowerShell?
- How to enable the slidetoshutdown on windows 8 1
- How to block ports on the Windows Operating System using PowerShell?
- How to Get Windows features using PowerShell?
- How to remove windows features using PowerShell?
- How to enable JavaScript in Windows?
- How to deploy windows deployment services on server 2012 r2
- How to stop a windows service using PowerShell?
- How to start a windows service using PowerShell?
- How to start multiple windows services using PowerShell?

Advertisements