autoshut down

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

hi
is there any method by which i can track those systems in a domian running win2k server and win Xp pro as clients, which are running but have not been logged on. this will aid in remote shut down.
o
is there other way by which some settings can be done on server so that the clients which are on and is idle for more then say, 30 minutes be automatically shut down
if scripts does the works, then pls suggest some eg for ref

aken
 
aken said:
is there other way by which some settings can be done on server so that the clients which are on and is idle for more then say, 30
minutes be automatically shut down.
if scripts does the works, then pls suggest some eg for ref.

Writing a program for this would be fairly easy. You could do something in vb6 or delphi or C that checked periodically how long the
system has been idle for and shut down if it is longer than that.
 
hi
tnks for the reply. would you pls guide me to get access to some codes or website address in the net which i can customise for this problem. basically i have never done such coding and needs a startup

aken
 
Is this an Active Directory domain? If so, then you can use the Group
Policy to configure automatic logouts after timeout.

As for monitoring logouts, the tedious way is by viewing a client's security
log, although you can using an event log filtering utility (there are some
free ones) to show only event 528.

You can also find free remote administration utilities which will let you do
such things as view who is currently logged on and shut down a machine.

David Dickinson
eis at softhome dot net
 
hi,

basically i am new to this kind of thing. well, i myself is trying hard to get the data's in the log files, either in server or in clients but where to and how? is the great question mark. i wanted to track all the log files and save it, but how? any guidance

sure, as per our server is concerned, it is active directory structure. thnks a lot for the suggestion, i will try this out on loggin issue

aken
 
Code would be fairly simple, something along the lines of (in vb)

sub timer_tick
if SystemIdleTime > 30 * 60 * 1000 '30 mins in milliseconds
ShutDown
end if
end sub

the shutdown api is easy enough but with a quick search I couldn't find a way to get the system idle time.

--
Michael Culley


aken said:
hi,
tnks for the reply. would you pls guide me to get access to some codes or website address in the net which i can customise for
this problem. basically i have never done such coding and needs a startup.
 
Back
Top