Computer Newbies forum

General discussion

Disabling compacting in Outlook Express

by daffydog / October 19, 2006 11:08 PM PDT

I now have over 23,000 e-mails between my Deleted and Sent folders in Outlook Express v.6 (XPsp2), and for the last few months, every week or so, I get a message asking if I want to free up disc space with compacting. This compacting function has corrupted my Inbox three times now, and sent the entire Inbox to the fifth dimension, not retrievable in any way. I've found that I have to close every open program (including IE 6) to prevent this file corruption, and even then I get 3 or 4 messages during the compacting process that tells me that OE is being used by another program during the compacting, and I have click OK to continue the compacting. If I try to cancel the compacting function, it asks me to compact every time I try to close OE. I've not found a way to disable this compacting annnoyance. Anyone else figured out how to do this? I have a 160GB internal HD and a 500 GB external HD, and saving space on my discs is not a concern.

Discussion is locked
You are posting a reply to: Disabling compacting in Outlook Express
The posting of advertisements, profanity, or personal attacks is prohibited. Please refer to our CNET Forums policies for details. All submitted content is subject to our Terms of Use.
Track this discussion and email me when there are updates

If you're asking for technical help, please be sure to include all your system info, including operating system, model number, and any other specifics related to the problem. Also please exercise your best judgment when posting in the forums--revealing personal information such as your e-mail address, telephone number, and address is not recommended.

You are reporting the following post: Disabling compacting in Outlook Express
This post has been flagged and will be reviewed by our staff. Thank you for helping us maintain CNET's great community.
Sorry, there was a problem flagging this post. Please try again now or at a later time.
If you believe this post is offensive or violates the CNET Forums' Usage policies, you can report it below (this will not automatically remove the post). Once reported, our moderators will be notified and the post will be reviewed.
Collapse -
maybe
by bob b / October 19, 2006 11:57 PM PDT

Open OE.

tools/options/maintenance

There is an option about compacting.

I don't have it enabled so I don't know what it does.

Collapse -
no option to complete disable compacting
by daffydog / October 20, 2006 12:50 AM PDT
In reply to: maybe

The toos, options, maintenance sequence doesn't give me any option to completely disable compacting, which is what I want. Thanks anyway.

Collapse -
Re: Disabling compacting in Outlook Express
by Tufenuf / October 20, 2006 12:21 AM PDT

daffydog, "I now have over 23,000 e-mails between my Deleted and Sent folders in Outlook Express v.6 (XPsp2)".

Why don't you delete those 23,000 e-mails?

Go thru the info at the links below and whenever OE is compacting never stop it as this is a major cause of file corruption.

The Other E-Mail Threat: File Corruption in Outlook Express

http://www.microsoft.com/windows/ie/community/columns/filecorruption.mspx

Why does OE insist on compacting folders when I close it?

http://www.insideoe.com/faqs/why.htm#compact

Tufenuf

Collapse -
still no way to disable compacting
by daffydog / October 20, 2006 1:03 AM PDT

I've seen these pages. Still don't see how to disable completely the compacting function. Probably no way to do this. Good point on the number of e-mails -- I'll have to take a day to delete what I don't need. But that compacting function will still return, and potentially corrupt my Inbox, every 100th time I open OE (and the 3 times it corrupted the Inbox before, I had done nothing in the way of trying to stop the compacting, or use the computer for any other function.)

Collapse -
Quite simply...
by Edward ODaniel / October 20, 2006 11:43 AM PDT

you cannot eliminate compacting because OE messages are stored in a DATABASE and compacting is integral to such. Upon deleting an item in a database file the record (to you that would be a single message item) is marked for deletion and "disappears" from sight, but it is still part of the DB file and recoverable until actually deleted by compacting. Only through compacting is the record actually removed completely from the file.

As two other respondents have pointed out, the compacting option is on the Tools | Options | Maintenance tab where your option is to place a check in the "compact messages in the background" which allows you to set other options such as amount of wasted space.

If a DB file is not compacted regularly but is used regularly you are increasing the chance of file corruption because the file grows to an unruly size the application is not designed to handle.

Personally, I would suggest setting it to compact in the background, delete news messages, and to "compact messages when there is 3% wasted space". That ensures that compacting does not take long. It is even more efficient if you have checked the checkbox on that same tab to "Empty messages from the 'Deleted Items' folder on exit" which prevents deleted items from building up.

Initially I would suggest that you select a SINGLE FOLDER (such as "Inbox") then click File | Folders | then select "Compact". That compacts ONLY that folder and will generally be quick. Then select another folder and do the same one at a time until ALL have been compacted. That will help avoid file corruption too.

Collapse -
Thank you
by daffydog / October 21, 2006 6:18 AM PDT
In reply to: Quite simply...

Thanks for this detailed and illuminating message.

Collapse -
Changing Outlook Express Compact Messege Notice
by yamdigger / June 17, 2009 12:42 PM PDT
In reply to: Thank you

The bad news: You can't stop it from notifying you to compact messeges.

The good news: You can change how often it will notify you....but it involves making changes in the registry. Go to HKEY_CURRENT_USER\Identities\{......what ever your idenity is.........}\Software\Microsoft\Outlook Express\5.0. And look for the key CompactCheckCount. The default is supposed to 100, but I found mind set to 5 for some reason.

Collapse -
So maybe if you set that number of 100
by Kees Bakker / June 17, 2009 8:55 PM PDT

to 10000000 it will take a few more days to start compacting. As far as I know, however, it's the count since the last compacting. Then set it to 0 when it approaches 100. Or set it to 0 every day. A simple .reg file in the startup group will do that.

However, compacting has some advantages. If you don't compact a large folder from which you delete regularly will grow and grow until it's so large that it gets corrupted.

Kees

Collapse -
Reply
by caktus / June 18, 2009 4:43 AM PDT

If it is necessary to save such a large number of emails why not just move them to a folder('s),CD's or both for backup for when the evevitable occurs?

I have done this myself and it seems to work well. When I want to access one I just double click on it and it opens in OE.

Charlie

Collapse -
Making a safe backup
by otr_man / June 21, 2009 5:45 AM PDT
In reply to: Reply

Simply copy the entire folder/directory in which your Outlook Express (OE) messages are stored, copying it to another location on your boot disk, or to any other disk on your system, before compacting.

Then, if the process of compacting corrupts your OE message files, you will have a backup available that you can use to try again, or to try other options on, or from which you can rescue individual messages.

The message files (called .DBX files) are usually in a sub-directory of your OE directory. My OE directory is at "C:\Program Files\Outlook Express".

You can open OE and right-click on a folder in its 'Folders' column, and select "Properties". A message will be displayed, saying which folder on your disk the messages files are stored in.

Or you can search your hard disk for them, by searching for all files with the extension .DBX

Collapse -
Delete Windows Destop Search
by yamdigger / July 5, 2009 7:17 AM PDT
In reply to: Making a safe backup

I think I've found the solution: In addition to setting the registry as described above, delete Windows Desktop Search. With my own machine, once I had deleted it, I got no more compact files messages from OE.

Collapse -
outlook express compacting corruption
by rlwremo / August 9, 2009 2:25 AM PDT

I personally would move off of Outlook Express. I have seen it corrupt many .dbx files during compaction. And there isn't a way to turn it off in OE version 6. Maybe in later or earlier versions but under maint. there is not a box to check to tell it not to compact it.

This probably happens a lot of you look on various bulletin boards. One company has designed a whole product around recovering emails from this poor excuse of a product known as Outlook Express but even they have been able to recover zero'd out .dbx files from a bad compaction.

I personally am going to migrate to Outlook proper or maybe some other tool but I'm done with OE.

Richard.

Collapse -
To rgrowley. Post deleted.
by MarkFlax Forum moderator / January 4, 2011 2:58 AM PST

Sorry but offensive language gets posts deleted. That's why I deleted your post.

Discussion locked.

Mark

Collapse -
Making a Safe Backup & "Safer" Compacting...
by CRC|NETBOY / August 11, 2009 2:28 AM PDT
In reply to: Making a safe backup

Making a backup first before you compact as otr_man suggested in his post from 6/21/09 12:45 PM is the safest way to deal with compaction. Should you error out during the compacting process, then you just replace the backup you created just before compaction with the file that was just corrupted.

Mind you, just because OE errors out does not mean you have lost some or all of your emails. Nevertheless, there is a good chance something was corrupted and, with the backup, you simply shut down OE and replace the corrupted OE file with the backup version (make sure you re-name the backup to the original).

I also keep my OE files on a separate drive, but that does not stop the errors. Just makes it easier for me to access and make backups.

Lastly, if you are going to compact, ignore at all costs the prompt by hitting cancel. When you log back into OE, you can go into "tools/options/maintenance" then click on the "Clean Up Now" button, then click on the "Compact" button. I have found, thus far, no errors affecting me or my files using this method rather than doing it when OE prompts me. At this point, the countdown will reset.

I have also been told to go to "File/Work Offline" before compaction. OE has errored out using this method too when OE prompts me to compact, but doing so is probably not a bad safe guard before you do any of the above. Thus far, the method deliberately using the "Compact" button has not given me grief. Nonetheless, I still make a backup just before I do anything, just in case.

Collapse -
Compacting Outlook Express
by otr_man / August 22, 2009 2:14 PM PDT

Actually, you *can* stop it prompting you to compact messages.

You just turn off the option to compact messages in the background, that's described above. Then you'll get no more notifications.

Thereafter, you'll be compacting manually. This is much safer, because it gives you the option to compact just one single folder at a time, rather than all of them. Also, you get to choose *when* to compact, i.e. you can do it when you have no other programs running (which is much the safest way).

Collapse -
More info...
by CRC|NETBOY / August 24, 2009 11:52 AM PDT

I have OE 6.00.2900.5512. I see no option like that under the 'Maintenance' tab. You are talking about Outlook express, not Outlook, right?

Nevertheless, I have compacted manually in the past one at a time, and have received corrupted files. The best way that has worked for me is the reply I posted previously.

Unless you are referring to a different version, I don't see anywhere I can check or uncheck, under the Maintenance tab, the option to compact messages in the background. But I agree, manually is much safer, just not 100% perfect, either.

Collapse -
blocking outlook express from displaying compacting messages
by robal1000 / February 4, 2010 9:10 AM PST
In reply to: More info...
Collapse -
Compaction and returning missing emails
by pcprop.com / February 4, 2010 10:40 AM PST

What I have learnt about outlook express is that it doesn?t actually loose any emails, during the compaction, it renames the file inbox.dbx to inbox.bak

Outlook express may put the inbox.bak in the same folder as the inbox.dbx, or it might put it in the recycle bin.


How to retrieve missing emails after compaction.
(this requires you to be able to see hidden files and file extensions)

1. Open outlook express
2. Create a new mailbox eg. Damagedinbox (right click on Local folders, choose New Folder)
3. Go to the folder location for the Inbox, somewhere in the hidden folder. For me the folder is here C:\Documents and Settings\Matt\Local Settings\Application Data\Identities\{4585D85C-62DB-482E-93D4-DFE0635E6935}\Microsoft\Outlook Express
4. Close Outlook Express
5. Delete the file Damagedinbox.dbx
6. Rename the file Inbox.bak to DamagedInbox.dbx
7. Open Outlook express, and look in the folder Damagedinbox and you should see all your missing emails.

Notes about Outlook Express compaction

When the Outlook Express reaches a 2GB file size with any of the folders, inbox, sent items, etc. it can?t deal with it properly. So compaction is designed to make the file/mailbox smaller, so to keep it working properly.

I have seen a Sent Items.dbx file get to 2GB in size, and Outlook Express wouldn?t put the email from the Outbox to the Sent Items because it would not fit, and so it kept re-sending the email, I think the recipient got the same email over 25 times before I sorted it.

When you delete a email from a mail box, eg, the inbox, the inbox.dbx file doesn?t get any smaller, which is probably why Microsoft made the compaction process, to keep down the size of the inbox.dbx file.

Hope this helps

matt
pcprop.com

Collapse -
thanks
by alinice14 / June 7, 2010 9:49 PM PDT

thanks u very much

Collapse -
Re: setting count to zero
by Kees Bakker / February 4, 2010 5:58 PM PST

It's a quite clear instruction on how to do it.

What I did after I did that:
1. Export the containing 'folder' to a .reg file
2. Edit out all lines except this one with Notepad.
3. Save it.

Now all I've got to do to set the counter to zero is click that regfile. This is how it looks. The identity might be personal.

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Identities\{2453CF07-ADB0-4FAD-B1AC-7A725E4F8B80}\Software\Microsoft\Outlook Express\5.0]
"Compact Check Count"=dword:00000000


Kees

Collapse -
Is there a tool that can do that for me?
by gingele1 / October 3, 2010 2:28 AM PDT

Sorry but I don't know anything about this stuff and I was told by Microsoft that I should not edit the registry. Is there a tool that can do for me what you described? This Outlook Express problem is very annoying.

Collapse -
OK, problem solved
by gingele1 / October 3, 2010 7:57 AM PDT
Collapse -
reset compacting
by thomjt / July 11, 2010 4:07 AM PDT

Whenever I don't want OE to compact, I go to START, hit run, type in regedit and it takes me to HKEY_CURRENT_USER - the tree should open up so that you can see everything under identities down to outlook express 5.0 at which point, on the right you can find the compactcheckcount. Open it up and set the counter to 0 with the dot in hexadecimal. Click OK, and close. Lets you run for another 60 or so before notifying you again. At one point, I was being notified every 10 minutes or so, and when I went in, found that the accumulation number was 7b. How the b got in there is anyones guess. Changed it to 0 and everything was back to normal. JMT

Collapse -
I don't even use Outlook and I get asked!
by w6dx / October 11, 2010 5:14 AM PDT
In reply to: reset compacting

I use Thunderbird for all e-mail, yet every time I boot my laptop, I get a message from Outlook Express offering to compact my mail files, and telling me it might take a few minutes!

What's the matter with Microsoft that they keep pestering me when I don't ever use their product? I'm not about to let Microsoft mess with my Thunderbird mail files! How do I get rid of these annoying pop-up boxes?

I'm using a Dell Latitude D620 with 1 GB RAM and XP Pro w/SP3.

Barrie, W6DX

Popular Forums
icon
Computer Help 47,885 discussions
icon
Computer Newbies 10,322 discussions
icon
iPhones, iPods, & iPads 3,188 discussions
icon
Security 30,333 discussions
icon
TVs & Home Theaters 20,177 discussions
icon
HDTV Picture Setting 1,932 discussions
icon
Phones 15,713 discussions
icon
Windows 7 6,210 discussions
icon
Networking & Wireless 14,510 discussions

CNET Forums

Looking for tech help?

Whether you’re looking for dependable tech advice or offering helpful tricks, join the conversation in our forums.