视频加载失败

上海电信云电脑如何使用RDP连接

283 字
1 分钟
上海电信云电脑如何使用RDP连接

问题点#

领到免费云电脑后,使用tailscale进行虚拟组网,开启远程连接,会发现无法连接到这个电脑。

原因和解决方案#

Windows Server 当前没有可供 RDP 使用的 Remote Desktop 自签名证书。
解决方案

Step 1:恢复 RDP 自签名证书存储配置#

以管理员身份打开 PowerShell,执行:

New-ItemProperty `
-Path 'HKLM:\SYSTEM\CurrentControlSet\Control\Terminal Server\WinStations' `
-Name 'SelfSignedCertStore' `
-PropertyType String `
-Value 'Remote Desktop' `
-Force

验证:

Get-ItemProperty `
'HKLM:\SYSTEM\CurrentControlSet\Control\Terminal Server\WinStations' `
-Name SelfSignedCertStore

期望:

SelfSignedCertStore : Remote Desktop

Step 2:启动 RDP 证书生成相关服务#

执行:

Start-Service CryptSvc
Start-Service KeyIso
Start-Service SessionEnv
Start-Service CertPropSvc

然后检查:

Get-Service CertPropSvc,KeyIso,CryptSvc,SessionEnv |
Format-Table Name,Status,StartType

这些服务的 Startup Type 不一定全部是 Automatic。

关键点是:

它们应该能够正常启动,而不是 Disabled 或启动时报错。


Step 3:确认基础 RDP 配置#

执行:

Set-ItemProperty `
-Path 'HKLM:\SYSTEM\CurrentControlSet\Control\Terminal Server' `
-Name 'fDenyTSConnections' `
-Value 0

执行:

Set-ItemProperty `
-Path 'HKLM:\SYSTEM\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp' `
-Name 'fEnableWinStation' `
-Value 1

确认端口:

Get-ItemProperty `
'HKLM:\SYSTEM\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp' `
-Name fEnableWinStation,PortNumber

期望:

fEnableWinStation : 1
PortNumber : 3389

Step 4:启用 Windows 防火墙 RDP 规则#

执行:

Get-NetFirewallRule |
Where-Object {$_.Name -like "RemoteDesktop*"} |
Enable-NetFirewallRule

然后重启电脑就能正常连接了

支持与分享

如果这篇文章对你有帮助,欢迎分享给更多人或打赏支持!

打赏
上海电信云电脑如何使用RDP连接
https://firefly.cuteleaf.cn/posts/20260917-shanghai-ctyun-rdp/
作者
XiaYe
发布于
2026-09-17
许可协议
CC BY-NC-SA 4.0
Profile Image of the Author
XiaYe
Hello, I'm XiaYe.
公告
欢迎来到我的博客!这是一则示例公告。
分类
标签
最新动态
站点统计
文章
29
分类
12
标签
42
总字数
53,706
运行时长
0 天
最后活动
0 天前
站点信息
构建平台
Cloudflare Workers
博客版本
Firefly v6.16.8
文章许可
CC BY-NC-SA 4.0
文章目录