Solved

I need a script either bat or vbs that will log off all users from a win 2k3 server.

Posted on 2011-03-22
3
474 Views
Last Modified: 2012-06-21
I need a script that i could run as a scheduled task that will log off users from a win 2k3 server...
Thanks in advance
0
Comment
Question by:geoasher023
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 2

Expert Comment

by:seanyc111
ID: 35192303
type shutdown -i in cmd and it will open a gui giving you options of restarting, shutting down or logging off computers and you can add computers at the top

this will need user input each time but you can write a very simple vbs file that will inpput all the commands for u using oShell.sendkeys. i can even write the vbs file for u    

0
 

Author Comment

by:geoasher023
ID: 35192582
That would be awesome thanx
0
 
LVL 14

Accepted Solution

by:
robincm earned 125 total points
ID: 35208221
Microsoft already wrote this:
http://support.microsoft.com/kb/259436
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Not long ago I saw a question in the VB Script forum that I thought would not take much time. You can read that question (Question ID  (http://www.experts-exchange.com/Programming/Languages/Visual_Basic/VB_Script/Q_28455246.html)28455246) Here (http…
Introduction: Recently, I got a requirement to zip all files individually with batch file script in Windows OS. I don't know much about scripting, but I searched Google and found a lot of examples and websites to complete my task. Finally, I was ab…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…
Are you ready to implement Active Directory best practices without reading 300+ pages? You're in luck. In this webinar hosted by Skyport Systems, you gain insight into Microsoft's latest comprehensive guide, with tips on the best and easiest way…

730 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question