Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.



Windows 7: Remote Logoff Users?

09 May 2011   #1

Win 7 Ultimate 64 Bit
 
 
Remote Logoff Users?

Hello everyone, first post here.

So here's the pickle: I work in a hospital with a pretty big network. Till now our help desk computers were all Win XP and were recently upgraded to Win 7.

Now in Win XP if the help desk person wanted to remote logoff a user (which happens a lot as computers are sometimes locked by a certain user but must be released) they simply remote managed that computer and clicked properties -> shutdown -> logoff and that would do the trick. In Win 7 however there is no Shutdown in Remote Manage and it's no longer possible to do this.

I was going to create a batch file using shutdown.exe but it turns out the -l trigger of that command is limited and won't allow the usage of -m in the same command.

Any other ideas?

My System SpecsSystem Spec
.

09 May 2011   #2

Windows XP Professionnal 32-bits
 
 

You should be able to shut it down like that:

  1. Click Start, click All Programs, click Accessories, and click Command Prompt.
  2. Type shutdown /i to display the Remote Shutdown dialog box (Shutdown.exe).
  3. Under Computers, click Add to enter computer names, or click Browse to open the Find Computers dialog box.
  4. Under What do you want these computers to do, click Restart or Shut down.
  5. Select the appropriate reason for the restart or shutdown from the list.
My System SpecsSystem Spec
09 May 2011   #3

Windows 7 Ultimate x64
 
 

psshutdown from SysInternals (www.sysinternals.com) has an option to logoff the console user of a remote user.
My System SpecsSystem Spec
.


10 May 2011   #4

Win 7 Ultimate 64 Bit
 
 

Quote   Quote: Originally Posted by JubeiITSS8 View Post
You should be able to shut it down like that:

  1. Click Start, click All Programs, click Accessories, and click Command Prompt.
  2. Type shutdown /i to display the Remote Shutdown dialog box (Shutdown.exe).
  3. Under Computers, click Add to enter computer names, or click Browse to open the Find Computers dialog box.
  4. Under What do you want these computers to do, click Restart or Shut down.
  5. Select the appropriate reason for the restart or shutdown from the list.
That would restart the computer, I just want to log off the user from the remote computer. (BTW I shoulda mentioned the workstations are all Win XP).

Quote   Quote: Originally Posted by tgerbert View Post
psshutdown from SysInternals (www.sysinternals.com) has an option to logoff the console user of a remote user.
Thanks, I'll check it out. I was kinda hoping there was a built in option to do this though.
My System SpecsSystem Spec
10 May 2011   #5

Windows 7 Ultimate x64
 
 

Sysinternals is almost built-in - Microsoft bought'em up a little while ago and hired the guys that developed the tools.

You might be able to accomplish the same thing using at or schtasks and the builtin shutdown, but it'd just be much easier to use psshutdown.
My System SpecsSystem Spec
10 May 2011   #6

Windows 8.1 Pro x64
 
 

I have a VBScript that does this.

remote logoff.vbs

Run It >> Enter I.P Address or Computer Name >> Click OK

Hope this helps.


Regards,
JDobbsy1987


My System SpecsSystem Spec
11 May 2011   #7

Win 7 Ultimate 64 Bit
 
 

Quote   Quote: Originally Posted by JDobbsy1987 View Post
I have a VBScript that does this.

Attachment 153854

Run It >> Enter I.P Address or Computer Name >> Click OK

Hope this helps.


Regards,
JDobbsy1987
That is just great! Just what i was looking for. Thanks a lot Dobbsy
My System SpecsSystem Spec
11 May 2011   #8

Windows 8.1 Pro x64
 
 

Glad i could be of help
My System SpecsSystem Spec
31 Jan 2012   #9

win 7 pro 32bit
 
 

Quote   Quote: Originally Posted by JDobbsy1987 View Post
I have a VBScript that does this.

Attachment 153854

Run It >> Enter I.P Address or Computer Name >> Click OK

Hope this helps.


Regards,
JDobbsy1987
DUDE thank you so much! i have been working on a vb app for my network! unfortunately i know nothing of programming. AMAZING job. you take donations?
My System SpecsSystem Spec
02 Mar 2012   #10

Win7 64-bit
 
 

Besides entering the IP address of the computer you are trying to log off, are there any changes you need to make to the script for it to work?

Also, does it work on separate vlans?
My System SpecsSystem Spec
Reply

 Remote Logoff Users?





Thread Tools




Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 07:39 PM.
Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33