Showing posts with label RDP. AzureAD. Show all posts
Showing posts with label RDP. AzureAD. Show all posts

20/09/2024

RDP to AzureAD Laptop

My work laptop is AzureAD joined and I'm using AzureAD account (from work place) to login to it. For easy access I regularly RDP to it from my home laptop (when working from home in unusual times). My home laptop just use my personal Microsoft account and not joined to any domain.

Suddenly on a day (very recently), my home laptop refused to log me into the work laptop. I was pretty sure I was typing the correct password and accessing the correct IP, because I didn't change a thing. I was puzzled.

I was sure this is something Microsoft has suddenly changed via a update. I Googled around and for my luck I was able to find following article:

Remote Desktop to Azure AD Joined Computer

This was a life saving article written by a person called Bradley Schacht around August 2019.it showed exactly the issue I was having and very clear step by step instructions to resolve it. 

Basic summary of the article as follows:

  • First you need to add two new entries if they are not already there in your RDP file. Those entries are:
    • enablecredsspsupport:i:0
    • authentication level:i:2
  • Then you need to access your account in following manner:
    • .\AzureAD\yourazureaduser@company.com
I'm not going to spell out the instructions here again, if you are interested, please visit the above link and you will be guided very clearly through the whole process.

Thanks again for Bradley Schacht for amazing article.


SQL Server Logical Reads vs Physical Reads

When it comes to SQL Server query tuning, two of the most used phrases are logical reads and physical reads. But do you know exactly what ar...