how logoff a user remotly

i am TS into a server and i have a admin user accoutn that is trying to log on to the server, i need to logof the user and i can not thru Terminal services manager, how can i do it while logged onto the server locally thru the command line.  the user that is logging in is on our domain.
scripttron75Asked:
Who is Participating?
 
Christopher McKayMicrosoft Network AdministratorCommented:
Psshutdown claims to be able to do it:
http://www.microsoft.com/technet/sysinternals/utilities/psshutdown.mspx


Bartender_1
0
 
Christopher McKayMicrosoft Network AdministratorCommented:
You could use the shutdown command to reboot the system, effectively logging them off:

shutdown -r -m \\computername

Hope this helps!

:o)

Bartender_1
0
 
ormerodrutterCommented:
You can't log a user off his/her workstation. TS manager only allows you to log the user's terminal session off.
0
Cloud Class® Course: Microsoft Exchange Server

The MCTS: Microsoft Exchange Server 2010 certification validates your skills in supporting the maintenance and administration of the Exchange servers in an enterprise environment. Learn everything you need to know with this course.

 
scripttron75Author Commented:
something else, i can not shutdown this server come on i thought this place had higher knowledge
0
 
scripttron75Author Commented:
i tried psshutdown -o it said it intiated but it did not kick the user off
0
 
Christopher McKayMicrosoft Network AdministratorCommented:
This could be due to an open document waiting for the "Do you want to save?" to be answered.
If so, then it you'd have to force the system to close open applications.
0
 
scripttron75Author Commented:
how do i do that
0
 
Christopher McKayMicrosoft Network AdministratorCommented:
use the -f switch in conjunction with the -o switch.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.