windows Server 2003 中的单个远程桌面会话
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/328368/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Single Remote Desktop session in Server 2003
提问by NoizWaves
I have a headless server running Windows Server 2003, and administer it via VNC. It is set to auto login to a specific user account.
我有一台运行 Windows Server 2003 的无外设服务器,并通过 VNC 对其进行管理。它被设置为自动登录到特定的用户帐户。
I want to change to using Remote Desktop/Terminal Services. However, when I log in remotely a new user session is created (in addition to auto logged in session). Essentially I want a remote desktop connection to take over the default session in the computer (how XP does it). Does anyone know how?
我想改为使用远程桌面/终端服务。但是,当我远程登录时,会创建一个新的用户会话(除了自动登录的会话)。基本上我想要一个远程桌面连接来接管计算机中的默认会话(XP 是如何做到的)。有谁知道怎么做?
P.S. I am NOT after a single remote session, instead a single GLOBAL session :)
PS 我不是在单个远程会话之后,而是在单个 GLOBAL 会话之后:)
回答by Darian Miller
To logon as the 'console' user (the one to be used for logging in locally) then you use a parameter for mstsc.exe From a command prompt type in mstsc /h to see the help. MSTSC /ADMIN /V:YOURSERVERNAME or MSTSC /CONSOLE /V:YOURSERVERNAME
要以“控制台”用户(用于本地登录的用户)身份登录,请使用 mstsc.exe 的参数从命令提示符键入 mstsc /h 以查看帮助。MSTSC /ADMIN /V:YOURSERVERNAME 或 MSTSC /CONSOLE /V:YOURSERVERNAME
(depending on the version that you have)
(取决于您拥有的版本)
回答by NoizWaves
Please excuse the self answer, but for those using OS X and Remote Desktop Connection, all you need to do is append " /console" to the IP address of the computer you wish to connect to.
请原谅自我回答,但对于那些使用 OS X 和远程桌面连接的人,您需要做的就是将“/console”附加到您要连接的计算机的 IP 地址。
回答by JaredPar
Here's how you can switch over.
这是您可以切换的方法。
- Start task manager
- Switch to the users tab
- There should be two users listed. The one you logged on with and the original session you are trying to connect to.
- Right click on the one you want to connect to and select "Switch" or "connect". I can't remember the exact one.
- 启动任务管理器
- 切换到用户选项卡
- 应该列出两个用户。您登录时使用的会话和您尝试连接的原始会话。
- 右键单击要连接的对象,然后选择“切换”或“连接”。我不记得确切的那个了。
回答by Tom Mayfield
On the server: Settings > Control Panel > Administrative Tools > Terminal Services Configuration > Server Settings > Restrict each user to one session
在服务器上:设置 > 控制面板 > 管理工具 > 终端服务配置 > 服务器设置 > 将每个用户限制为一个会话
Alternately, you can log in to the console (the session that would display on the monitor, if present). From XP-era clients, that's (command-line) "mstsc /console /v:host.to.connect.to". For Vista-era clients, it's "mstsc /admin /v:host.to.connect.to". That option is probably present somewhere in the RDP client settings screen, and tools like Terminalsalso expose it.
或者,您可以登录到控制台(将在监视器上显示的会话,如果存在)。对于 XP 时代的客户端,这是(命令行)“mstsc /console /v:host.to.connect.to”。对于 Vista 时代的客户端,它是“mstsc /admin /v:host.to.connect.to”。该选项可能出现在 RDP 客户端设置屏幕的某处,并且终端等工具也会公开它。