Backup .pst file

Would like to backup the .pst file from a workstation automatically after hours to the server (we leave the workstations on weekday evenings to auto update Windows patches).

· Not using Exchange Server
· Because of trouble with the server on this particular network, so Windows 2000 workstations with Outlook XP keep heir .pst file on the local workstation, instead of on the server.

This works fine by copying the file via a batch file, but sometimes the user leaves Outlook running. First thought would be to shut down Outlook if it is running via a batch file before copying the .pst--but how to do that?

Backing up while Outlook (and other applications) is/are running has been problematic - these are old, slow workstations.

Any solution for shutting down Outlook if it is running and then backing up the .pst file would be welcome.

 I can use a restart Windows command, and set Windows to automatically login and then run the batch file, but prefer not to for security reasons.
Who is Participating?
sorry to hear that it is not working for u guys.I tried it both from command
prompt and schedual task and they both worked.
If u just create a simple .bat file  kill outlook.exe and nothing else
and put it on ur desktop and click on it while outlook is open does it
kill the outlook or not?
Use a batch file to START Outlook if it is not running, then use an Outlook add-in to backup the .pst file. Here's one:

Outlook 2002/2000 Add-in: Personal Folders Backup:

Dear esc_toe_account,

OL2000: (CW) How to Back Up, Restore, or Move Outlook Data

OL2000: (IMO) How to Back Up, Restore, or Move Outlook Data

Ways to Back Up Outlook 2000 Data

OL2002: How to Back Up, Restore, or Move Outlook Data

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.

esc_toe_accountAuthor Commented:
Looking for AUTOMATIC method.

(Manual methods described by kb articles 195719, 196492, 287070. Olbackup.aspx [Sunray] and pfbackup.aspx [Controltheweb] describe the add-in, which also requires user intervention.)
esc_toe_accountAuthor Commented:
If you know of a batch file method for shutting down Outlook (so I can successfully copy the .pst file) see:
esc u already have the answer.just create a .bat file
kill outlook.exe
copy whatever
start outlook.exe if u like.
Then go to schedual a task and put the file in to be excecuted.I just tried it and it works.Is this what u are looking for?
Yes, that is exactly what is not working for me.
I don't know why it doesn't always work .. esc_toe_account seems to be having the same problem.
esc_toe_accountAuthor Commented:
The entire content of my test.bat file is:

echo off

I've also tried it with the PID instead of OUTLOOK.EXE, and also by using pskill instead of kill. It works from within a command window, but not within a batch file.
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.

All Courses

From novice to tech pro — start learning today.