Automatically force users to close applications and log off server.

We recently upgraded to Windows Small Business Server 2003.  We are having a problem with nightly backups when, Outlook archive files or Timberline files are left open.  Is there a way to automatically log off all users after a set time at night or a period of inactivity.  Our hours of operation allow me to set a specific time during the week for this to occur.  It's important that the users files/programs are closed and they are completely logged off the server to solve our problem.
SJohnson13Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Lee W, MVPTechnology and Business Process AdvisorCommented:
I've used PSTOOLS PSSHUTDOWN utility (with the logoff switch instead of actually shutting down) to do this in my environment.  Works well in my opinion.  See www.sysinternals.com.

I use the tool in a script command as follows:
for /f "tokens=1" %%a in ('net view ^| find "\\"') do If {%%a} NEQ {\\SERVERNAME} psshutdown -o -f %%a
0
Lee W, MVPTechnology and Business Process AdvisorCommented:
The script runs NET VIEW to list all computers seen on the network, then it runs the PSSHUTDOWN tool on each one that is NOT (Not EQual = NEQ) named the same as the server (you don't want to log out of the server).
0
luv2smileCommented:
What OS are the clients?

There are several options.

You can use the winexit screen saver to accomplish this in XP:

http://support.microsoft.com/default.aspx?scid=kb;en-us;314999&sd=tech#2

You can also set logon hours (you do this from their account in active directory- properties- account- logon hours button) and then apply group policy to force user log off after thier logon time expires.
0
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

luv2smileCommented:
Personally, I think setting logon hours would work quite well and be your best and easist option if your environment has set hours and you know everyone will be out of the office after a certain time.
0
BjornEricssonCommented:
For a shareprogram to easlily handle this, you have "Auto Shutdown". http://www.barefootinc.com/autoshutdown.htm
There is also another, better tool (which I use myself) at http://www.snapfiles.com/download/dlsmartshutdown.html
There are, as luv2smile, mentions the option to set specific hours, this can however cause problems if your users are working irregular hours, overtime, e.t.c.
/B
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
caball88Commented:
umm shutting down someone's system with potential open documents seems a little drastic. what backup software are you using for your daily backups? at work we use Arcserve from computer associates and they have an open file agent which will allow me to backup files that are currently open.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Networking

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.