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?
Log off Current Remote User
Moderator: DosItHelp
Re: Log off Current Remote User
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?
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?