Delpst.exe - Outlook Tools for managing PST files in your Outlook Profile
The Delpst.exe tool allows you remove services (PST files) from a given email profile. It is possible to remove all ANSI files, all UNICODE PST files, or all files of both types. This tool cannot be used to remove individually specified .pst files from a profile. This tool does not delete PST files from your hard drive. It only removes them from your Outlook profile.
The following file is available for download from the Microsoft Download Center:
When you run the tool, it requires the following parameters:
-p <Profilename> -f <a|u|b> for the pst type: Ansi|Unicode|Both
Here are a couple of example commands to add a PST file to a profile: Remove all ANSI PST files from a profile called
Delpst.exe -p MyOutlookProfile -f a
Remove all PST files (both types) from a profile called
Delpst.exe -p MyOutlookProfile -f b
The following is an example output where the Delpst.exe tool removed all Unicode PST files from the profile. In this case, there were two PST files removed from the profile.
Installed UNICODE pst services: 2
Deleted pst service 0 successfully
Deleted pst service 1 successfully
Delpst.exe - System Requirements
Microsoft Visual C++ 2008 SP1 Redistributable Package required. The “Microsoft Visual C++ 2008 SP1 Redistributable Package” can be downloaded from the Microsoft Download Center. Click one of the following links for the appropriate download.