解决办法

设置默认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

参考资料:

Logo

一站式 AI 云服务平台

更多推荐