• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 368
  • Last Modified:

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.
0
SJohnson13
Asked:
SJohnson13
1 Solution
 
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
Transaction-level recovery for Oracle database

Veeam Explore for Oracle delivers low RTOs and RPOs with agentless transaction log backup and transaction-level recovery of Oracle databases. You can restore the database to a precise point in time, even to a specific transaction.

 
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
 
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

Featured Post

Fill in the form and get your FREE NFR key NOW!

Veeam is happy to provide a FREE NFR server license to certified engineers, trainers, and bloggers.  It allows for the non‑production use of Veeam Agent for Microsoft Windows. This license is valid for five workstations and two servers.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now