Home > Microsoft Office 2003, Microsoft Office 2007 > How to configure the size limit for both (.pst) and (.ost) files in Outlook 2007 and in Outlook 2003

How to configure the size limit for both (.pst) and (.ost) files in Outlook 2007 and in Outlook 2003


How to configure the size limit for both (.pst) and (.ost) files in Outlook 2007 and in Outlook 2003 Microsoft
Office Outlook 2007 and Microsoft Office Outlook 2003 supports both American National Standards Institute (ANSI) and UNICODE personal folders (.pst) and offline folder (.ost) files. This article describes how to use the following four registry entries to limit the size of both the .pst and the .ost files:

  • The MaxFileSize registry entry
  • The WarnFileSize registry entry
  • The MaxLargeFileSize registry entry
  • The WarnLargeFileSize registry entry

Follow these steps to configure the size limit for both the .pst and the .ost files.
Note The settings that are discussed in this article apply to both .ost and .pst files. If you modify these registries, this can affect .ost files that are used with Cached Exchange Mode, with AutoArchive, and with .pst. files.
Important This section, method, or task contains steps that tell you how to modify the registry. However, serious problems might occur if you modify the registry incorrectly. Therefore, make sure that you follow these steps carefully. For added protection, back up the registry before you modify it. Then, you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click the following article number to view the article in the Microsoft Knowledge Base:

322756 How to back up and restore the registry in Windows

  1. Click Start, and then click Run.
  2. In the Open box, type regedit, and then click OK.
  3. In the left pane, expand My Computer, and then expand HKEY_CURRENT_USER.
  4. Expand Software, and then expand Policies.
  5. Expand Microsoft, and then expand Office.
  6. Expand 11.0 for Outlook 2003 and 12.0 for Outlook 2007, and then expand Outlook.
  7. Click PST, and then right-click MaxFileSize in the right pane.
  8. Click Modify, and then type the value in the Value data box.
  9. Click OK.
  10. Right-click WarnFileSize, and repeat steps 8 through 9.
  11. Right-click MaxLargeFileSize, and repeat steps 8 through 9.
  12. Right-click WarnLargeFileSize, and repeat steps 8 through 9.

Note You may have to create the registry values if they do not exist. If the registry values do not exist, follow these steps to create them.

1. Click Start, click Run, type Regedit, and then click OK.
2. In the left pane, expand following registry key:

  • For Outlook 2007
    • HKEY_CURRENT_USER\Software\Policies\Microsoft\Office\12.0\Outlook
  • For Outlook 2003
    • HKEY_CURRENT_USER\Software\Policies\Microsoft\Office\11.0\Outlook

3. On the Edit menu, point to New, and then click Key.
4. Type PST, and then press ENTER.
5. On the Edit menu, point to New, and then click DWORD value.
6. Type MaxFileSize, and then press ENTER two times.
7. In the Edit DWORD Value window, type the value in the Value data box, and then click OK.
8. Repeat steps 3 through 7 to create another DWORD WarnFileSize.
9. Repeat steps 3 through 7 to create another DWORD MaxLargeFileSize.
10. Repeat steps 3 through 7 to create another DWORD WarnLargeFileSize, and then close the registry.

Note For mass deployment of these registry keys on end-user machines, the ORK tool can be used.

For further information click on this URL:

http://support.microsoft.com/kb/832925

  1. 8 April 2010 at 06:14

    This is exactly what I was looking for. Thank you for sharing this great article. I am always looking for informative information like this. You are bookmarked! Have a good day.

  2. 26 October 2010 at 10:44

    The above post is very informative and useful. This is exactly what I am looking to configure my .ost file size in MS Outlook 2007

  3. 8 November 2010 at 12:14

    The above mentioned post is very helpful to configure the ost or pst file size limit in Outlook 2003 or 2007. but it is still a little bit tricky and needs some technical experties

  4. shivy
    9 December 2010 at 15:46

    I’ve tried to extend my Outlook 2007 file size limit, but in my key registry there is no Office under Policies … WHY ??
    where else could i find this ?
    I realy need to change my PST file size limit, got to 19.9GB.
    thank you
    b.regards
    Shiv

    • 9 December 2010 at 16:05

      Hi Shivy,
      it’s very strange.
      These tricks works with outlook 2003, 2007 and 2010!
      Have you tried to split your original PST file (19.9 Gb) in three
      or four new pst files; for example I have created one pst file per year
      (2005.pst, 2006.pst … 2009.pst, 2010.pst).
      Let me know.
      BR.
      Tipsandtricks4it Administrator

  5. shivy
    9 December 2010 at 16:15

    Thank you for your quick answer.
    I want to keep 1 file only but extend the limit to 50GBs.
    I’m running Win7Pro and cannot find on the regedit the Office under Policies/Windows. There are only System Certificates and Windows.
    This is not normal, is it ?

    • 9 December 2010 at 16:39

      Hi Shivy, could you try the following solution:

      http://www.msoutlook.info/question/99

      using the following location:

      Outlook 2003: HKEY_CURRENT_USER\Software\Microsoft\Office\11.0\Outlook\PST
      Outlook 2007: HKEY_CURRENT_USER\Software\Microsoft\Office\12.0\Outlook\PST
      Outlook 2010: HKEY_CURRENT_USER\Software\Microsoft\Office\14.0\Outlook\PST

      Sorry, but now I haven’t here available my notebook with Windows 7 to try it.
      Let me know.
      BR.
      Tipsandtricks4it Administrator

      • shivy
        4 February 2011 at 09:48

        I’ve created the registry keys that were missing. put it to 50GB.
        Now i’m just waiting to pass 20GB to be sure it worked.
        It shows now on file size: 19.8GB(21,283,988,480 bytes)

  6. 1 February 2011 at 10:04

    Here is what you might want! OST to PST free converter demo that will give you an idea about the process of Exchange OST recovery

    http://www.exchangeostrecovery.org/

  7. joe c
    20 July 2011 at 14:09

    it is great the problem is it does not tell you WHAT VALUE to type in ??????

  8. joe c
    20 July 2011 at 14:10

    does anyone know what the exact kex number is – looks like that I can use to set 20gb and 19gb

    • 31 August 2011 at 15:06

      Hi Joe,
      10x for your suggestion/comment.

      Following this URL:
      http://support.microsoft.com/kb/832925
      You can find the right values:

      Outlook 2010

      Name Type Valid Data Range Default
      MaxLargeFileSize REG_DWORD 0x00000001 – 0x0000C800 0x0000C800 51,200 (50 GB)
      WarnLargeFileSize REG_DWORD 0x00000000 – 0x0000BE00 0x0000BE00 48,640 (47.5 GB)
      MaxFileSize REG_DWORD 0x001F4400 – 0x7C004400 0x7BB04400 2,075,149,312 (1.933 GB)
      WarnFileSize REG_DWORD 0x00042400 – 0x7C004400 0x74404400 1,950,368,768 (1.816 GB)

      Outlook 2007 and Outlook 2003

      Name Type Valid Data Range Default
      MaxLargeFileSize REG_DWORD 0x00000001 – 0x0000C800 0x00005000 20,480 (20 GB)
      WarnLargeFileSize REG_DWORD 0x00000000 – 0x0000BE00 0x00004C00 19,456 (19 GB)
      MaxFileSize REG_DWORD 0x001F4400 – 0x7C004400 0x7BB04400 2,075,149,312 (1.933 GB)
      WarnFileSize REG_DWORD 0x00042400 – 0x7C004400 0x74404400 1,950,368,768 (1.816 GB)

       

      Don’t hesitate to contact me in case any doubts.
      BR
      Admin

  9. Saad
    17 November 2011 at 07:37

    hi which data i have to put in REG_DWORD kindly send snap shot of REGEDIT

  10. 24 December 2011 at 17:44

    messing with registry file may land you in some serious problem so i will advice you that keep check size of ost file pst files respectively. If ost and pst files exceeds their file size limit then you have to recover thei content

  1. No trackbacks yet.

Leave a comment