admin管理员组

文章数量:1558099

解决办法

设置默认shell为explorer.exe:

Set-ItemProperty -Path 'HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon' -name Shell -Value 'explorer.exe'

问题原因:

设置默认shell为PowerShell.exe或CMD.exe

Set-ItemProperty -Path 'HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon' -name Shell -Value 'PowerShell.exe -noExit'

附:激活远程桌面中的任务管理器

Ctrl+Alt+End

参考资料:

  • 手把手教您在 Windows Server 2019 上使用 Docker-阿里云开发者社区 (aliyun)

  • 修改Windows系统的启动Shell - silverbullet11 - 博客园 (cnblogs)

  • Windows连接远程桌面时出现黑屏的解决办法_server2016远程桌面黑屏-CSDN博客

本文标签: 没有任何重启黑屏桌面效果