Outlook All Versions

From Free Knowledge Base- The DUCK Project: information for everyone
Jump to: navigation, search

By default, Outlook places each Offline Folders (.ost) file and Personal Folders (.pst) file that it creates in the %userprofile%\Local Settings\Application Data\Microsoft\Outlook folder. You can either use a registry value to change that default location, or you can manually create a new profile and specify the .ost filename and folder.

  • .ost = offline folders file
  • .pst = personal folders file

more details...

On a default Outlook / Exchange configuration, the user wont have a pst file, but an ost file. All the stuff in their inbox will be on exchange and in the ost file. If they want to back it up, they can export it to a pst file.

OST - Offline Folder Storage - A file that contains a local replica of a user's Microsoft Exchange Server-based folders (private and public) and forms. The OST is synchronized with the Microsoft Exchange Server copy for use while working offline. An OST is specific to a particular mailbox and cannot be accessed by other users of Microsoft Exchange Server.

PST - Personal Folder Storage - A file that may contain folders, messages, forms, files and other items. You can create any number of PSTs for use with a single profile. You can also designate a PST as the delivery location for incoming mail.

New Client Installation - If you are installing the Microsoft Exchange client for the first time, during the profile creation you will be asked if you travel with the computer. If you answer yes, an Offline Store provider is set up for you and a file, Exchange.ost, is created. The OST is where the offline folders will be stored.

Existing Client Installation - If this is an existing installation of the Microsoft Exchange client, you can create an offline store using the Offline Folder File Setting button in the Advanced tab of the Microsoft Exchange Server driver property page. If multiple users will be using a single computer, each user needs his or her own OST file.

Change the location where your offline files are saved - Outlook 2003

  1. Exit Outlook.
  2. Click Start, and then click Control Panel.
  3. Double-click Mail, and then click E-mail Accounts.
  4. Click View or change existing e-mail accounts, and then click Next.
  5. Select the Microsoft Exchange Server account, and then click Change.
  6. Clear the Use Cached Exchange Mode check box.
  7. Click More Settings.
  8. Click the Advanced tab.
  9. Click Offline Folder File Settings.
  10. Click Disable Offline Use, and then click Yes in the dialog box that appears.
  11. Click Offline Folder File Settings.
  12. Click Browse, go to the location where you want to save your .ost file, and then click Open.
  13. Click OK.
  14. Select the Use Cached Exchange Mode check box.
  15. Click Next, and then click Finish.

Microsoft Exchange Server

This document relates directly to the Exchange Server page.

Troubleshooting

Microsoft Outlook stores data for your profile in the following location"

%appdata%\Microsoft\Outlook\
c:\users\xxxxxx\AppData\Local\Microsoft\Outlook\

Outlook 2007 on a Windows 7 system will have the outlook program file here:

c:\Program Files (x86)\Microsoft Office\Office12\

Otherwise, 64-bit look here:

c:\Program Files\Microsoft Office\OfficeXXX\

You can start Outlook in safe mode (not windows safe mode) in event that Outlook will not start normally. For example, some errors such as "cannot open your default e-mail folders" may cause Outlook to terminate immediately after you launch and thus giving you no opportunity to navigate the software menus and settings. Try this:

  • Hold down the CONTROL key while clicking the Outlook icon to start Outlook in safe mode.

Corrupted Data File / Mail Folder File

SCANPST.EXE is the Inbox Repair Tool provided by Microsoft and designed to sometimes automatically correct problems. Find it in the same directory that Microsoft Outlook is installed such as c:\Program Files\Microsoft Office. Launch it from file explorer and once running select the PST file. It will test the PST file for errors and give you a repair option if it finds one. Do not simply run it one time if it did indeed find errors. After each fix attempt you must run it again. Continue this cycle until it runs and finds no more errors. After about five runs it should have the job done. If not you will have to consider giving up.

SCANPST.exe is used to scan the Offline Data File (OST) of Outlook when used as an Exchange client in cached mode. This is only if you are connected to an exchange server. If you are a POP or IMAP user then disregard. Even if you use an Exchange server you probably don't care about the exchange cache file unless you have been away from the office and working offline.

Huge Over-Sized Data File / Mail Folder File

You can't save everything!!!! When all of the messages and attachments in your Outlook exceeds a certain point, right around the 2GB mark, Outlook becomes very ill. The Inbox Repair Tool can't help you if you have a 2GB or larger PST file and it is corrupted. Now we need to do a hatchet job and blindly chop off the bottom (or the oldest stuff if all goes well). This is not an ideal option but better than being locked out or losing it all.


PST2GB.exe will attempt to fix the situation by truncating the PST file so it will be at a manageable size. The truncated data is not recoverable. After you run PST2GB you'll want to run SCANPST against the file as many times as necessary to get a clean scan. Then fire up Outlook and see if you got lucky.

PST2GB is not included with our Outlook installation because Microsoft is afraid you might run with scissors in your hand. Download it from Microsoft. I would put the link here but about once a month Microsoft rearranges their web site and all links to Microsoft become broken (they are turds). Do a search for it and download from Microsoft only (no 3rd party web sites.)

Command Line Switches

Hold down the Windows Key and Press R to get the "run dialog" where you can launch Outlook using a command with switches (things you type after the command.) Here is an example:

outlook.exe /Resetfolders

This launches outlook with the command line switch "/resetfolders" Here are the various command line switches available:

   /cleanreminders - fix calendar issues and delete all of the reminders or recreate them from your items.
   /cleanviews - Resets the Outlook views to the default set that Outlook comes with.  Can fix some Outlook startup crashes.
   /noextensions - Load without extensions (safemode also doesn't load extensions)
   /resettodobar - If you have problems with the To Do Bar in Outlook 2007 or 2010 then use this switch to clean and regenerates the To Do Bar.
   /resetfoldernames - Puts your default folders back to their original names.  This doesn't affect the content of the folders, just renames them.
   /resetfolders - Create deleted default folders including any missing default folders at their original location.
   /resetnavpane - Cleans and regenerates the navigation pane.  Can fix some Outlook startup crashes.
   /safe - load Outlook in safemode - safe mode - The same as holding down the control key while launching.

Sometimes Outlook extensions can cause Outlook to crash or fail to open. You can force Outlook to start without loading extensions in a way other than safe mode, simply by using the noextensions command line switch.

outlook.exe /noextensions

Cannot open your default e-mail folders. This server is not available. Contact your administrator if this condition persists.

Microsoft suggested fixes that do not work: Make sure outlook.exe is not running in compatibility mode. Also corrupted Navigation Pane fix did not work.

  • Outlook 2010: "Microsoft Outlook has encountered a problem and needs to close. We are sorry for the inconvenience."
  • Outlook 2007: "Cannot open your default e-mail folders. The information store could not be opened."
  • Outlook 2003: "Cannot start Microsoft Office Outlook. Unable to open the Outlook window. Invalid XML, the view cannot be loaded."

Microsoft Recommended Fixes:

  1. Recover Navigation Pane configuration file
  2. Repair your Outlook PST file using Inbox Repair tool
  3. Create a new Outlook profil and import data from the old PST file
  4. Turn off Compatibility Mode
  5. Start Outlook in Safe Mode
  6. Fix Outlook hanging on Loading Profile

Windows 10: Find and transfer Outlook data files from one computer to another

If you have a POP or IMAP account, all of your information is already stored in a Personal Folders (.pst) file.

Moving a .pst file from one computer to another doesn't transfer your email account settings. If you need to set up Outlook on a new computer, copy your .pst file from the old computer, then set up your email account on your new computer. You can then open the .pst file from the new computer.

  • Windows 10 drive:\Users\<username>\AppData\Local\Microsoft\Outlook
  • Windows 10 drive:\Users\<username>\Roaming\Local\Microsoft\Outlook

Outlook 2013/2016/2019 on Windows 8/10 file locations

Personal Folders (.pst)

  • New profiles: PST files for POP3 accounts are created in your My Documents\Outlook Files folder.
  • If you are using a profile created in an older version of Outlook, PST files are in drive:\Users\<user>\AppData\Local Settings\Application Data\Microsoft\Outlook (this is the default location, but .pst files can be anywhere on the system)

Personal Folders (.pst) for SharePoint lists:

  • drive:\Users\<user>\AppData\Local\Microsoft\Outlook

Offline Folders file (.ost):

  • drive:\Users\<user>\AppData\Local\Microsoft\Outlook

Nicknames for AutoComplete (.dat):

  • drive:\Users\<user>\AppData\Local\Microsoft\Outlook\RoamCache

Customized print settings (OutlPrnt):

  • drive:\Users\<user>\AppData\Roaming\Microsoft\Outlook

Macros and VBA programs (VbaProject.otm):

  • drive:\Users\<user>\AppData\Roaming\Microsoft\Outlook

Navigation bar customizations (.xml):

  • drive:\Users\<user>\AppData\Roaming\Microsoft\Outlook

Send/Receive group settings (.srs):

  • drive:\Users\<user>\AppData\Roaming\Microsoft\Outlook

Signatures (.rtf, .htm, and .txt):

  • drive:\Users\<user>\AppData\Roaming\Microsoft\Signatures

Stationery (.htm):

  • drive:\Users\<user>\AppData\Roaming\Microsoft\Stationery

Templates (.oft):

  • drive:\Users\<user>\AppData\Roaming\Microsoft\Templates

Dictionary (.dic):

  • drive:\Users\<user>\AppData\Roaming\Microsoft\Proof

Installed Add-ins (extend.dat):

  • drive:\Users\<user>\AppData\Local\Microsoft\Outlook
  • Note: Do not backup or copy this file, Outlook will create a new copy.

Safe and Blocked Senders lists. Stored as a hidden message.

  • Can be exported from Tools > Options > Junk E-mail. Export each list separately.