Guest Mack Jones Posted June 30, 2008 Posted June 30, 2008 We frequently have users from oversees logging into workstations here in the U.S. using RDP. Sometimes these sessions lock up and the user needs to be force off so they can be reconnected normally. Is there a way for me from a command prompt using admin rights to connect to the workstation and force it to logoff the user. Or is there any other way. I know that I can force the machine to shutdown and reboot but I don't want to do that if it's a workstation that has multiple users connecting to it. Rebooting would kick them all off. I just want to kick off the one. Any advice would be appreciated.
Guest Sarah Kingswell Posted June 30, 2008 Posted June 30, 2008 Re: Can I force a remote session to logoff? You can log a workstation off from the Terminal Services Connection Manager. Right click on User then Logoff "Mack Jones" <Mack Jones@discussions.microsoft.com> wrote in message news:5C59508D-87FD-4BC9-A393-E65FF897C7EE@microsoft.com... > We frequently have users from oversees logging into workstations here in > the > U.S. using RDP. Sometimes these sessions lock up and the user needs to be > force off so they can be reconnected normally. Is there a way for me from > a > command prompt using admin rights to connect to the workstation and force > it > to logoff the user. Or is there any other way. > > I know that I can force the machine to shutdown and reboot but I don't > want > to do that if it's a workstation that has multiple users connecting to it. > Rebooting would kick them all off. I just want to kick off the one. > > Any advice would be appreciated.
Guest Vera Noest [MVP] Posted July 1, 2008 Posted July 1, 2008 Re: Can I force a remote session to logoff? Just curious: can you explain how multiple users are connecting to a single workstation? _________________________________________________________ Vera Noest MCSE, CCEA, Microsoft MVP - Terminal Server TS troubleshooting: http://ts.veranoest.net ___ please respond in newsgroup, NOT by private email ___ "Sarah Kingswell" <sarahkingswell@hotmail.com> wrote on 30 jun 2008 in microsoft.public.windows.terminal_services: > You can log a workstation off from the Terminal Services > Connection Manager. > > Right click on User then Logoff > > "Mack Jones" <Mack Jones@discussions.microsoft.com> wrote in > message > news:5C59508D-87FD-4BC9-A393-E65FF897C7EE@microsoft.com... >> We frequently have users from oversees logging into >> workstations here in the >> U.S. using RDP. Sometimes these sessions lock up and the user >> needs to be force off so they can be reconnected normally. Is >> there a way for me from a >> command prompt using admin rights to connect to the workstation >> and force it >> to logoff the user. Or is there any other way. >> >> I know that I can force the machine to shutdown and reboot but >> I don't want >> to do that if it's a workstation that has multiple users >> connecting to it. Rebooting would kick them all off. I just >> want to kick off the one. >> >> Any advice would be appreciated.
Guest Mack Jones Posted July 2, 2008 Posted July 2, 2008 Re: Can I force a remote session to logoff? Thanks Sarah. I was more looking for a command line solution if possible. Something like I run a command shell as admin and issue a command that would logoff the user without having to reboot the machine. We do have a limited admin account that works well but we don't have access to the servers Terminal Services Connection Manager. We are remote to the data center ourselves. :( But it's very good information for me to know and I greatly appreciate your response. "Sarah Kingswell" wrote: > You can log a workstation off from the Terminal Services Connection Manager. > > Right click on User then Logoff > > "Mack Jones" <Mack Jones@discussions.microsoft.com> wrote in message > news:5C59508D-87FD-4BC9-A393-E65FF897C7EE@microsoft.com... > > We frequently have users from oversees logging into workstations here in > > the > > U.S. using RDP. Sometimes these sessions lock up and the user needs to be > > force off so they can be reconnected normally. Is there a way for me from > > a > > command prompt using admin rights to connect to the workstation and force > > it > > to logoff the user. Or is there any other way. > > > > I know that I can force the machine to shutdown and reboot but I don't > > want > > to do that if it's a workstation that has multiple users connecting to it. > > Rebooting would kick them all off. I just want to kick off the one. > > > > Any advice would be appreciated. > >
Guest Mack Jones Posted July 2, 2008 Posted July 2, 2008 Re: Can I force a remote session to logoff? Hi Vera and Thanks for your response. Actually, I should clarify the situation. We have some users that actually do connect to a terminal server. We also have a lot of users that simply connect to a workstation in the data center using RDP and use that workstation via RDP. Is there a way that you know of to log off an RDP user from remote? Preferably from and command prompt. Maybe a net command. Thanks. "Vera Noest [MVP]" wrote: > Just curious: can you explain how multiple users are connecting to > a single workstation? > _________________________________________________________ > Vera Noest > MCSE, CCEA, Microsoft MVP - Terminal Server > TS troubleshooting: http://ts.veranoest.net > ___ please respond in newsgroup, NOT by private email ___ > > "Sarah Kingswell" <sarahkingswell@hotmail.com> wrote on 30 jun > 2008 in microsoft.public.windows.terminal_services: > > > You can log a workstation off from the Terminal Services > > Connection Manager. > > > > Right click on User then Logoff > > > > "Mack Jones" <Mack Jones@discussions.microsoft.com> wrote in > > message > > news:5C59508D-87FD-4BC9-A393-E65FF897C7EE@microsoft.com... > >> We frequently have users from oversees logging into > >> workstations here in the > >> U.S. using RDP. Sometimes these sessions lock up and the user > >> needs to be force off so they can be reconnected normally. Is > >> there a way for me from a > >> command prompt using admin rights to connect to the workstation > >> and force it > >> to logoff the user. Or is there any other way. > >> > >> I know that I can force the machine to shutdown and reboot but > >> I don't want > >> to do that if it's a workstation that has multiple users > >> connecting to it. Rebooting would kick them all off. I just > >> want to kick off the one. > >> > >> Any advice would be appreciated. >
Guest Daniel Petri Posted July 2, 2008 Posted July 2, 2008 Re: Can I force a remote session to logoff? What about using the LOGOFF command? How to Log Off all Terminal Server Session Users from a Command Prompt: http://support.microsoft.com/kb/259436 -- Sincerely, Daniel Petri MVP, Senior IT consultant, trainer http://www.petri.co.il "Mack Jones" <MackJones@discussions.microsoft.com> wrote in message news:71DABAA0-BAE5-40D5-AC91-DFA57BDCB057@microsoft.com... > Thanks Sarah. I was more looking for a command line solution if possible. > Something like I run a command shell as admin and issue a command that > would > logoff the user without having to reboot the machine. We do have a > limited > admin account that works well but we don't have access to the servers > Terminal Services Connection Manager. We are remote to the data center > ourselves. :( But it's very good information for me to know and I > greatly > appreciate your response. > > "Sarah Kingswell" wrote: > >> You can log a workstation off from the Terminal Services Connection >> Manager. >> >> Right click on User then Logoff >> >> "Mack Jones" <Mack Jones@discussions.microsoft.com> wrote in message >> news:5C59508D-87FD-4BC9-A393-E65FF897C7EE@microsoft.com... >> > We frequently have users from oversees logging into workstations here >> > in >> > the >> > U.S. using RDP. Sometimes these sessions lock up and the user needs to >> > be >> > force off so they can be reconnected normally. Is there a way for me >> > from >> > a >> > command prompt using admin rights to connect to the workstation and >> > force >> > it >> > to logoff the user. Or is there any other way. >> > >> > I know that I can force the machine to shutdown and reboot but I don't >> > want >> > to do that if it's a workstation that has multiple users connecting to >> > it. >> > Rebooting would kick them all off. I just want to kick off the one. >> > >> > Any advice would be appreciated. >> >>
Guest Vera Noest [MVP] Posted July 2, 2008 Posted July 2, 2008 Re: Can I force a remote session to logoff? Check if this helps (it should work for sessions on a Terminal Server, have never tried it for sessions on a workstation): How can I remotely kill disconnected sessions? http://ts.veranoest.net/ts_faq_administration.htm#remotekill You might want to use tsdiscon instead of rwinsta _________________________________________________________ Vera Noest MCSE, CCEA, Microsoft MVP - Terminal Server TS troubleshooting: http://ts.veranoest.net ___ please respond in newsgroup, NOT by private email ___ =?Utf-8?B?TWFjayBKb25lcw==?= <MackJones@discussions.microsoft.com> wrote on 02 jul 2008 in microsoft.public.windows.terminal_services: > Hi Vera and Thanks for your response. Actually, I should > clarify the situation. We have some users that actually do > connect to a terminal server. > We also have a lot of users that simply connect to a > workstation in the data > center using RDP and use that workstation via RDP. Is there a > way that you know of to log off an RDP user from remote? > Preferably from and command prompt. Maybe a net command. > > Thanks. > > "Vera Noest [MVP]" wrote: > >> Just curious: can you explain how multiple users are connecting >> to a single workstation? >> _________________________________________________________ >> Vera Noest >> MCSE, CCEA, Microsoft MVP - Terminal Server >> TS troubleshooting: http://ts.veranoest.net >> ___ please respond in newsgroup, NOT by private email ___ >> >> "Sarah Kingswell" <sarahkingswell@hotmail.com> wrote on 30 jun >> 2008 in microsoft.public.windows.terminal_services: >> >> > You can log a workstation off from the Terminal Services >> > Connection Manager. >> > >> > Right click on User then Logoff >> > >> > "Mack Jones" <Mack Jones@discussions.microsoft.com> wrote in >> > message >> > news:5C59508D-87FD-4BC9-A393-E65FF897C7EE@microsoft.com... >> >> We frequently have users from oversees logging into >> >> workstations here in the >> >> U.S. using RDP. Sometimes these sessions lock up and the >> >> user needs to be force off so they can be reconnected >> >> normally. Is there a way for me from a >> >> command prompt using admin rights to connect to the >> >> workstation and force it >> >> to logoff the user. Or is there any other way. >> >> >> >> I know that I can force the machine to shutdown and reboot >> >> but I don't want >> >> to do that if it's a workstation that has multiple users >> >> connecting to it. Rebooting would kick them all off. I just >> >> want to kick off the one. >> >> >> >> Any advice would be appreciated.
Recommended Posts