Mar 30 2009

Outlook 2007 constantly consuming 50% + CPU

Just a quick one today. I was recently given a high spec notebook that each time on load with outlook it would consume 50% or more of the CPU.

So I thought it might be a good idea to post on my findings.

 

1. First thing was to disable any and all third party comm add-ins

you can easily find these in tools > Trust Center >  Add in tab (to the left) > click on Go (at the bottom)

Restart outlook.

 

If you still have a high utilization then like me you might be scratching you head.

 

Open outlook and check the calendar, if there are multiple cleaners open close them all off and close outlook and open again.

For me that resolved the issue, the user had about 7+ calendar items open at all times, this is why outlook seemed to be hogging so many resources.

 

Hope this helps


Mar 6 2009

Fix: Windows Mobile Memory Leak

Summary:
Release memory on your HTC Touch Diamond/Pro devices (Windows Mobile), It is a memory reclaimer similar to Oxios but with advanced settings and actually works! this applications is specially for diamond/pro devices! Great solution for the Windows Mobile memory leak problem.

Description:
htcAddicts developed a very useful tool for HTC Touch Diamond/Pro called “cleanRAM”.
The cleanRAM attempts to release as much memory as possible without damaging the internal state of the Windows Mobile device. it’ll refresh/recover your device RAM. This can save you a lot of SOFT RESET!

Configuration Menu:
There are 3 levels of cleaning and Personally customized processes list.
Level 1 – Basic purge only (quick) – Close non-responding tasks without TouchFLO 3D interface
Level 2 – Quality purge – Recommended for best performance
Level 3 – Fundamental purge (time-consuming) – Reset non-responding tasks and services
Personally customized processes list – Select the processes you wish to close
Also you can find:
1. RAM status notification (in the end of the cleaning) (On/Off)
2. Restart Processes Mode (On/Off)
3. Show Hidden Processes (On/Off)

Changelog:
Version 1.0.4 – Fixed: about screen + small issue (nk.exe error msg) for htc touch pro users
Version 1.0.3 – Added: all registry settings is now in the archive/installation file (cab) + new icon for “cleanRAM config” shortcut (red)
Version 1.0.2 – Fixed: application shortcuts doesn’t appears (on some devices)
Version 1.0.1 – Fixed: some small issues with Level 1
Version 1.0.0 – Added: “Reset Processes Mode” new feature with restart time chooser
Version 0.9.5 – Added: “Show Hidden Processes” new feature to show all processes (including services. dangeros!)
Version 0.9.2 – Fixed: problem with “RAM Status Notification” screen and other small issues

What’s next:
1. Auto Schedule – I don’t know if this feature possible but I promise to check it
2. Custom mode: two different tables mode, one with restart applications and the other with kill applications
3. Solve some memory small issue (Level 3)
4. Fix the shortcut problem after install (Solved!)

Installation Instructions:
1. Download the attached .cab file from http://www.htcaddicts.com/?id=65.
2. Copy this file to some temporary folder in your device.
3. Execute it from your device (recommend you install to device memory).
* The cleanRAM will install into /Program files/htcAddicts.
* There is also a two links to “cleanRAM Config” (configuration tool) and “cleanRAM” (is the actual memory reclaimer) in the Start > Programs

Requirements:
HTC Touch Diamond/Pro with Microsoft Windows Mobile 6.1
Microsoft .NET Compact Framework 3.5

[Download .NET]
Use cleanRAM at your own risk!!! NO WARRANTY!!!

Download:
http://www.htcaddicts.com/?id=65
[Google Translated]

 

A big Thanks to www.htcAddicts.com for this awesome APP, it works flawlessly, I tried it on setting 1, it gave back 20MB of memory back!!!

 

Original Post can be found here: http://forum.xda-developers.com/showthread.php?t=487490


Mar 3 2009

Exchange 2007 Offline Address Book (OAB) keeps asking for authentication

If you are getting a constant authentication box pop up for your users when outlook is trying to connect to the Offline Address book, then read on, I am sure this will help you:

First thing is first make sure you have a vaild OAB

1. open Exchange Management console

2. open organization Configuration > Go to mailbox > choose Offline address book tab.

3. Make sure you have at least one address book here if not create one.

4. Right click on the address book go to properties > distribution Tab . ensure all boxes are ticked. > click on the ADD here you need to locate the appropriate server. > hit Ok.

5. You should be back to the OAB listings, if you have more then one that’s fine leave them for the time being, but choose the one you would like to be the default OAB and right click on it and choose ’set as default’

6. Now we need to update this OAB, right click on the default OAB you have created and then choose ‘update’

7. to ensure that the OAB has updated go to the event viewer and check the application log.

If you get a successful update great move on to step 9

if you get a warning with this event log below:

Log Name:      Application
Source:        MSExchangeSA
Date:          3/03/2009 9:10:24 AM
Event ID:      9320
Task Category: OAL Generator
Level:         Warning
Keywords:      Classic
User:          N/A
Computer:      server.domain.com.au
Description:
OALGen could not generate full details for some entries in the offline address list for address list ‘\Global Address List’.  To see which entries are affected, event logging for the offline address list generator must be set to at least medium.
- xxxxxxx Offline Address Book
Event Xml:
<Event xmlns="
http://schemas.microsoft.com/win/2004/08/events/event">
  <System>
    <Provider Name="MSExchangeSA" />
    <EventID Qualifiers="32768">9320</EventID>
    <Level>3</Level>
    <Task>13</Task>
    <Keywords>0×80000000000000</Keywords>
    <TimeCreated SystemTime="2009-03-02T22:10:24.000Z" />
    <EventRecordID>14197</EventRecordID>
    <Channel>Application</Channel>
    <Computer>server.domain.com.au</Computer>
    <Security />
  </System>
  <EventData>
    <Data>\Global Address List</Data>
    <Data>xxxxxx Offline Address Book</Data>
  </EventData>
</Event>

 

You need to set the event logging a little higher to do this open up the exchange powershell console and run the below command:

Set-EventLogLevel -Identity "MSExchangeSA\OAL Generator" -Level Expert

Now repeat step 7

you should now have some errors

event ID: 9330 MSExchangeSA

OALGen encountered error 80040115 (internal ID 50004ef) accessing Active Directory servername for ”.
- /o=Elcom Technology Pty Ltd/cn=addrlists/cn=oabs/cn=xxxxxx Offline Address Book

 

and

Event ID 9334 MSExchangeSA

OALGen encountered error 80040115 while initializing the offline address list generation process. No offline address lists have been generated. Please check the event log for more information.
- /o=Elcom Technology Pty Ltd/cn=addrlists/cn=oabs/cn=xxxxx Offline Address Book

 

8. If these are the same kind of errors you must open ADSIedit (only included in the support package supplied by micorosft)

once you have installed the support tools

start > run > adsiedit.msc

go to

Using ADSIEdit:
1. Navigate to the ‘Default Global Address List’ object
CN=Default Global Address List,CN=All Global Address Lists,CN=Address Lists Container,CN=First Organization,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=Domain,DC=local
2. Go to the properties of the ‘Default Global Address List’ object
3. Copy the distinguishedName attribute of the ‘Default Global Address List’.
It should look similar to the one below.
CN=Default Global Address List,CN=All Global Address Lists,CN=Address Lists Container,CN=First Organization,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=Domain,DC=local
4. Navigate to the ‘Microsoft Exchange’ container.
CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=Domain,DC=local
5. Go to properties of the ‘Microsoft Exchange’ container
6. Select the GlobalAddressList attribute and click Edit.
7. Paste in the distinguishedName attribute of the ‘Default Global Address List’ and click Add
8. Click OK twice to close out of the properties.
9. Replicate domain controllers
10. Rebuild the OAB again

above taken from http://forums.msexchange.org/m_1800488370/tm.htm

 

9. Check your permissions on your OAB go to c:\Program Files\Microsoft\Exchange Server\Client Access\OAB\ find the correct GUID that related to your OAB, right click on the GUID and then go to the security tab. Ensure that administrators and system have full control and authenticated users have only read access. (leave the other permissions)

—- you can use this command to find out

get-offlineaddressbook | fl > c:\OAB_Version.txt

 

10. Ensure that the OAB has populated with an XML file you can find this in :\Program Files\Microsoft\Exchange Server\Client Access\OAB\GUID_here\oab.XML.

If you have not got an XML file the OAB has not populated revist your event viewer.

 

11. Now in IIS you should have an OAB virtual directory if you do not you must create this use the below

New-OABVirtualDirectory -DomainController <Fqdn> -ExternalUrl <Url> -InternalUrl <Url> -Path <String> -PollInterval <Int32> -RequireSSL <$true | $false> -Server <ServerIdParameter> -WebSiteName <String>

more info here: http://technet.microsoft.com/en-us/library/aa996917.aspx

If you do already have the virtual directory Change that virtual directory to an application.

That’s it, everything should work now!

this took me 2 days to work out and all it really was, was that darn virtual directory set by MS as default.

I hope I save someone the pain and frustration I went through with solving this.