WARNING: Follow the advice below at your own risk! Backup your device first before trying any of this! Messing with the Notification Queue can stop Activesync and other software working permanently if you screw up, which only a hard reset can fix!!!
### Preface ###
After calendar reminders (and other notifications) stopped working again on my HTC Universal running WM5, I decided to do some research into this so-called "Notification Queue" and find out what each entry did, which were causing problems, and which ones could be safely deleted.
There is very little information out there regarding the notification queue (and a lot of misinformation), so I have gathered up what I could and hopefully this will be the only post you need to read if you are having problems with alarms/reminders/notifications/etc, or just want to do some spring cleaning to speed up your device.
The Notification Queue is present on all WM2003, WM2003SE, WM5, and WM6 devices - both PDA's as well as Pocket PC phones. I don't know about the Smartphone, I don't think MemMaid works on those devices anyway, can any Smartphone owners comment?
Its purpose is to basically run tasks and activate alarms/reminders at scheduled times, particularly when the device is in standby or low power mode.
The Notification Queue is the cause of many problems/bugs such as alarms/reminders not working, or alarms going crazy when the device is rebooted, etc. It does not cause anywhere near as many problems on WM6, but WM6 users may still benefit from this information.
### Tools you will need ###
DinarSoft MemMaid. The 15 day free trial will be enough, or you could buy it. Other software exists that will do the same thing, but this guide will focus only on MemMaid.
Also some backup software like SPB Backup!
Firstly: Install MemMaid, but don't open it just yet. Disconnect your device from your PC so that Activesync is not connected, then you should also properly close/kill ActiveSync with your task manager so that it doesn't interfere with the queue by frequently adding new repllog.exe entries (perhaps this is not required, but I think it is a good idea anyway).
Secondly: Now open MemMaid, and click on the second tab which should be the Notification Queue. This is where you need to be.
### Entries in the Notification Queue ###
Duplicates: The first thing you should do is press the "Find Duplicate" button, and remove all duplicate notifications. This is safe to do.
"Blank" entries: These appear to be blank, but when you select them, they have lots of seemingly random hex letters and numbers. These are left over from old failed ActiveSync connections, and should be deleted.
repllog.exe: These are all added by ActiveSync, and are necessary for it to work correctly. There should only be a few (like 3 or 4) entries in the queue, all of which look different from each other. You can only safely delete ONE type of them, which is the type at or near the top of the queue that looks like this: Argument: /sched /remote /h 01 October 2007 - 16:48:56. Delete any of this type that have dates/times in the past, but leave the future ones alone. And definitely leave the other repllog.exe entries alone that appear further down in the queue!
CALENDAR.EXE: Delete all of these, don't worry they will be re-added in the proper order later on. A backlog of these are what causes most problems.
\Windows\clock.exe: Same as CALENDAR.EXE - delete all of them. Also the cause of many problems. If you do find any of these, after deleting them you should then turn off all Alarms in Start->Settings->System->Clock & Alarms.
\\.\Notifications\NamedEvents\xxxxxx: The SCRIPT ones apparently relate to the flashing screen notification type for your device, but they don't seem to cause any harm and I don't know enough about them, so don't delete these.
CALNOT.EXE | \\Windows\calupd.exe | clocknot.exe: Leave these well alone, unless you have some with dates/times in the past (at or near the top in MemMaid) AND there are also others of the same type in your queue with dates/times in the future (in the middle or bottom). If this is the case, delete only the ones in the past. If in doubt, leave it alone, unless you have a backup and are feeling adventurous!
\\Windows\sddaemon.exe: This is the Smart dialer service. There should only be 1 of these entries after you cleaned the queue of duplicates earlier, so leave this alone.
There will probably be some other entries not mentioned here caused by software you have installed, leave these alone also unless you have good reason to think otherwise.
At this point if you scroll to the top of your Notification Queue, the first few entries should all have dates/times in the near future, and nothing else in the queue should have a date/time in the past. So you have cleaned your Notification Queue, and now you only have one last step to perform
### FINAL STEP (important) ###
You can now close MemMaid. Open up your favourite file explorer, the WM5 default one will do but personally I prefer Resco Explorer 2007. Navigate to the My Device\Windows\ directory. There are a LOT of files in here, so it may be a bit slow.
Now you need to execute each of the following 3 files, only once and in this order:
Then, close Explorer and perform an ActiveSync connection with your PC to make sure your calendar entries are properly registered on your device.
Now you should wait at least 5-10 minutes for your changes to be saved by the operating system, then you can perform a soft reset and any notification-related problems you were having previously should all be gone! (and your device may be a little bit faster too)