Le Café Central de Deva
let.us.share.develop.more... Deva blogs!!
Outlook 2010 provides the command line switches for our handy troubleshooting.
You can use some of these switches that are recommended for solving problems. If you do hit an unexpected issue and want to run one of these switches. During these times, these switches can also been used when you need to restore Outlook settings to the default settings.
Let we try to use the switches in Windows 7 and Outlook 2010: a) You can use either one of the 3 options:
1) Open the Run command via Start-> Run 2) Press the Windows Logo + R on your keyboard 3) Open the Start Menu and use the Search field to type in for the next step. (see the pic)
b) In the box you opened in option 1/2/3 and just type: outlook.exe
c) Press the spacebar once, and then type a forward slash mark (/) followed by the switch you want to use (see the list given below).
d) Let we take example using the command line CleanReminders switch. The command you type in the Open box should look like this: outlook.exe /cleanreminders
e) To run the command, click OK. List of command line switches for Outlook 2010:
Creates an item with the specified file as an attachment.
Example: "C:\Program Files\Microsoft Office\Office11\Outlook.exe" /a "C:\My Documents\labels.doc" Note: If no item type is specified, IPM.Note is assumed. Cannot be used with message classes that aren't based on Outlook.
Opens the VBA program specified in otmfilename, rather than %appdata%\Microsoft\Outlook\VbaProject.OTM.
Creates a new item of the specified message class (Outlook forms or any other valid MAPI form). Some of the related examples:
Prompts for the default manager of e-mail, news, and contacts.
Starts Outlook and deletes client-based rules.
Deletes the logging records saved when a manager or a delegate declines a meeting.
Removes Search Folders from the Microsoft Exchange server store.
Clears and regenerates free/busy information. This switch can only be used when you are able to connect to your Microsoft Exchange server.
Removes invalid profile keys and recreates default registry keys where applicable.
Launches Outlook with a clean Personal Folders file (.pst).
Clears and regenerates reminders.
Starts Outlook and deletes client- and server-based rules.
Deletes all Schedule+ data (free/busy, permissions, and .cal file) from the server and enables the free/busy information from the Outlook Calendar to be used and viewed by all Schedule+ 1.0 users.
Starts Outlook and deletes server-based rules.
Deletes duplicate reminder messages.
Deletes the subscription messages and properties for subscription features.
Restores default views. All custom views you created are lost.
Starts Outlook without figuring out if Outlook should be the default client in the first run.
Opens the specified message file (.msg) as an OLE embedding. Also used without command-line parameters for standard OLE co-create.
Opens the specified message file (.msg) or Microsoft Office saved search (.oss).
Starts Outlook as if it were run for the first time.
Opens the specified .hol file.
Opens the specified .ics file.
Launches Outlook and opens/imports the defined MAPI profile (*.prf). If Outlook is already open, queues the profile to be imported on the next clean launch.
Opens the specified .olk file.
Opens a Help window with the Help topic specified in assetid.
Provides a way for the user to add an e-mail name to the item. Only works in conjunction with the /c command-line parameter.
Example: Outlook.exe /c ipm.note /m emailname
Starts Outlook without loading outcmd.dat (customized toolbars) and *.fav file.
Starts Outlook with extensions turned off, but listed in the Add-In Manager.
Starts Outlook without checking mail at startup.
Starts Outlook with the Reading Pane off.
Prints the specified message (.msg). Does not work with HTML.
Loads the specified profile. If your profile name contains a space, enclose the profile name in quotation marks (").
Opens the Choose Profile dialog box regardless of the Options setting on the Tools menu.
Starts Outlook using an existing Outlook window, if one exists. Used in combination with /explorer or /folder.
Resets default folder names (such as Inbox or Sent Items) to default names in the current Office user interface language.
Note: If you first connect to your mailbox Outlook using a Russian user interface, the Russian default folder names cannot be renamed. To change the default folder names to another language such as Japanese or English, you can use this switch to reset the default folder names after changing the user interface language or installing a different language version of Outlook.
Restores missing folders for the default delivery location.
Clears and regenerates the Navigation Pane for the current profile.
Opens Outlook and displays the remote procedure call (RPC) connection status dialog.
Loads the specified shortcuts file (.fav).
Starts Outlook without extensions, Reading Pane, or toolbar customization.
Starts Outlook without loading Outcmd.dat (customized toolbars) and *.fav file.
Starts Outlook and opens the specified folder in a new window. For example, to open Outlook and display the default calendar use: "c:\Program Files\Microsoft Office\Office11\Outlook.exe" /select outlook:calendar
Starts Outlook and forces a detection of new meeting requests in the Inbox, and then adds them to the calendar.
Opens the specified .oft file.
Opens the specified .vcf file.
Opens the specified .vcs file.
Opens the specified .xnk file.
These command line switches are not for Outlook 2010 at all.. Although some work, the vast majority only work with previous versions of Outlook.
Yah - no good for Outlook 2010 !!!