Create batch file to run in Windows Registry

October 31, 2010 at 10:56:55
Specs: Windows XP SP2, P4 2.8gHz /2G RAM
I have Outlook Express 6 on a Windows XP system. Every so often, Outlook Express pops up with a window asking to compact the messages. I want to avoid this, so I found a fix that suggests the following:

"Open the registry editor

Go to HKEY_CURRENT_USER\Identities\{F621BFE2-12B2-4ED6-833C-B3A65A1AA345}\Software\Microsoft\Outlook Express\5.0

Double click the Compact Check Count

Select the Base option for Decimal and change the value to 0

This should change both the Hexadecimal and decimal values to zero.

Close the Registry."

I do this and it cancels the message out temporarily. What I would like to do is write a batch file or similar file (*.REG) that will do this for me without all the steps. Any help or suggestions would be appreciated, thanks.

P.S. I know OE is outdated, I know its no big deal to compact the messages, I know I should just buy a new computer. I can write a batch file or REG file, I just need instruction on how to create the code lines. Many thanks! Madmarc

See More: Create batch file to run in Windows Registry

Report •

October 31, 2010 at 12:09:38
Simply make the changes to the registry, then click the "5.0" entry at the left pane and export it to a REG file on the desktop.
After that, you can simply make the changes by doubleclicking on the exported reg file.

The original poster should always write the last response !!!
Let us know, if the problem is solved !!!

Report •

October 31, 2010 at 15:30:12
Try posting here for more help:

Report •

October 31, 2010 at 16:30:36
Between the following lines is the registry change script:

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Identities\{F621BFE2-12B2-4ED6-833C-B3A65A1AA345}\Software\Microsoft\Outlook Express\5.0]
"Compact Check Count"=dword:00000000


Highlight the above and copy it into NotePad (ensuring there are either one or two line spaces at the end of it). Save it as killcom.reg

After testing the above you might want to start the reg file from a batch file (to save answering all the prompts when you use it).

Then the batch file would look like this (see between the lines):

@echo off
regedit /s killcom.reg

Copy it into NotePad then save it as killcom.bat

Put both the reg and bat files into the same folder then make a shortcut to the batch file for using it.

Of-course you can use whatever file names you wish as long as you keep the sense right. Best to keep to 8 character names though.

Report •

Related Solutions

October 31, 2010 at 17:00:05
If you get this: "...Every so often, Outlook Express pops up with a window asking to compact the messages...", and it eventually re-occurs after setting to "0", there is something else going on you are not telling us about.

Report •

Ask Question