Send/Receive progress dialog, and unneccessary registry reads

D

DWalker07

In Outlook 2007 on Windows XP SP3: The send/receive progress dialog box
won't die, no matter how many times I uncheck "Show progress during
send/receive".

I found the registry entry that backs the UI toggle for the dialog box:
it's called HKEY_CURRENT_USER\Software\Microsoft\Office\12.0\Outlook
\Preferences\SyncDlgSuppress. I want to find when it's getting
changed... I'm sure it's some piece of code within Outlook.exe or
mso.dll, and the knowledge may not help me, but PERHAPS someone at
Microsoft will find it useful to fix in Office 2010 or maybe evern Office
2007.

I configured Mark Russinovich's Process Monitor to track this registry
key. So far, I have discovered that when I do a send/receive, the
RegQueryKey operation is executed 81 times in 2 seconds on this same key
value! Each send/receive reads the key exactly 81 times. The last 70
RegQueryKey operations happen within one second. I have Outlook
connected to one Exchange server and one Internet mailbox, and each one
does a send and a receive, but...

reading one registry key 81 times is really ridiculous, and reading it 70
times in a row seems stupid. Maybe there's a good reason for this, but I
can't imagine what that would be.

In my system, most of the stack entries that read the key over and over
again look like this:

ntkrnlpa.exe + 0x6a62c
ADVAPI32.dll + 0x708b
mso.dll + 0x8c05
mso.dll + 0xde46
OUTLOOK.EXE + 0x10327
OUTLOOK.EXE + 0x103b3
OUTLOOK.EXE + 0xa28863
OUTLOOK.EXE + 0x964b5
OUTLOOK.EXE + 0x6c1ea
OUTLOOK.EXE + 0x94e9ec
OUTLOOK.EXE + 0x8ed0e9
OUTLOOK.EXE + 0x8a37ed
OUTLOOK.EXE + 0x9355f1
OUTLOOK.EXE + 0x94e9e5
OUTLOOK.EXE + 0x8c15c7

Yes, almost all of the 81 calls to read the key from the registry within
two seconds are taking place in the exact same piece of code. I would
love to be able to see the source code and try to improve this!

A few of the entries are slightly different, probably for the Exchange
server and the Pop3 server.

When I find what piece of code is changing the 1 that I have in that key
to a 0, I'll post that here... in case anyone cares. Then maybe I will
change permissions on the key so that no one can change my desired
SyncDlgSuppress value from 1 to 0.

David Walker
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top