How Do You Give a Local Windows 2016 Server User Access to Remote into It?

Problem scenario
You have a local user account on a Windows 2016 server (e.g., jdoe).  You want to give it access to be able to start PowerShell sessions from other Windows servers.  What do you do?

Solution
1.  Open PowerShell as Administrator.
2.  Run this command:
Set-PSSessionConfiguration -ShowSecurityDescriptorUI -Name Microsoft.PowerShell
# This is an alternative command provided as a reference in case the above did not work:
# Set-PSSessionConfiguration -Name Microsoft.PowerShell -ShowSecurityDescriptorUI -Force

3.  In the pop up, click "Add..."
4.  Type in the username in the field "Enter the object names..." and click "Check names".
5.  Click "Ok".
6.  Give the user "Read" and "Execute" (by checking the corresponding square boxes).
7.  Click "Ok".

Leave a comment

Your email address will not be published. Required fields are marked *