Backup .pst file

Posted on 2003-11-21
Last Modified: 2010-04-08
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.
Question by:esc_toe_account
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3
  • 2
  • +1

Expert Comment

ID: 9799325
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:

LVL 49

Expert Comment

ID: 9799357
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


Author Comment

ID: 9799446
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.)
Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.


Author Comment

ID: 9799606
If you know of a batch file method for shutting down Outlook (so I can successfully copy the .pst file) see:
LVL 26

Expert Comment

ID: 9801973
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?

Expert Comment

ID: 9803090
Yes, that is exactly what is not working for me.

Expert Comment

ID: 9803101
I don't know why it doesn't always work .. esc_toe_account seems to be having the same problem.
LVL 26

Accepted Solution

Vahik earned 400 total points
ID: 9803204
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?

Author Comment

ID: 9814252
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.

Featured Post

Visualize your virtual and backup environments

Create well-organized and polished visualizations of your virtual and backup environments when planning VMware vSphere, Microsoft Hyper-V or Veeam deployments. It helps you to gain better visibility and valuable business insights.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Is your Office 365 signature not working the way you want it to? Are signature updates taking up too much of your time? Let's run through the most common problems that an IT administrator can encounter when dealing with Office 365 email signatures.
Many people use more than one email account and so it becomes difficult for them to manage them when they use separate accounts,  so, in this article, I have shared an easy way to add Other Mail Accounts in your Google Inbox. It helps to combine all…
To add imagery to an HTML email signature, you have two options available to you. You can either add a logo/image by embedding it directly into the signature or hosting it externally and linking to it. The vast majority of email clients display l…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit If you want to manage em…

717 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question