Outlook ate my shortcuts! (Favorite folders and calendar disappearing in Outlook)
This one has been bothering me for a long time. It also happens that three or four others in the office are having (soon to be past tense) the same problem.
About Outlook favorites
In Outlook, one of the features that is very nice is the one where you can create a set of “favorite” folders. This extents to public folders and even calenders (which are just folders that hold appointment items). I use this constantly, changing out my favorites when I am moved from one project to another.
The Problem of disappearing favorites
Several months ago my favorites began ‘resetting”. When I would add or remove a favorite folder, my changes would disappear the next time I started Outlook. This held true for shared calendars as well. I would add another persons calendar to my list, but the next time I started Outlook that person would no longer be in my list.
Getting my favorites back in Outlook
This, of course, was frustrating. I did quite a bit of research at the time to no avail. Today it finally got me riled up again so I decided to take another stab at it and wouldn’t you know it, I found two possible solutions!
- You can create a new mail profile. This resets everything you’ve customized unfortunately, so it is, in my opinion, a last resort.
- You can navigate to the folder that Outlook stores settings in. In Windows XP it defaults to:
C:\Documents and Settings\<username>\Application Data\Microsoft\Outlook
In this folder you will find a file called Outlook.xml. Very innocuous sounding, don’t you think? This is the file causing all of the woes! You should exit Outlook completely then rename the file (never delete outright, bad form my good Pan!). Restart Outlook and you will notice all of your favorites and calendars are gone. Reset them to the way you would like, exit Outlook again and restart. *Poof* they are back!
Now the problem appears to be some sort of corruption to this file. The odd thing is, the file is only saved when you exit Outlook. I have confirmed this by watching the file system when starting Outlook with the file already gone. It does not reappear until I exit. My best guess is that if a corrupt file is loaded it messes something up within Outlook itself. No error that I could find is generated; however, the file is never saved again.
After some more poking around (it was easier to search for Outlook.xml than for the symptom itself) it seems that the general consensus is that this file becomes corrupt more often than you would imagine. If you’ve had this problem once, chances are pretty good that you will once again find your Favorite Shortcuts not being saved so keep these instructions handy!
An observation
As a side note, it was interesting to view the “corrupt” version of Outlook.xml and a “good” version of the file. They are very similar, but it would appear that one section called <userDefined> is the one that does not get saved after the file has went down the drain.




Interesting - I’ve been having this problem a lot lately, but it’s usually preceded by Outlook not shutting down properly - most often if XP doesn’t go into Hibernate mode correctly.
How about making a back-up of the Outlook.xml folder, so that after a crash you can just rename it and bring your Favourites back to life. Would that work?
Cueball,
I’ve thought about that and indeed I do have a backup copy just in case. Since I’ve taken that step I have not noticed the problem of course! I can’t think of a reason it shouldn’t work since it’s simply a text (XML) configuration file but if anyone has experience, please let us know!
I agree that it seems to happen when Outlook has a problem shutting down. In my case at work we have an automated policy that reboots workstations every night. I suspect that this sometimes causes Outlook to hiccup while shutting down precipitating the folder disappearing issue. Of course, once it’s corrupted it doesn’t seem to recover well by itself.
Likewise - I haven’t had the problem since I created a back-up… Will let you know if it works.
I just had the problem occur again. Yesterday my workstation decided to spiral in the black, or rather blue hole of death. A couple of BSOD’s and then failing to boot.
Once it came back up this morning Outlook was very grumpy. I shut it down and replaced the now corrupt Outlook.xml with my backup. After restarting everything was fine.
w00t. Definitely one to add to the archive of ‘essential Outlook knowledge’.
Yes, many thanks for this. Had been bothering me for some time, but you seem to have found a fix
Tony
From my searching, apparently there is a command-line switch to do the same thing that should work for at least Outlook 2003 and 2007. It’s OUTLOOK.EXE /resetnavpane
Outlook 2007 is located on my system at \Program Files\Microsoft Office\Office12.
Although this did reset the nav pane on my system (including deleting custom search folders), it did not solve the problem. Unless for some reason it will work after a complete reboot…
I’m running Vista, and I also tried renaming C:\Users\username\AppData\Roaming\Microsoft\Outlook\.xml - there was no outlook.xml. But this seemed to have no effect and was not recreated when Outlook was restarted/exited. Oddly, the timestamp on the file is all the way back in November…
So then I went to C:\Users\username\AppData\Local\Microsoft\Outlook and renamed .xml.kfl and .sharing.xml.obi and ~last~.sharing.xml.obi — to no avail. These files (except ~last~) were recreated when Outlook was restarted, but the problem remained.
Hopefully the command-line switch will help someone and if anyone knows anything else I can try I would appreciate it. Thanks.
I used angled brackets in my post and those parts of my post are missing… the correct file names for my post in order are (profilename).xml, (profilename).xml.kfl, (profilename).sharing.xml.obi, and with no change, ~last~.sharing.xml.obi
Asa,
Did you make sure that Outlook was closed and all Outlook.exe processes were stopped? That is one reason it may not work.
Also, I have noticed that if I let my Outlook get closed by our automated reboot process it causes the problem. As long as I make sure to exit it from the file menu prior to leaving it seems to work ok.
Yes, I checked that it was closed and there was no outlook.exe process running. I just tried exiting Outlook manually and rebooting, but it was no help. I also tried renaming (profilename).srs which was in the same folder as the xml. It was recreated, but didn’t seem to help. I also created a new profile as a copy of my original but that didn’t help. So then I tried creating a completely new profile from scratch…. and the problem still exists!
I’ll try the Microsoft forums and see if there are any ideas there.
I hope you find the solution. If you do, please post a comment here. The only difference I see so far is that my environment is still Windows XP Pro. While the theory is that should not make a difference, it is entirely possible that it does. Sorry I was unable to help further
So many times i come across solutions to problems I have had and normally I’m not able to comment or more importantly a thanks. this time i am, cheers mate for your time and effort in finding this solution. Guys like you help us all…. cheers
Glad to be of service, Cheeky.
I am having the exact same issues on Windows Vista Ultimate. I closed Outlook 2007, renamed the outlook.xml file, fired up Outlook, set my favorite folders and then closed outlook.
Opened it back up expecting my folders to be there but they weren’t. Looked in the roaming\microsoft\outlook folder and the outlook.xml file was not recreated.
Did a few other things but it boils down to Outlook is not writing/updating the outlook.xml file at all.
Any guesses?
Very strange. Are you using cached Outlook mode? That could be one thing different, I abhor that way of working, it causes all kinds issues that I’ve run across.
If you are, you may try turning that mode off, restarting Outlook, then turning it back on again. Believe it or not, I’ve had that method fix other users problems with strange Inbox behavior.
Nope, afraid not. I am actually not even connected to exchange - just using it for POP accounts.
Good idea though.
Ah, thanks for the clarification. My environment is strictly Exchange as far as Outlook is concerned. That doesn’t sound like it should make a difference, but who knows? For all the nice things Outlook has, there are a lot of quirks!
If you do come across a solution, please let us know here! There are a couple others that have not been able to resolve the issue with this method as well.
Thanks very much for your solution - I was trying to set up Favorite Folders, but in View, Navigation Pane there was NO OPTION available for Favorite Folders. I followed your advice, the option showed up and now I have Favorite Folders set up.
Very nice …
Glad it was a help, Akasha!
I have the same problem and it occurs every time i close outlook. Renaming or deleting or backing-up the .xml does no good because it only creates on closing and it always closes with the problem. I agree with an earlier comment that it appears that outlook is just not updating the.xml file at all. Does anyone have any other ideas?
Try the following
Start-> Run; outlook.exe /resetnavpane
Thank you all. I too lost my favorite folders. Resetting through the run command worked. Kudos to all!
I’ve been searching and searching and banging my head against the wall trying to get my settings back after one laptop has faltered and I’ve switched to another.
You. Have. Saved. My. Sanity.
Thanks for that.
Dude…this was a huge find. This has been bothering me to no end. Thanks for the leg work.
wicked nice of you all to help us out!
I’m intrigued by your statement “In Outlook, one of the features that is very nice is the one where you can create a set of “favorite” folders. This extends to public folders and even calenders (which are just folders that hold appointment items). I use this constantly, changing out my favorites when I am moved from one project to another.”
I’ve tried several different ways to get “public folders” into my Favorite Folders group, and have had no luck. I thought I had it when I put the public folders I wanted into the Public Favorites folder and then added that folder to Favorite Folders… it appears momentarily… then it disappears.
Any ideas on how to fix this? cmz
Charles,
If you haven’t already done so, exit Outlook completely. Make sure there is no Outlook task still running, which can happen sometimes if you have ActiveSync installed. Delete the Outlook.xml file as described above in this article, then restart Outlook and try it again.
I have come across different scenarios that seem unrelated; however, deleting the Outlook.XML file has fixed each one. With general computer support, the first question is usually “have you rebooted?” With Outlook, my first question these days is “Have you deleted your Outlook.xml yet?”
-J
The Outlook.xml file does not exist on my Outlook 2007. What did work right off was to follow the Comment by Asa | January 5, 2008.
Run> C:\\Program Files\Microsoft Office\Office12\OUTLOOK.EXE /resetnavpane brought my Favorites folder right back.
Thanks omacal. One thing I’m certainly finding is that similar symptoms may not always have the same solution!
-Joel
Just a quick note to say “thanks”. Your advice saved me hours of troubleshooting, and worked on the first try. Thanks for taking the time to share!
Glad to be of help, Ken!
My shortcuts/xml file have been corrupt several times and lost all my shortcuts, but I have made a backup of the xml file and restored it and it works everytime. Also worth having a backup of the NK2 file too just in case. It’s rather annoying why this happens though, seems to be when I install certain things, like last night it happened after I installed XP SP3!
Jamie,
Do you know the purpose of the NK2 file?
OUTLOOK.EXE /resetnavpane
Worked great for me. Thanks!
I also have had this problem though it happens sporadically, anywhere from one month to several months between occurances. I have noticed a different behavior from what has been mentioned. In my case, Outlook will continue to update the xml file after it has been initially corrupted. I can tell because I shutdown Outlook after noticing that the shortcuts were messed up and when I restart Outlook the shortcuts became even more messed up.
What I see is that the groups I have created (which look like folders) become duplicated multiple times (currently about 10 copies of each) though most of them have no entries under them. The entries that were under the original groups have been split among some of the duplicate groups or deleted. When I shut down Outlook and restarted, I got even more copies of the empty groups.
I am running Outlook 2003 SP3 with an Exchange server and not using cached mode. As with the rest of you, I don’t know why this is happening and neither do my computer support people. I’m planning on backing up the xml file as a workaround.