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 Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Automatic log off administrator

Status
Not open for further replies.

pmsoft

Programmer
Sep 26, 2008
2
NL
I would like to make the administrator account log off automaticly after a certain amount of time.

Is this option available in W2000 server?

If so: where should I activate this option?
 
Do you have to log off? Why not just use the screen saver with the 'Password Protected' option turned on?
 
Thanks for your answer Griffyn.

This is the problem:
At my work I manage a w2000 server. If I logon with administrator and do nothing for 10 minutes, it logs administrator off. (No it is not the screensaver: the screensaver option is disabled)

For a few second it shows the messages:
Shut down...
Log of administator...

Then the login screen is shown.
If you give the password for administrator it gives the message:

Loading personal settings...

And you can use the server.

I would like to know if this is a w2000 standard facility, or the person who installed this server used external software to automaticly log of administrator.
I searched for it on the server, but couldn't find this software.

Regards,
Henk
 
Windows 2000 does have a standard Logoff command, but requires Terminal Services to be running. This requires (I think) for you to have terminal services licenses for the server.
 
Sounds like a group policy is logging off the admin after 10 minutes of inactivity. Run a GPRESULT and see if any are applied.
 
Alternatively there is a few other options.

psshutdown.exe <-- Pstools by Sys Internals (free, standalone)
shutdown.exe <-- not standard on W2k I don't think.

They can be set as logon scripts
Code:
psshutdown.exe -f -o -t 600 -v 0
that would force all applications to close, logoff, 10 minutes from the moment it runs and display no dialogue.

Or an automation program (like a macro). I built something similar using AutoIT a while back.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top