{"id":54,"date":"2015-02-01T17:16:11","date_gmt":"2015-02-01T17:16:11","guid":{"rendered":"http:\/\/kb2.host.dbj.systems\/?post_type=jetpack-portfolio&#038;p=54"},"modified":"2020-04-03T21:45:00","modified_gmt":"2020-04-03T19:45:00","slug":"command-line-switches-for-outlook-2010","status":"publish","type":"jetpack-portfolio","link":"https:\/\/dbj.systems\/kb\/portfolio\/command-line-switches-for-outlook-2010\/","title":{"rendered":"Command line switches for Outlook 2010"},"content":{"rendered":"<section>The command that starts Microsoft Outlook 2010 is outlook.exe. A command-line switch is the addition of a forward slash followed by the command name and any parameters.<\/section>\n<p><!--more--><\/p>\n<section>\n<h2>What are commands and switches?<\/h2>\n<p>Each time that you start the program, you run the outlook.exe command, although you do not usually type the command or even see it. You can change certain aspects of how the program starts by adding subcommands called switches to the outlook.exe command.<\/p>\n<p>A switch appears as a space after the main command, followed by a forward slash and the name of the switch, which provide additional information about how to execute the command.<\/p>\n<p>For example, the following command instructs Outlook 2010 to start with the Reading Pane turned off.<\/p>\n<p><img data-recalc-dims=\"1\" decoding=\"async\" title=\"Outlook command line switches\" src=\"https:\/\/i0.wp.com\/support.content.office.net\/en-US\/media\/3054be65-770a-486e-b436-80630dbd9010.gif?w=1140&#038;ssl=1\" alt=\"Outlook command line switches\" \/><\/p>\n<p>1. The command outlook.exe starts Outlook.<\/p>\n<p>2. The switch \/nopreview starts Outlook with the Reading Pane turned off.<\/p>\n<\/section>\n<section>\n<h2>Use a switch one time by adding it to the Run command<\/h2>\n<p>First, verify the location of the outlook.exe file on your computer. If you accepted the default folder locations when you installed Outlook 2010, the<b>outlook.exe<\/b> file is located at the following:<\/p>\n<p><b>c:\\program files\\microsoft office\\office14\\outlook.exe<\/b><\/p>\n<section>\n<h3>Outlook 2010 32-bit installed on Windows 64-bit<\/h3>\n<p>c:\\program files (x86)\\microsoft office\\office14\\outlook.exe<\/p>\n<p>If you do not find the outlook.exe file at that location, search for the file and note the full path.<\/p>\n<ol>\n<li>Do one of the following:\n<ul>\n<li><b>Windows 7 and Windows Vista<\/b>\n<ul>\n<li>Click the <b>Start<\/b> button, point to<b> All Programs<\/b>, click <b>Accessories<\/b>, and then click <b>Run<\/b>.<\/li>\n<\/ul>\n<\/li>\n<li><b>Windows XP<\/b>\n<ul>\n<li>Click the Windows <b>Start<\/b> button, and then click <b>Run<\/b>.<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/li>\n<li>In the <b>Run<\/b> dialog box, type a quotation mark, enter the full path for the outlook.exe file, and then type another quotation mark. Alternatively, click<b>Browse<\/b> to locate and select the file. In this case, the quotation marks are supplied automatically.<\/li>\n<li>After the closing quotation mark, type a space, and then type the switch. For example, you might type:<b>&#8220;c:\\program files\\microsoft office\\office14\\outlook.exe&#8221; \/nopreview<\/b><\/li>\n<\/ol>\n<p>The next time that you start Outlook 2010, the program opens as usual. To make your customized startup available for repeated uses, see the next section.<\/p>\n<p><b>Note <\/b><\/p>\n<ul>\n<li>Switches are not case-sensitive. For example, <b>\/NOPREVIEW<\/b> functions the same as <b>\/nopreview<\/b>.<\/li>\n<li>Remember to include one blank space before the switch and one before each parameter.<\/li>\n<\/ul>\n<\/section>\n<\/section>\n<section>\n<h2>Make a switch available for reuse by creating a shortcut<\/h2>\n<p>First, verify the location of the outlook.exe file on your computer. If you accepted the default folder locations when you installed Outlook 2010, the outlook.exe file is probably located at the following:<\/p>\n<p><b>c:\\program files\\microsoft office\\office14\\outlook.exe<\/b><\/p>\n<section>\n<h3>Outlook 2010 32-bit installed on Windows 64-bit<\/h3>\n<p>c:\\program files (x86)\\microsoft office\\office14\\outlook.exe<\/p>\n<p>If you do not find the outlook.exe file at that location, search for the file and note the full path.<\/p>\n<ol>\n<li>Right-click the Windows desktop, point to <b>New<\/b>, and then click <b>Shortcut<\/b>.<\/li>\n<li>In the <b>Create Shortcut Wizard<\/b>, in the <b>Type the location of the item<\/b> box, type a quotation mark, enter the full path for the outlook.exe file, and then type another quotation mark. Alternatively, click <b>Browse<\/b> to locate and select the file. In this case, the quotation marks are supplied automatically.<\/li>\n<li>After the closing quotation mark, type a space, and then type the switch and anyparameters. For example, you might type:<b>&#8220;c:\\program files\\microsoft office\\office14\\outlook.exe&#8221; \/nopreview<\/b><b>Note <\/b>\u00a0\u00a0 If the parameter is a path of a location on your computer, it must also be enclosed in double quotation marks.<\/li>\n<li>Click <b>Next<\/b>.<\/li>\n<li>In the <b>Type a name for this shortcut<\/b> box, type a new name that you want to use for the shortcut, and then click <b>Finish<\/b>.The wizard creates the shortcut on the desktop.<\/li>\n<li>Whenever you want to start Outlook 2010 in this particular customized way, double-click the shortcut.<b>Tip <\/b>\u00a0\u00a0 To add the desktop shortcut to the Windows <b>Start<\/b> menu, right-click the shortcut, and then click <b>Pin to Start menu<\/b>.<\/li>\n<\/ol>\n<p>You can create various shortcuts, each of which applies different switches and parameters to the program at startup.<\/p>\n<p><b>Note <\/b><\/p>\n<ul>\n<li>Switches are not case-sensitive. For example, <b>\/NOPREVIEW<\/b> functions the same as <b>\/nopreview<\/b>.<\/li>\n<li>Remember to include one blank space before the switch and one before each parameter.<\/li>\n<\/ul>\n<p><!--nextpage--><\/p>\n<h2>Available switches<\/h2>\n<p><b>Switch<\/b><b>Description<\/b>Creates an item with the specified file as an attachment.Example:<\/p>\n<ul>\n<li>&#8220;c:\\program files\\microsoft office\\office14\\outlook.exe&#8221; \/a &#8220;c:\\my documents\\labels.doc&#8221;<\/li>\n<\/ul>\n<p>If no item type is specified, IPM.Note is assumed. Cannot be used with message classes that are not based on Outlook.<\/p>\n<p>\/altvba otmfilenameOpens the VBA program specified inotmfilename, instead of %appdata%\\microsoft\\outlook\\vbaproject.otm.<b>Note <\/b>\u00a0\u00a0 This command line switch is only available if the following Windows registry DWORD value is set to 1. HKEY_CURRENT_USER\\Software\\Microsoft\\Office\\14.0\\Outlook\\Security\\EnableAltVba\/c messageclassCreates a new item of the specified message class (Outlook forms or any other validMAPI form).Examples:<\/p>\n<ul>\n<li>\/c ipm.activity creates a <b>Journal<\/b> entry<\/li>\n<li>\/c ipm.appointment creates an appointment<\/li>\n<li>\/c ipm.contact creates a contact<\/li>\n<li>\/c ipm.note creates an e-mail message<\/li>\n<li>\/c ipm.stickynote creates a note<\/li>\n<li>\/c ipm.task creates a task<\/li>\n<\/ul>\n<p>\/checkclientPrompts for the default manager of e-mail, news, and contacts.\/cleanautocompletecacheRemoves all names and e-mail addresses from the Auto-Complete list.\/cleancategoriesDeletes any custom category names that you have created. Restores categories to the default names.\/cleanclientrulesStarts Outlook and deletes client-based rules.\/cleanconvongoingactionsDeletes the Conversations Actions Table (CAT). CAT entries for a conversation thread usually expire 30 days after no activity. The command-line switch clears all conversation tagging, ignore, and moving rules immediately stopping any additional actions.\/cleandmrecordsDeletes the logging records saved when a manager or a delegate declines a meeting.\/cleanfindersResets all Search Folders in the Microsoft Exchange mailbox for only the first profile opened.\/cleanfreebusyClears and regenerates free\/busy information. This switch can be used only when you are able to connect to the server that runs Exchange.\/cleanfromaddressesRemoves all manually added <b>From<\/b> entries from the profile.\/cleanmailtipcacheRemoves all MailTips from the cache.\/cleanremindersClears and regenerates reminders.\/cleanroamedprefsAll previous roamed preferences are deleted and copied again from the local settings on the computer where this switch is used. This includes the roaming settings for reminders, free\/busy grid, working hours, calendar publishing, and RSS rules.\/cleanrulesStarts Outlook and deletes client-based and server-based rules.\/cleanserverrulesStarts Outlook and deletes server-based rules.\/cleansharingRemoves all RSS, Internet Calendar, and SharePoint subscriptions from Account Settings, but leaves all the previously downloaded content on your computer. This is useful if you cannot delete one of these subscriptions within Outlook 2010.\/cleansniffOverrides the programmatic lockout that determines which of your computers (when you run Outlook at the same time) processes meeting items. The lockout process helps prevent duplicate reminder messages. This switch clears the lockout on the computer it is used. This enables Outlook to process meeting items.\/cleansubscriptionsDeletes the subscription messages and properties for subscription features.\/cleanviewsRestores default views. All custom views that you created are lost.\/embeddingUsed without command-line parameters for standard OLE co-create.\/f msgfilenameOpens the specified message file (.msg) or Microsoft Office saved search (.oss).\/finderOpens the <b>Advanced Find<\/b> dialog box.\/hol holfilenameOpens the specified .hol file.\/ical icsfilenameOpens the specified .ics file.\/importNK2Imports the contents of an .nk2 file which contains the nickname list that is used by both the automatic name checking and Auto-Complete features.\/importprf prffilenameStarts Outlook and opens\/imports the defined MAPI profile (*.prf). If Outlook is already open, queues the profile to be imported on the next clean start.\/launchtraininghelp assetidOpens a Help window with the Help topic specified in assetid displayed.\/m emailnameProvides a way for the user to add an e-mail name to the item. Only works together with the \/c command-lineparameter.Example:<\/p>\n<ul>\n<li>Outlook.exe \/c ipm.note \/m emailname<\/li>\n<\/ul>\n<p>\/nopreviewStarts Outlook with the Reading Pane off.\/p msgfilenamePrints the specified message (.msg).\/profile profilenameLoads the specified profile. If your profile name contains a space, enclose the profile name in quotation marks (&#8221; &#8220;).\/profilesOpens the <b>Choose Profile<\/b> dialog box regardless of the <b>Options<\/b> setting on the <b>Tools<\/b>menu.\/promptimportprfSame as \/importprf except that a prompt appears and the user can cancel the import.\/recycleStarts Outlook by using an existing Outlook window, if one exists.\/remigratecategoriesStarts Outlook and starts the following commands on the default mailbox:<\/p>\n<ul>\n<li>Upgrades colored For Follow Up flags to Outlook 2010 color categories.<\/li>\n<li>Upgrades calendar labels to Outlook 2010 color categories.<\/li>\n<li>Adds all categories used on non-mail items into the Master Category List<\/li>\n<\/ul>\n<p><b>Note <\/b>\u00a0\u00a0 This is the same command as <b>Upgrade to Color Categories<\/b> in each Outlook mailbox properties dialog box.<\/p>\n<p>\/resetfoldersRestores missing folders at the default delivery location.\/resetfoldernamesResets default folder names (such as <b>Inbox<\/b> or <b>Sent Items<\/b>) to default names in the current Office user interface language.For example, if you first connect to your mailbox in Outlook by 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 you change the user interface language or install a different language version of Outlook.\/resetformregionsEmpties the form regions cache and reloads the form region definitions from the Windows registry.\/resetnavpaneClears and regenerates the Navigation Pane for the current profile.\/resetquickstepsRestores the default Quick Steps. All user-created Quick Steps are deleted.\/resetsearchcriteriaResets all Instant Search criteria so that the default set of criteria is shown in each module.\/resetsharedfoldersRemoves all shared folders from the Navigation Pane.\/resettodobarClears and regenerates the To-Do Bar task list for the current profile. The To-Do Bar search folder is deleted and re-created.\/restoreAttempts to open the same profile and folders that were open prior to an abnormal Outlook shutdown.\/rpcdiagOpens Outlook and displays the remote procedure call (RPC) connection status dialog box.\/safeStarts Outlook without the Reading Pane or toolbar customizations. Both native and managed Component Object Model (COM) add-ins are turned off.\/safe:1Starts Outlook with the Reading Pane off.\/safe:3Both native and managed Component Object Model (COM) add-ins are turned off.\/select foldernameStarts Outlook and opens the specified folder in a new window. For example, to open Outlook and display the default calendar, use: &#8220;c:\\program files\\microsoft office\\office14\\outlook.exe&#8221; \/select outlook:calendar.\/share feed:\/\/URL\/filename\/share stssync:\/\/URL<\/p>\n<p>\/share web:\/\/URL\/filename<\/p>\n<p>Specifies a sharing URL to connect to Outlook. For example, use stssync:\/\/URL to connect a SharePoint list to Outlook.\/sniffStarts Outlook, forces a detection of new meeting requests in the <b>Inbox<\/b>, and then adds them to the calendar.\/t oftfilenameOpens the specified .oft file.\/v vcffilenameOpens the specified .vcf file.\/vcal vcsfilenameOpens the specified .vcs file.<a title=\"Top of Page\" href=\"https:\/\/support.office.microsoft.com\/en-us\/article\/Command-line-switches-for-Outlook-2010-ce2b9143-ceca-48ac-bffc-c3059a4c5919?CorrelationId=773943e5-7fd4-4697-a16f-f2a18c743c23&amp;ui=en-US&amp;rs=en-001&amp;ad=US#top\" target=\"_blank\" rel=\"noopener noreferrer\">Top of Page<\/a><\/p>\n<\/section>\n<\/section>\n","protected":false},"excerpt":{"rendered":"<p>The command that starts Microsoft Outlook 2010 is outlook.exe. A command-line switch is the addition of a forward slash followed by the command name and any parameters.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"footnotes":""},"jetpack-portfolio-type":[120],"jetpack-portfolio-tag":[79,91,110,124],"class_list":{"0":"post-54","1":"jetpack-portfolio","2":"type-jetpack-portfolio","3":"status-publish","4":"format-standard","6":"jetpack-portfolio-type-support","7":"jetpack-portfolio-tag-79","8":"jetpack-portfolio-tag-email","9":"jetpack-portfolio-tag-outlook-2010","10":"jetpack-portfolio-tag-troubleshooting","11":"czr-hentry"},"jetpack-related-posts":[],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/dbj.systems\/kb\/wp-json\/wp\/v2\/jetpack-portfolio\/54","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/dbj.systems\/kb\/wp-json\/wp\/v2\/jetpack-portfolio"}],"about":[{"href":"https:\/\/dbj.systems\/kb\/wp-json\/wp\/v2\/types\/jetpack-portfolio"}],"author":[{"embeddable":true,"href":"https:\/\/dbj.systems\/kb\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/dbj.systems\/kb\/wp-json\/wp\/v2\/comments?post=54"}],"version-history":[{"count":1,"href":"https:\/\/dbj.systems\/kb\/wp-json\/wp\/v2\/jetpack-portfolio\/54\/revisions"}],"predecessor-version":[{"id":1343,"href":"https:\/\/dbj.systems\/kb\/wp-json\/wp\/v2\/jetpack-portfolio\/54\/revisions\/1343"}],"wp:attachment":[{"href":"https:\/\/dbj.systems\/kb\/wp-json\/wp\/v2\/media?parent=54"}],"wp:term":[{"taxonomy":"jetpack-portfolio-type","embeddable":true,"href":"https:\/\/dbj.systems\/kb\/wp-json\/wp\/v2\/jetpack-portfolio-type?post=54"},{"taxonomy":"jetpack-portfolio-tag","embeddable":true,"href":"https:\/\/dbj.systems\/kb\/wp-json\/wp\/v2\/jetpack-portfolio-tag?post=54"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}