Home > Microsoft Exchange Tips > Outlook and Outlook Web Access Tips > Control Microsoft Outlook .PST file size and usage via the registry
Exchange Tips:
EMAIL THIS
 TIPS & NEWSLETTERS TOPICS 

OUTLOOK AND OUTLOOK WEB ACCESS TIPS

Control Microsoft Outlook .PST file size and usage via the registry


Brien Posey
01.31.2008
Rating: -4.20- (out of 5)


Exchange Server tips, tutorials and expert advice
Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us    Add to Google


When users are close to hitting their mailbox quotas, they often avoiding deleting email by shuffling messages into Microsoft Outlook .PST files on local or network drives. This can cause unintended long-term consequences, including data loss and corruption, storage strain and .PST file format issues. Learn how to control and prevent Microsoft Outlook .PST problems by implementing registry keys that manage ANSI- and Unicode-based .PST file size and usage in Outlook 2003 and Outlook 2007.

Many use .PST files to evade Exchange Server's mailbox quotas. Instead of deleting messages when mailboxes begin filling up, users often move them to .PST files and keep them indefinitely. While this sounds like a solution, there are several problems associated with using .PST files this way.

First, storing email messages in a local .PST file long-term can result in unintended data loss. If a user stores his .PST file on a workstation's hard drive, the .PST file probably won't be backed up.

Second, Microsoft doesn't recommend storing actively used .PST files on a network drive, because corruption can occur if the network connection were to fail. Despite this, many organizations do, and the space that those files consume becomes an issue. Even if an Exchange server's hard drives are large enough to store the files, backup hardware may be inadequate to process such large files within the allotted backup window.

While these issues can be dealt with through proper planning, many administrators overlook a third issue that results from the existence of two different types of .PST files.

Prior to Outlook 2003, .PST files were ANSI-based, and had a strict 2 GB size limit. Originally, Microsoft Outlook didn't contain any method to prevent these files from growing beyond that size limit. Once an ANSI-based .PST file exceeds 2 GB, the file becomes corrupt.

Microsoft's PST2GB utility can be used to repair a corrupted Exchange Server .PST file. However, this utility truncates the file, which will result in some data loss.

Microsoft eventually implemented some controls in its Office 2000 Service Release 1A and Office XP SP1 to prevented .PST files from exceeding the 2-GB limit. The Office 2000 service release prevents .PST files from growing too large, while the Office XP service pack generates a warning when .PST files reach 1.8 GB. These controls are implemented in Outlook, not in the .PST file itself. This is important because any version of Microsoft Outlook can open ANSI-based .PST files.

Microsoft Outlook 2003 and Outlook 2007 use a Unicode format for .PST files. Unicode-based .PST files have a 2 to 20 GB size limit.

This 20 GB size limit presents some issues:

  • Space: If every user stored large .PST files on the Exchange server, you would encounter a storage issue.

  • Legacy ANSI-based files: Users can still open files from an ANSI-based .PST file in Outlook 2007, and then copy data to the file for either permanent storage or to relocate the data. Because ANSI-based files are subject to the 2 GB limit (even if opened in Outlook 2007) there is no way to upgrade the .PST file to Unicode format. You can create an empty Unicode-based .PST file, and move the data from a Unicode .PST file into it, but you cannot upgrade.
More on Microsoft Outlook .PST files:
Performance problems with Microsoft Outlook 2007 .PST and .OST files

Migrating older .PST files to Microsoft Outlook 2003

Learning Center: A primer on .PST files

To prevent problems with mismatched file limits and excessive storage space requirements, some Exchange Server administrators implement registry settings that control the behavior of both ANSI- and Unicode-based files.

Keep in mind: Editing the registry can be dangerous. Making an incorrect modification can destroy Windows and, possibly, your applications. I recommend implementing a full-system backup before editing the registry.

The location in which you must create registry keys varies, depending on whether you're using Outlook 2003 or Outlook 2007. In Outlook 2003, the registry keys must be created at:

HKEY_CURRENT_USER\Software\Policies\Microsoft\Office\11.0\PST

In Outlook 2007, registry keys must be created at:

HKEY_CURRENT_USER\Software\Policies\Microsoft\Office\12.0\PST

For several registry keys, Unicode key values must be entered in terms of megabytes, but expressed in hexadecimal notation (Table 1). For example, 20 GB is the same as 20,480 MB; this would be entered as 5000 in hexadecimal notation. Values for ANSI-related keys must be entered in terms of bytes, but expressed in hexadecimal notation. New Page 1

 

Name

Value Range

Default Value

Description

MaxLargeFileSize

0x00000001 (1 MB) to 0x00005000 (20 GB)

0x00005000 (20 GB)

Maximum size of a Unicode .PST file.

WarnLargeFileSize

0x00000001 (1 MB) to 0x00005000 (20 GB)

0x00004C00 (19 GB)

The threshold at which a warning is displayed when Unicode .PST files become too large.

MaxFileSize

0x001F4400 to 0x7C004400

(1.95 MB to 1.937 GB)

0x7BB04400

(1.933 GB)

Maximum size for an ANSI based .PST file (the maximum size is set to just under the 2 GB threshold).

WarnFileSize

0x001F4400 to 0x7C004400

(1.95 MB to 1.937 GB)

0x74404400

(1.816 GB)

The threshold at which a warning is displayed when Unicode files grow too large.

Table 1. Registry keys that control .PST file sizes.

NOTE: If you need help converting decimals to hexadecimals, the calculator found in Microsoft Office Windows can do this, when operating in scientific mode.

About the author: Brien M. Posey, MCSE, is a Microsoft Most Valuable Professional for his work with Exchange Server, and has previously received Microsoft's MVP award for Windows Server and Internet Information Server (IIS). Brien has served as CIO for a nationwide chain of hospitals and was once responsible for the Department of Information Management at Fort Knox. As a freelance technical writer, Brien has written for Microsoft, TechTarget, CNET, ZDNet, MSD2D, Relevant Technologies and other technology companies. You can visit Brien's personal Web site at www.brienposey.com.

Do you have comments on this tip? Let us know.

Please let others know how useful this tip was via the rating scale below. Do you know a helpful Exchange Server, Microsoft Outlook or SharePoint tip, timesaver or workaround? Email the editors to talk about writing for SearchExchange.com.

Rate this Tip
To rate tips, you must be a member of SearchExchange.com.
Register now to start rating these tips. Log in if you are already a member.




Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us    Add to Google


RELATED CONTENT
.PST Files
Lock down Microsoft Outlook 2007 to prevent .PST file access
Migrating .PST files to an Exchange Server information store
Create a group policy to prevent .PST file storage in Exchange 2007
Why are .PST files a security threat to Exchange Server mailboxes?
Microsoft Outlook .PST file FAQs
Export Exchange public folder calendar to Outlook .PST file
Best practices for using Outlook .PST files on portable USB drives
Tools that support Boolean searches of Exchange mailbox data and .PSTs
Automatically save Microsoft Outlook email attachments to disk
Migrating .PST files to new Exchange 2003 mail stores

Microsoft Outlook
Troubleshooting why some Microsoft Outlook 2007 email disappears
How to custom-configure a Microsoft Outlook 2007 install using OCT
Search and index Microsoft Outlook 2007 public folders
Can't delete old Microsoft Outlook public folders
Executing an .MSP customization file in Microsoft Outlook 2007
How effective is tracking the IP address of an email hacker?
Lock down Microsoft Outlook 2007 to prevent .PST file access
Third-party tool moves Outlook attachments to Microsoft SharePoint
Free tools keep Microsoft Outlook visible in Windows Vista
Migrating .PST files to an Exchange Server information store
Microsoft Outlook Research

Outlook and Outlook Web Access Tips
Troubleshooting why some Microsoft Outlook 2007 email disappears
How to custom-configure a Microsoft Outlook 2007 install using OCT
Executing an .MSP customization file in Microsoft Outlook 2007
OWA Light vs. Exchange ActiveSync on Windows Mobile devices
Create a secure Microsoft Outlook Web Access (OWA) redirect page
Lock down Microsoft Outlook 2007 to prevent .PST file access
Third-party tool moves Outlook attachments to Microsoft SharePoint
Troubleshooting slow Outlook Web Access (OWA) performance
Free tools keep Microsoft Outlook visible in Windows Vista
Tool deploys customized Microsoft Outlook 2007 configurations

RELATED GLOSSARY TERMS
Terms from Whatis.com − the technology online dictionary
bacn  (SearchExchange.com)
email bankruptcy  (SearchExchange.com)
offline folder file  (SearchExchange.com)
OST file  (SearchExchange.com)

RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary

DISCLAIMER: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.



Email Server Solutions: Exchange 2007, Exchange 2003, Exchange 2000, SharePoint
HomeNewsTopicsITKnowledge ExchangeTipsAsk the ExpertsMultimediaWhite PapersIT Downloads
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides enterprise IT professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective IT purchase decisions and managing their organizations' IT projects - with its network of technology-specific Web sites, events and magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Reprints  |  Site Map




All Rights Reserved, Copyright 2004 - 2008, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts