Paylinks for BLOCKS
Knowledgebase
RDP to an Azure AD Joined PC
Posted by Tony Garton on 02 December 2020 11:24 AM
Firstly make sure that the user has the necessary permissions to RDP to the PC. Run the following Powershell script to add the user(s) to the Remote Desktop Users Group.

net localgroup "Remote Desktop Users" /add "AzureAD\the-UPN-attribute-of-your-user". When the user is added make a note of the Syntax of the user, this will probably be required to login to the PC.

Secondly, create an RDP connection to the remote PC and save it. Edit the RDP file using Notepad (or similar) and add the following lines at the end of the file and save it. Line 1 is only required if you want to save the credentials.  
    
username:s:.\AzureAD\[email protected]
enablecredsspsupport:i:0
authentication level:i:2

https://www.hanselman.com/blog/how-to-remote-desktop-rdp-into-a-windows-10-azure-ad-joined-machine


On the Remote PC

1) Make sure that the PC is enabled to receive remote connections - System - Remote Desktop - "Enable Remote Desktop" (This is disabled by default)

2) Disable Network Level Authentication - System - Remote Desktop - Advanced Settings - Untick "Require computers to use Network Level Authentication to connect"

Try and RDP to the PC, you may need the Azure AD username that you noted in the first setup step to actually login to the PC. Remote PC login format "azuread\email address"
(0 vote(s))
Helpful
Not helpful

Comments (0)
Post a new comment
 
 
Full Name:
Email:
Comments:
CAPTCHA Verification 
 
Please enter the text you see in the image into the textbox below (we use this to prevent automated submissions).

ERROR: This domain name (powertoolreview.co.uk), does not match the domain name in the license key file.

For assistance with your license, please contact the Kayako support team: https://support.kayako.com