Outlook 2003 command line switches

Posted on March 15th, 2009 in Microsoft, Outlook 2003 by Gil Kreslavsky

Full list of Microsoft  Outlook 2003 command line switches and parameters

/aCreates an item with the specified file as an attachment.

Example: “C:\Program Files\Microsoft Office\Office11\Outlook.exe” /a “C:\My Documents\labels.doc”

/altvba otmfilenameOpens the VBA program specified in otmfilename, rather than %appdata%\Microsoft\Outlook\VbaProject.OTM.

/c messageclassCreates a new item of the specified message class (Outlook forms or any other valid MAPI form).

Examples:

  • * /c ipm.activity creates a Journal entry
  • * /c ipm.appointment creates an appointment
  • * /c ipm.contact creates a contact
  • * /c ipm.note creates an e-mail message
  • * /c ipm.stickynote creates a note
  • * /c ipm.task creates a task

/checkclientPrompts for the default manager of e-mail, news, and contacts.

/cleanclientrulesStarts Outlook and deletes client-based rules.

/cleandmrecordsDeletes the logging records saved when a manager or a delegate declines a meeting.

/cleanfindersRemoves Search Folders from the Microsoft Exchange server store.

/cleanfreebusyClears and regenerates free/busy information. This switch can only be used when you are able to connect to your Microsoft Exchange server.

/cleanprofileRemoves invalid profile keys and recreates default registry keys where applicable.

/cleanpst -Launches Outlook with a clean Personal Folders file (.pst) (Personal Folders file (.pst): Data file that stores your messages and other items on your computer. You can assign a .pst file to be the default delivery location for e-mail messages. You can use a .pst to organize and back up items for safekeeping.).

/cleanremindersClears and regenerates reminders.

/cleanrulesStarts Outlook and deletes client- and server-based rules.

/cleanschedplusDeletes 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.

/cleanserverrulesStarts Outlook and deletes server-based rules.

/cleansniffDeletes duplicate reminder messages.

/cleansubscriptionsDeletes the subscription messages and properties for subscription features.

/cleanviewsRestores default views. All custom views you created are lost.

/designerStarts Outlook without figuring out if Outlook should be the default client in the first run.

/embeddingOpens the specified message file (.msg) as an OLE embedding. Also used without command-line parameters for standard OLE co-create.

/f msgfilenameOpens the specified message file (.msg) or Microsoft Office saved search (.oss).

/firstrunStarts Outlook as if it were run for the first time.

/hol holfilenameOpens the specified .hol file.

/ical icsfilenameOpens the specified .ics file.

/importprf prffilenameLaunches 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.

/l olkfilenameOpens the specified .olk file.

/launchtraininghelp assetidOpens a Help window with the Help topic specified in assetid.

/m emailnameProvides 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

/nocustomizeStarts Outlook without loading outcmd.dat (customized toolbars) and *.fav file.

/noextensionsStarts Outlook with extensions turned off, but listed in the Add-In Manager.

/nopollmailStarts Outlook without checking mail at startup.

/nopreviewStarts Outlook with the Reading Pane off.

/p msgfilenamePrints the specified message (.msg). Does not work with HTML.

/profile profilenameLoads the specified profile. If your profile name contains a space, enclose the profile name in quotation marks (“).

/profilesOpens the Choose Profile dialog box regardless of the Options setting on the Tools menu.

/recycleStarts Outlook using an existing Outlook window, if one exists. Used in combination with /explorer or /folder.

/resetfoldernamesResets default folder names (such as Inbox or Sent Items) to default names in the current Office user interface language.
For example, 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.

/resetfoldersRestores missing folders for the default delivery location.

/resetnavpaneClears and regenerates the Navigation Pane for the current profile.

/rpcdiagOpens Outlook and displays the remote procedure call (RPC) connection status dialog.

/s filenameLoads the specified shortcuts file (.fav).

/safeStarts Outlook without extensions, Reading Pane, or toolbar customization.

/safe:1Starts Outlook with the Reading Pane off.

/safe:2 -Starts Outlook without checking mail at startup.

/safe:3Starts Outlook with extensions turned off, but listed in the Add-In Manager.

/safe:4Starts Outlook without loading Outcmd.dat (customized toolbars) and *.fav file.

/select foldernameStarts 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

/sniffStarts Outlook and forces a detection of new meeting requests in the Inbox, 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.

/x xnkfilenameOpens the specified .xnk file.

Prepare Your Windows Domain for DST 2009

As you probably know Microsoft releases set of DST patches for their systems every year at December .
To avoid DST calendar issues  make sure to install/deploy the following updates to entire organization.


The country that was skipped in MS  Day Light Saving update are Argentina/Brazil and Chile.

  • Daylight saving time begins: October 19th, 2008
  • Daylight saving period ends: March 15th, 2009

Since the new dates published by the federal are different from what was defined in the initial years, Windows-based computers am able to not correctly interpret the time such a is related to the transition to daylight saving time.

General recommendations

  • There is no hotfix to be had at this time to update MS Operating Systems with the 2008-2009 DST dates for Argentina.
  • Please note that if you adjust the machine’s clock manually, you may have adverse effects on your environment.
  • Before applying the changes on Windows Operating Systems to reflect the change in Daylight Saving Time in Argentina, be aware of possible issues that am able to affect Microsoft Office Outlook and Exchange Server.
  • Contact Microsoft Support prior to any modification if you are unsure about the steps to emulate in condition to be prepared for the Daylight Saving Time change in Argentina.

Impacts for Outlook clients and Exchange

  • For the year 2008-2009, customers paying for the ‘(GMT -3:00) Buenos Aires’ minute zone have a delta period at the start on of the DST as follows:
    Delta-Argentina-BuenosAires
    From Sunday, October 19th, 2008 to Saturday, December 28th, 2008.
  • And for customers using the ‘(GMT -3:00) Georgetown’ time zone have a delta range that comprehends the whole DST period:
    Delta-Argentina-GeorgeTown
    From Sunday, October 19th, 2008 to Saturday, December 28th, 2008

As result appointments may be off 1 hour. This may happen for both recurring and single-instance appointments.
The appointments created in the wake of the DST dates have been updated on the operating system will have the correct time.

Read More about Argentina 2008-2009 DST at MS Blog

Read More about Brazil 2008-2009 DST at MS Blog

Read More about Chile 2008-2009 DST at MS Blog

Windows 2008 Server Roles

Posted on November 23rd, 2008 in Server 2008 by Gil Kreslavsky

Active Directory Certificate Services (AD CS). AD CS role services install on a number
of operating systems, including Windows Server 2008, Windows Server 2003, and
Windows 2000 Server. Naturally the fullest implementation of AD CS is only possible
on Windows Server 2008. You can deploy AD CS as a single standalone certification
authority (CA), or you can deploy multiple servers and configure them as root, policy, and
certificate issuing authorities. You also have a variety of Online Responder configuration
possibilities.
Active Directory Domain Services (AD DS). This is the role in the Windows Server
2008 operating system that stores information about users, computers, and other
resources on a network. AD DS is also used for directory-enabled applications such as
Microsoft Exchange Server. AD also stores all information required for Group Policy.
Active Directory Federation Services (AD FS). AD FS employs technology that
allows users over the life of a single online session to securely share digital identity
and entitlement rights, or ‘‘claims,’’ across security and enterprise boundaries. This
role—introduced and supported on all operating systems since Microsoft Windows
Server 2003 R2— provides Web Single Sign-On (SSO) services to allow a user to access
multiple, related Web applications.
Active Directory Lightweight Directory Services (AD LDS). This service is ideal if you
are required to support directory-enabled applications. AD LDS is a Lightweight Directory
Access Protocol (LDAP) compliant directory service.
Active Directory Rights Management Services (AD RMS). This service augments
an organization’s security strategy by protecting information through persistent usage
policies. The key to the service is that the right management policies are bound to the
information no matter where it resides or to where it is moved. AD RMS is used to lock
down documents, spreadsheets, e-mail, and so on from being infiltrated or ending up in
the wrong hands. AD RMS, for example, prevents e-mails from being accidentally forwarded
to the wrong people.
The Application Server role. This role supports the deployment and operation of custom
business applications that are built with Microsoft .NET Framework. The Application
Server role lets you choose services for applications that require COM+, Message Queuing,
Web services, and Distributed Coordinated Transactions.
DHCP and DNS. These two roles install these two critical network service services
required for every network. They support Active Directory integration and support IPv6.
Fax Server role. The fax server lets you set up a service to send and receive faxes over
your network. The role creates a fax server and installs the Fax Service Manager and the
Fax service on the server.

File Server role. This role lets you set up all the bits, bells, and whistles that come with a
Windows file server. This role also lets you install Share and Storage Management, the Distributed
File System (DFS), the File Server Resource Manager application for managing file
servers, Services for Network File System (NFS), Windows File Services, which include
stuff like the File Replication Service (FRS), and so on.
Network Policy and Access Services. This provides the following network connectivity
solutions: Network Access Protection (NAP), the client health policy creation, enforcement,
and remediation technology; secure wireless and wired access (802.1X), wireless
access points, remote access solutions, virtual private network (VPN) services, Radius, and
more.
Print Management role. The print services provide a single interface that you use to
manage multiple printers and print servers on your network.
Terminal Services role. This service provides technologies that enable users to access
Windows-based programs that are installed on a terminal server. Users can execute applications
remotely (they still run on the remote server) or they can access the full Windows
desktop on the target server.
Universal Description, Discovery, and Integration (UDDI). UDDI Services provide
capabilities for sharing information about Web services. UDDI is used on the intranet,
between entities participating on an extranet, or on the Internet.
Web Server role. This role provides IIS 7.0, the Web server, ASP.NET, and the Windows
Communication Foundation (WCF).


Windows Deployment Services.
These services are used for deployment of new computers
in medium to large organizations.

BlackBerry Enterprise Server: Users Not Receiving Messages to Handheld After Mailbox Move

Posted on July 24th, 2008 in BES Server, Black Berry, BlackBerry Device, Excahnge 2000, Excahnge 2003, Excahnge 2007 by Gil Kreslavsky

Users Not Receiving Messages to Handheld After Mailbox Move

BlackBerry server maps user mailboxes by using a process called worker treads. Blackberry version [4.0.4.5], is capable of mapping worker treads back to a user mailboxes when a mailbox gets moved to a different store by scanning the GAL for changes in the Server DN.BES users may not receive messages to their handheld device after a mailbox move .

After mailbox move the BES server should pick up the new mailbox location and start sending again within 15min.

The only thing you have to watch is moving the BES service account mailbox, Also be sure the BES service account has the appropriate permissions on the new Exchange server Information Store before you start moving user mailboxes, full send as/receive as. I would suggest moving the user mailboxes and then the service account

To move user mailboxes:

Move them as you normally would, use the Exchange mailbox move wizard.

RIM suggests you run the mailbox cleanup utility on the BES server after mailbox move

Restart BES Services:

* Mailbox move within the same server are not updated by BES and messages are not received by BB devices until BES services are restarted. This is because BES scans user’s mailboxes for changes in the Server DN. Since mailboxes are moved within the same server, BES is unaware of the mailbox move.

Using Cleanup Utility:

* Run C:\Program Files\Research In Motion\Blackberry Enterprise Server\Utility\handheldcleanup -u

Move BB Service Account:

* Log in to Blackberry Enterprise Server as the blackberry system account
* Stop all Blackberry Enterprise Server services
* Move the blackberry system mailbox to Exchange 2003
* On the blackberry Server: Go to Start-> Programs-> Blackberry Enterprise
* Server-> Edit the MAPI Profile for the Blackberry Server
* Type “new Exchange server name” in the Microsoft Exchange Server field
* Type “blackberry service account name” in the Mailbox field
* Run Handheld Cleanup utility on BES Server “C:\Program Files\Research In Motion\Blackberry Enterprise Server\Utility\handheldcleanup -m”
* Start Blackberry Enterprise Server service

Exchange 2003 Event log ID:8206 with 0×80150856 Error

Posted on July 9th, 2008 in Excahnge 2003, Microsoft, Outlook 2002 XP, Outlook 2003 by Gil Kreslavsky

It happens after SP 2 Installation.
Users started to receive meetings directly to their calendars without accepting .
I used Microsoft ExBPA in order to see if there is any problem and discovered that The site-wide public folder database for administrative group ‘Group Name’ has been deleted. .
And followed MS Instruction on how to recreate folder back.

  1. Open an Active Directory editor, such as ADSI Edit.
  2. Locate the public folder information store you want to designate as the Site Folder Server, by expanding the     following nodes in the Configuration container:CN=Configuration,DC=<DomainName>,DC=com, CN=Services, CN=Microsoft Exchange, CN=<OrganizationName>, CN=Administrative Groups, CN=<AdministrativeGroupName> CN=Servers, CN=<ServerName>, CN=InformationStore, CN=<StorageGroupName>
  3. Locate the public folder information store you want to designate as the Site Folder Server, by expanding the     following nodes in the Configuration container:
  4. In the right pane, right-click CN=<PublicFolderStoreName>, and then click Properties.
  5. In the Attributes field, scroll down and select the distinguishedName attribute.
  6. Click Edit, and then copy the entire attribute to the Clipboard.Expand the Configuration container, and then expand CN=Configuration,CN=<DomainName>,CN=com, CN=Services, CN=Microsoft Exchange, CN=<OrganizationName>, CN=Administrative Groups
  7. Right-click the administrative group you want to modify, and then click Properties.
  8. In the Attributes field, scroll down and select the siteFolderServer attribute.
  9. Click Edit, and then paste the value for the distinguishedName attribute into the Value field.
  10. Double-check the contents of the Value field to ensure the paste was performed correctly, and then click OK to save the change.
  11. Click OK to close the Administrative Group properties.
  12. Exit the Active Directory editor and restart the Microsoft Exchange Server Information Store service on all Exchange Server computers in the site for the change to take effect.

The full article http://technet.microsoft.com/en-us/library/aa996485.aspx

Additional resources:

http://support.microsoft.com/kb/943721

Outlook status shows disconnected.

Posted on June 25th, 2008 in Excahnge 2003, Microsoft, Other, Outlook 2002 XP, Outlook 2003 by Gil Kreslavsky

On errors:

Mapi session “/o=COMPANY/ou=Europe/cn=Recipients/cn=User1? exceeded the maximum of 32 objects of type “session”.

Task “Microsoft Exchange Server” reported error (0×80040115): “The
connection to the Microsoft Exchange Server is unavailable. Outlook must be
online or connected to complete this action.”

Task ‘Microsoft Exchange Server’ reported error (0×8004011d): ‘The server is
not available. Contact your administrator if this condition persists.’

Don’t waste your time on profile recreation … It doesn’t help!!!

Things to check .

1.      Ping to exchange server by short name and FQDN

a. If no ping check connectivity and name resolution.

b. Consider adding exchange name/ip to hosts file

2.      Go to file and check if “Work Offline” is not checked

a. If it is uncheck it.

3.      If you have check point client try to

a. Disable security policy

b. Stop Vpn client

c. Remove checkpoint secure remote “v” on local area connection properties ( do it only for testing – remember if you remove the “v” user will be not able to dial VPN.

4.      Run Outlook.exe with rpcdiag switch “outlook.exe /rpcdiag” see where is hanging

5.      On exchange system manger open user related mailbox store in logons section check if user exceeded maximum of 32 connections to the store.

a. If do : To solve this problem for this user, download the sysinternals tool called TCPView and run it on your Exchange server. You will see a whole bunch of connections. Work out the IP address of user, and then using TCP view terminate all sessions to that IP address.

b. Other option is to mount / unmount store – not recommended

6.      In order to Increase default 32 MAPI connections limit do the following things

a. Click Start, click Run, type regedit in the Open box, and then click OK.

Locate and then click the following registry sub key: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\MSExchangeIS\ParametersSystem

If the Maximum Allowed Sessions Per User entry does not exist, do the following:

On the Edit menu, point to New, and then click DWORD Value.

Type Maximum Allowed Sessions Per User as the entry name, and then press ENTER.

Right-click the Maximum Allowed Sessions Per User entry, and then click Modify

Click decimal, type the value that you want to set in the Value data box, and then click OK.

Exit Registry Editor.

Click Start, click Run, type services.msc in the Open box, and then click OK.

Click the MSExchange Information Store service, and then click Restart Service.

Didn’t solve the problem ? Read Related Microsoft solutions

http://support.microsoft.com/kb/842022

http://support.microsoft.com/kb/830836

http://support.microsoft.com/kb/840835

http://support.microsoft.com/kb/821188

http://support.microsoft.com/kb/821188

http://support.microsoft.com/default.aspx?scid=898060