Log off Current Remote User

Discussion forum for all Windows batch related topics.

Moderator: DosItHelp

Post Reply
Message
Author
tbharber
Posts: 32
Joined: 17 Sep 2010 17:08

Log off Current Remote User

#1 Post by tbharber » 21 Sep 2010 07:03

I am trying to add a function to a script that will log off the remote user on a computer. I am able to shutdown a remote computer with the code:
shutdown -f -s -t 01 -m \\%computername%

The Shutdown command will log off the user with a -l switch but cannot be used remotely. Anyone have any thoughts on how I can do this?

tbharber
Posts: 32
Joined: 17 Sep 2010 17:08

Re: Log off Current Remote User

#2 Post by tbharber » 04 Nov 2010 13:08

BUMP!

Still looking for a way to log of the current user on a remote machine. I have searched the net over the last two weeks with no luck. Anyone have any ideas?

Post Reply