How long does it take to compact a pst file

› Outlook › Configure and Maintain › How to Compact the File Data When you Cshed Outlook

It’s possible to configure Outlook to automatically compact the pst eincredibly time you close Outlook. I don’t recommfinish doing it (or emptying the deleted folder on exit) as it have the right to lengthen the moment it takes Outlook to shutdvery own and if Outlook is forced to cshed in the time of the compaction process the data file could end up being corrupt.

You watching: How long does it take to compact a pst file

However, this can be useful to individuals that resolve sensitive data and also should ensure messeras can’t be recovered as compacting clears all traces of deleted messages, making it difficult to recuperate the mail.

Understanding Deletion and also Compaction

After you delete messeras and also other Outlook items then empty the Deleted Item folder, the deleted items are rerelocated from the index so Outlook does not display screen them but they are left in the data paper. The area supplied by these deleted messeras is frequently referred to as “white space”. Until Outlook recovers this area by compacting the data record, it may be feasible to recover deleted messperiods making use of recoincredibly software program.

Outlook will certainly automatically compact the data record when the “white space” reaches 20% of the information file’s size and also the computer is idle. Due to the fact that it runs as a background business, it can take days for Outlook to complete compacting the pst file. (If you leave Outlook open up as soon as the computer is running it will have actually more idle time to compact the data record.)

If you deleted most messperiods and also don’t desire to wait for Outlook to obtain roughly to it, you have the right to recover the totally free area by running Compact Now. To perform this, right-click the top-level of the data record and pick Properties, then click the State-of-the-art switch and Compact Now. Keep in mind that it deserve to take a lengthy time to compact a large data document.



If you want to force Outlook to rerevolve this totally free room eincredibly time that you cshed Outlook, you can include PSTNullFreeOnCshed to the registry.

Press Windows essential + R and also type regmodify in the Run dialog then press Get in to open the regisattempt editor.

See more: My Afterglow Headset Mic Not Working Pc, How Do I Connect My Headset To My Pc

Browse to the appropriate essential for your version of Outlook.If the PST subvital does not exist, develop it.Right click on PST essential and also pick New, DWORD.Type (or paste) PSTNullFreeOnCshed as the Name.Double click it and enter 1 as the Value.

For Outlook 2016/2019/365:HKEY_CURRENT_USERSoftwareMicrosoftOffice16.0OutlookPSTFor Outlook 2013:HKEY_CURRENT_USERSoftwareMicrosoftOffice15.0OutlookPSTFor Outlook 2010:HKEY_CURRENT_USERSoftwareMicrosoftOffice14.0OutlookPSTOutlook 2007:HKEY_CURRENT_USERSoftwareMicrosoftOffice12.0OutlookPSTOutlook 2003:HKEY_CURRENT_USERSoftwareMicrosoftOffice11.0OutlookPSTOutlook 2002:HKEY_CURRENT_USERSoftwareMicrosoftOffice10.0OutlookPSTOutlook 2000:HKEY_CURRENT_USERSoftwareMicrosoftOffice9.0OutlookPST

DWORD: PSTNullFreeOnCloseValue Data: 1 = compact on close, 0 = don’t compact


This crucial was introduced in an upday for Outlook 2000 and functions in all versions of Outlook that are updated via the latest service fill.

This vital compacts both pst and also ost files. With the worth set to 1, deleted data is removed as soon as you cshed Outlook. When it’s collection to 0 or deleted, the data paper will certainly not be compacted on close.

Keep in mind that the first time you cshed Outlook after making this readjust, it might take a long time for Outlook to close.

See more: Sorry, Something Went Wrong. Try Refreshing This Page., Something Went Wrong

Doit It For Me

If you do not desire to modify the registry, we have reg records you deserve to usage.

Outlook 2016/2019/365 Outlook 2013Outlook 2010 Outlook 2007

More Information

Outlook 2007 renovations in the February 2009 cumulative updateAfter installing Office 2007 SP2, Outlook takes a lengthy time to close and Outlook.exe continues to be running in the background

How to Compact the Documents File When you Cshed Outlook was last modified: February 15th, 2021 by Diane Poremsky