远程连接桌面Azure AD(Azure AD Joined Computer)


解决方案:#

https://stackoverflow.com/questions/62307900/remote-machine-is-aad-but-the-logon-attempt-failed

enablecredsspsupport:i:0
authentication level:i:2

说明#

authentication level:i:<value>
| 0                                      |
| -------------------------------------- |
| 如果服务器身份验证失败,请在没有警告的情况下连接到计算机(连接而不警告我)。 |
|                                        |
| 1                                      |
|                                        |
| 如果服务器验证失败,请不要建立连接(不要连接)。               |
|                                        |
| 2                                      |
|                                        |
| 如果服务器身份验证失败,显示警告并允许我连接或拒绝连接(警告我)。      |
|                                        |
| 3                                      |
|                                        |
| 未指定身份验证要求。                             |
enablecredsspsupport:i:<value>
| 0                                   |
| ----------------------------------- |
| 即使操作系统支持 CredSSP,RDP 也不会使用 CredSSP。 |
|                                     |
| 1                                   |
|                                     |
| 如果操作系统支持 CredSSP,RDP 将使用 CredSSP。   |

Save the file and close.

Now, try double clicking the modified .rdp file and login using the format:

AzureAD\YourFullUsername

There you have it! It’s a bit of a pain, but now you can RDP into a computer with your Azure AD credentials (aka, email address) to an Azure AD joined computer.

I use a free piece of software called Remote Desktop Manager for all my connections. You can’t make the necessary changes to a connection in there (that I can tell anyway), but you can create the RDP file using the instructions here then import that connection into the tool and it will work perfectly.

Remote Desktop to Azure AD Joined Computer
http://www.bradleyschacht.com/remote-desktop-to-azure-ad-joined-computer/

自动登录#

or the user name field should be formatted as .\AzureAD\email@company.com

full address:s:远程桌面地址
username:s:.\AzureAD\email@company.com
password 51:b:加密后的密码

RPF密码生成工具:#

https://www.cr173.com/soft/108110.html

作者:【唐】三三

出处:https://www.cnblogs.com/tangge/p/15515273.html

版权:本作品采用「署名-非商业性使用-相同方式共享 4.0 国际」许可协议进行许可。

posted @   【唐】三三  阅读(377)  评论(0编辑  收藏  举报
编辑推荐:
· SQL Server 2025 AI相关能力初探
· Linux系列:如何用 C#调用 C方法造成内存泄露
· AI与.NET技术实操系列(二):开始使用ML.NET
· 记一次.NET内存居高不下排查解决与启示
· 探究高空视频全景AR技术的实现原理
阅读排行:
· 阿里最新开源QwQ-32B,效果媲美deepseek-r1满血版,部署成本又又又降低了!
· Manus重磅发布:全球首款通用AI代理技术深度解析与实战指南
· 开源Multi-agent AI智能体框架aevatar.ai,欢迎大家贡献代码
· 被坑几百块钱后,我竟然真的恢复了删除的微信聊天记录!
· AI技术革命,工作效率10个最佳AI工具
more_horiz
keyboard_arrow_up dark_mode palette
选择主题
menu
点击右上角即可分享
微信分享提示