One of my clients had a problem with his Microsoft Outlook 2003. Whenever he started Outlook, it gave the following warning message
Outlook failed to start correctly last time. Starting Outlook in safe mode will help you correct or isolate a startup problem in order to successfully start the program. Some functionality may be disabled in this mode. Do You want to start Outlook in safe mode?
No matter we click yes or no, the next time Outlook starts, it gives the same warning message. I found out the problem and writing the solution here for future references.
Why does this occur?
This problem usually occurs with Terminal services installed and running..
When Outlook starts, it creates the following key in registry..
If no problem occurs during startup of Outlook, this key is deleted automatically. Otherwise if an error occurs during the Outlook startup testing, subkeys under resiliency are created and Outlook gives the same warning message as stated above.
If the subkey from resiliency key is deleted by another application, while the terminal server is in install mode, this key gets copied to HKLM (HKLM\Software\Microsoft\Windows NT\Current Version\Terminal Server\Install\Software\\Microsoft\Office\11.0\Outlook\Resiliency)
Now when the application tries to access the key again through Terminal server application mode, if it finds it missing, it looks for the key in HKLM and if it finds TermSrvCopyKeyOnce under Resiliency, it copies the resiliency key again to HKCU.
Now Outlook always looks for the resiliency key and when it finds it, it gives the same warning message.
The solution to this problem is rather simple. Only deleting the following key will solve the problem:
HKLM\Software\Microsoft\Windows NT\Current Version\Terminal Server\Install\Software\Microsoft\Office\10.0\Outlook\Resiliency
Please tell us about your experiences if you were having the same problem..