我试图通过远程桌面连接到Windows XP专业版 (我的本地计算机在Windows 7上 )。
我知道我必须键入mstsc.exe /admin (我不使用弃用选项/console )来打开控制台会话。
但是,这似乎确实没有连接到控制台会话。 例如:
echo %SESSIONNAME% ,我得到了像RDP-Tcp#14而不是console 。 shadow 0观察控制台会话时,我得到Error [7050]:The requested session cannot be controlled remotely. This may be because the session is disconnected or does not currently have a use r logged on. Error [7050]:The requested session cannot be controlled remotely. This may be because the session is disconnected or does not currently have a use r logged on. 通过使用Process Explorer显示进程树,看起来控制台会话在login屏幕上。
我错过了什么?
编辑
我还没有阅读关于这个资源的所有信息 ,但似乎是解释了这个问题:似乎你不能在Windows XP SP3 (或Vista SP1或Server 2008 )上与(login)会话0进行交互,
Windows客户端操作系统一次只允许一个交互式用户。 当您远程连接时,会locking控制台会话 – 因此您在login屏幕上find控制台会话。
如果远程login时没有select会话0,则在连接时必须在后台将事件转移到远程桌面。