Select the product you need help with
Windows 2000 終端機服務工作階段管理工具文章編號: 243202 - 檢視此文章適用的產品。 在此頁中結論您可以使用 Windows 2000 終端機服務 」 中的各種命令列工具來管理伺服器,執行 「 終端機服務。本文將簡短地告訴 [Tscon.exe]、 [Tsdiscon.exe]、 [Tsshutdn.exe]、 [Tskill.exe,] 和 [Rwinsta.exe] 工具,以及它們在管理執行 Windows 2000 終端機伺服器的電腦提供服務的目的。 其他相關資訊Tscon.exeTscon.exe 將使用者工作階段附加至先前連線的終端機伺服器工作階段。tscon.exe 語法:
TSCON [sessionid | sessionname] [/SERVER:servername] [/DEST:sessionname]
[/PASSWORD:pw] [/V]
sessionid The ID of the session.
sessionname The name of the session.
/SERVER:servername The name of the Terminal Server to connect to (default is current).
/DEST:sessionname Connect the session to destination sessionname.
/PASSWORD:pw Password of user owning identified session.
/v Displays information about the actions performed.
Example: tscon 3 /server:cprsrv02 /dest:rdp-tcp#3 /password:* /v
Tsdiscon.exeTsdiscon.exe 中斷連線使用中的終端機伺服器工作階段。Tsdiscon.exe 語法: TSDISCON [sessionid | sessionname] [/SERVER:servername] [/V] sessionid The ID of the session. sessionname The name of the session. /SERVER:servername Specifies the Terminal Server (default is current). /v Displays information about the actions performed. Example: tsdiscon 3 /server:cprsrv02 /v Tsshutdn.exeTsshutdn.exe 會以受控制的方式關閉終端機伺服器。Tsshutdn.exe 語法:
TSSHUTDN [wait_time] [/SERVER:servername] [/REBOOT] [/POWERDOWN]
[/DELAY:logoffdelay] [/V]
wait_time Seconds to wait after user notification before
terminating all user sessions (default is 60).
/SERVER:servername The server to shut down (default is current).
/REBOOT Reboot the server after user sessions are terminated.
/POWERDOWN The server prepares for powering off.
/DELAY:logoffdelay Seconds to wait after logging off all connected
sessions (default is 30).
/v Display information about actions being performed.
Example: tsshutdn 60 /server:cprsrv02 /reboot /delay:30 /v
Tskill.exeTskill.exe 結束現用的處理序和 (或) 在所選取的伺服器上的處理序。Tskill.exe 語法:
TSKILL processid | processname [/SERVER:servername] [/ID:sessionid | /A] [/V]
processid Process ID for the process to be terminated.
processname Process name to be terminated.
/SERVER:servername Server containing processID (default is current).
/ID or /A must be specified when using processname
and /SERVER
/ID:sessionid End process running under the specified session.
/a End process running under all sessions.
/v Display information about actions being performed.
Example: tskill 172 /server:cprsrv02 /id:3 /v
Rwinsta.exeRwinsta.exe 重設工作階段子系統硬體和軟體為已知的起始值。Rwinsta.exe 語法:
RESET SESSION {sessionname | sessionid} [/SERVER:servername] [/V]
sessionname Identifies the session with name sessionname.
sessionid Identifies the session with ID sessionid.
/SERVER:servername The server containing the session (default is current).
/v Display additional information.
Example: rwinsta 3 /server:cprsrv02 /v
屬性文章編號: 243202 - 上次校閱: 2007年2月28日 - 版次: 2.2 這篇文章中的資訊適用於:
機器翻譯 重要:本文是以 Microsoft 機器翻譯軟體翻譯而成,而非使用人工翻譯而成。Microsoft 同時提供使用者人工翻譯及機器翻譯兩個版本的文章,讓使用者可以依其使用語言使用知識庫中的所有文章。但是,機器翻譯的文章可能不盡完美。這些文章中也可能出現拼字、語意或文法上的錯誤,就像外國人在使用本國語言時可能發生的錯誤。Microsoft 不為內容的翻譯錯誤或客戶對該內容的使用所產生的任何錯誤或損害負責。Microsoft也同時將不斷地就機器翻譯軟體進行更新。 按一下這裡查看此文章的英文版本:243202
(http://support.microsoft.com/kb/243202/en-us/
)
Microsoft及(或)其供應商不就任何在本伺服器上發表的文字資料及其相關圖表資訊的恰當性作任何承諾。所有文字資料及其相關圖表均以「現狀」供應,不負任何擔保責任。Microsoft及(或)其供應商謹此聲明,不負任何對與此資訊有關之擔保責任,包括關於適售性、適用於某一特定用途、權利或不侵權的明示或默示擔保責任。Microsoft及(或)其供應商無論如何不對因或與使用本伺服器上資訊或與資訊的實行有關而引起的契約、過失或其他侵權行為之訴訟中的特別的、間接的、衍生性的損害或任何因使用而喪失所導致的之損害、資料或利潤負任何責任。 | 文章翻譯
|




回此頁最上方








