Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Shaun E on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Domain Wide Logoff

Status
Not open for further replies.

jtrovato

IS-IT--Management
Feb 13, 2003
25
US
A client of mine asked me if he could click on an icon on his desktop and log all of his client off the network.

The facts:

1. All clients are windows 2000 pro SP3.
2. Server: Windows 2000 server
3. A single Domain, all client are joined to the domain.
4. All clients are in the same logical and physical network
5. I tried the logoff app that comes with the MS resource CD but no luck

John
 
Scary.... I would not even attempt to do this unless you are absoluetly sure that all of the users have closed all of their apps and files. From a Admin perspective, I would not do it, but thats me.
 
with the resource kit program "shutdown" u can give x seconds warning and 'why' message
you cant just do logoff with it
but u can do reboot after shutdown.

so you could do

for /f %%a in (complist.txt) do shutdown %%A /T:60 /R "You have 60 seconds to log out. network will be down until 3pm. " /C

:) ===============
Security Forums
 
I tried that but the problem is I have 80 machines and if one of them is off. You will get a pop-up with an error and you must click ok before it continues to shutdown the other machines.

 
i see what u mean. there doesnt seem to be a no error switch.

you try Down from ls-tools

it's got a /r reboot and can do a time and a message.

it doesnt complain as much if the computers are off.

for /f %%a in (complist.txt) do down %%A /R 60 "rebooting in 60seconds. dont logon till 3pm"

===============
Security Forums
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top