Error Opening Terminal Server Qwinsta
Contents |
Gaming Smartphones Tablets Windows 8 PSUs Android Your question Get the answer Tom's Hardware>Forum>Windows 2000/NT>Using qwinsta to drop terminal services sessions> Using qwinsta to error 1722 getting sessionnames error [1722]:the rpc server is unavailable. drop terminal services sessions Tags: Terminal Windows Last response: 4 December rwinsta 2009 22:01 in Windows 2000/NT Share Anonymous 16 February 2005 05:25:43 Archived from groups: microsoft.public.windowsnt.terminalserver.connectivity (More info?) Hi, qwinsta access denied I have locked myself out of a co-located machine (win2000) which I normally use terminal services to access. The two sessions have become disconected (but still active), and qwinsta powershell I recieve a liscensing error if I now try to connect. I have tried to drop the sessions by using qwinsta and rwinsta from our development server (win2000) but recieve the following error: Error opening Terminal server xxx.xxx.xxx.xxx Error [1722]:The RPC server is unavailable. Now the co-located machine is behind a firewall, but has port 3389 opened
Qwinsta No Session Exists For *
up for terminal services access from our IP. Does qwinsta use any other ports? One thing I do not understand about these two tools is authentication. There is no optoin to enter a username password to get the query information - does this mean that it will only work in a trust relationship (the two machine are on unrelated domains) or qwinsta normally just offer this information to anyone who asks? Thanks for any info More about : qwinsta drop terminal services sessions Anonymous 16 February 2005 05:25:44 Archived from groups: microsoft.public.windowsnt.terminalserver.connectivity (More info?) Sosh, If the user acccount that runs qwinsta/rwinsta that is not known to the remote machine, then you need to setup a 'trust' relationship. One way to to it is run net use \\remoteMachine before running qwinsta/rwinsta hope it helps Thanks Soo Kuan -- This posting is provided "AS IS" with no warranties, and confers no rights. Use of included script samples are subject to the terms specified at http://www.microsoft.com/info/cpyright.htm "sosh"
sessions: qwinsta and rwinsta Here's the procedure: Type "Psexec \\servername -u username -p password http://www.happysysadm.com/2010/07/qwinsta-and-rwinsta.html -c cmd"Type "qwinsta"Choose a session to kill and note its idType "rwinsta id" ... because the real sysadm can do it via the command line! Additional notes: QWINSTA.EXE: https://dnaeon.github.io/disconnecting-rdp-sessions/ queries the sessions qwinsta /?Display information about Terminal Sessions.QUERY SESSION [sessionname | username | sessionid] [/SERVER:servername] [/MODE] [/FLOW] [/CONNECT] [/COUNTER]sessionname Identifies the session named sessionname. username Identifies error 1722 the session with user username. sessionid Identifies the session with ID sessionid. /SERVER:servername The server to be queried (default is current). /MODE Display current line settings. /FLOW Display current flow control settings. /CONNECT Display current connect settings. /COUNTER Display current Terminal Services counters information.RWINSTA.EXE: removes the sessions rwinsta /?C:\Documents and Settings\stever>rwinsta /? Reset the error 1722 getting session subsytem hardware and software to known initial values.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. Publié par Carlo à l'adresse 6:14 AM Email ThisBlogThis!Share to TwitterShare to FacebookShare to Pinterest Libellés : rdp, windows 8 comments: AnonymousNovember 17, 2011 at 7:40 AMThanks a lot!ReplyDeleteChuckApril 3, 2012 at 6:53 AMThanks from me, too!ReplyDeleteTerry LauJune 23, 2012 at 10:18 AMThanks for sharing! It's a good information about query and remove the Remote session.ReplyDeleteAnonymousJanuary 24, 2013 at 10:21 PMthank you great help.ReplyDeleteGlennymJuly 11, 2013 at 4:47 AMThanks for this, exactly what I needed!ReplyDeleteAnonymousJune 26, 2014 at 12:21 PMWhy bother with PSEXEC? QWINSTA and RWINSTA both have a server parameter to do it remotely...ReplyDeleteRepliesAnonymousFebruary 23, 2015 at 6:44 AMGood of you to contribute your comment, poor of you to not include the servr parameters....DeleteAnonymousApril 10, 2015 at 1:45 PMqwinsta /server:[hostname]rwinsta