Viral Rathod's Exchange 2010 Blog

Microsoft Exchange Server Blog

  • Viral Rathod

Exchange PowerShell Commands

Posted by viralr on March 28, 2012

Exchange PowerShell Commands :-

Noun Cmdlet name
AcceptedDomain Get-AcceptedDomain
  New-AcceptedDomain
  Remove-AcceptedDomain
  Set-AcceptedDomain
ActiveSyncConnectivity Test-ActiveSyncConnectivity
ActiveSyncDevice Clear-ActiveSyncDevice
  Remove-ActiveSyncDevice
ActiveSyncDeviceStatistics Get-ActiveSyncDeviceStatistics
ActiveSyncLog Export-ActiveSyncLog
ActiveSyncMailboxPolicy Get-ActiveSyncMailboxPolicy
  New-ActiveSyncMailboxPolicy
  Remove-ActiveSyncMailboxPolicy
  Set-ActiveSyncMailboxPolicy
ActiveSyncVirtualDirectory Get-ActiveSyncVirtualDirectory
  New-ActiveSyncVirtualDirectory
  Remove-ActiveSyncVirtualDirectory
  Set-ActiveSyncVirtualDirectory
AddressList Get-AddressList
  Move-AddressList
  New-AddressList
  Remove-AddressList
  Set-AddressList
  Update-AddressList
AddressRewriteEntry Get-AddressRewriteEntry
  New-AddressRewriteEntry
  Remove-AddressRewriteEntry
  Set-AddressRewriteEntry
ADPermission Add-ADPermission
  Get-ADPermission
  Remove-ADPermission
ADSite Get-AdSite
  Set-AdSite
AdSiteLink Get-AdSiteLink
  Set-AdSiteLink
AgentLog Get-AgentLog
AntispamUpdates Disable-AntispamUpdates
  Enable-AntispamUpdates
  Get-AntispamUpdates
AttachmentFilterEntry Add-AttachmentFilterEntry
  Get-AttachmentFilterEntry
  Remove-AttachmentFilterEntry
AttachmentFilterListConfig Get-AttachmentFilterListConfig
  Set-AttachmentFilterListConfig
AutoDiscoverConfig Export-AutoDiscoverConfig
AutodiscoverVirtualDirectory Get-AutodiscoverVirtualDirectory
  New-AutodiscoverVirtualDirectory
  Remove-AutodiscoverVirtualDirectory
  Set-AutodiscoverVirtualDirectory
AvailabilityAddressSpace Add-AvailabilityAddressSpace
  Get-AvailabilityAddressSpace
  Remove-AvailabilityAddressSpace
AvailabilityConfig Get-AvailabilityConfig
  Set-AvailabilityConfig
CASMailbox Get-CASMailbox
  Set-CASMailbox
ClientAccessServer Get-ClientAccessServer
  Set-ClientAccessServer
ClusteredMailboxServer Move-ClusteredMailboxServer
  Start-ClusteredMailboxServer
  Stop-ClusteredMailboxServer
ClusteredMailboxServerStatus Get-ClusteredMailboxServerStatus
Contact Get-Contact
  Set-Contact
ContentFilterConfig Get-ContentFilterConfig
  Set-ContentFilterConfig
ContentFilterPhrase Add-ContentFilterPhrase
  Get-ContentFilterPhrase
  Remove-ContentFilterPhrase
ContinuousReplicationHostName Disable-ContinuousReplicationHostName
  Enable-ContinuousReplicationHostName
Bitmap

Return to top
 
  Cmdlets D through I  
Noun Cmdlet Name
Database Dismount-Database
  Mount-Database
DatabaseCopy Enable-DatabaseCopy
DatabasePath Move-DatabasePath
DetailsTemplate Get-DetailsTemplate
  Restore-DetailsTemplate
  Set-DetailsTemplate
DistributionGroup Disable-DistributionGroup
  Enable-DistributionGroup
  Get-DistributionGroup
  New-DistributionGroup
  Remove-DistributionGroup
  Set-DistributionGroup
DistributionGroupMember Add-DistributionGroupMember
  Get-DistributionGroupMember
  Remove-DistributionGroupMember
DynamicDistributionGroup Get-DynamicDistributionGroup
  New-DynamicDistributionGroup
  Remove-DynamicDistributionGroup
  Set-DynamicDistributionGroup
EdgeSubscription Get-EdgeSubscription
  New-EdgeSubscription
  Remove-EdgeSubscription
EdgeSynchronization Start-EdgeSynchronization
  Test-EdgeSynchronization
EmailAddressPolicy Get-EmailAddressPolicy
  New-EmailAddressPolicy
  Remove-EmailAddressPolicy
  Set-EmailAddressPolicy
  Update-EmailAddressPolicy
EventLogLevel Get-EventLogLevel
  Set-EventLogLevel
ExchangeAdministrator Add-ExchangeAdministrator
  Get-ExchangeAdministrator
  Remove-ExchangeAdministrator
ExchangeCertificate Enable-ExchangeCertificate
  Export-ExchangeCertificate
  Get-ExchangeCertificate
  Import-ExchangeCertificate
  New-ExchangeCertificate
  Remove-ExchangeCertificate
ExchangeSearch Test-ExchangeSearch
ExchangeServer Get-ExchangeServer
  Set-ExchangeServer
FileDistributionService Update-FileDistributionService
ForeignConnector Get-ForeignConnector
  New-ForeignConnector
  Remove-ForeignConnector
  Set-ForeignConnector
GlobalAddressList Get-GlobalAddressList
  New-GlobalAddressList
  Remove-GlobalAddressList
  Set-GlobalAddressList
  Update-GlobalAddressList
Group Get-Group
  Set-Group
ImapConnectivity Test-ImapConnectivity
ImapSettings Get-IMAPSettings
  Set-IMAPSettings
IPAllowListConfig Get-IPAllowListConfig
  Set-IPAllowListConfig
IPAllowListEntry Add-IPAllowListEntry
  Get-IPAllowListEntry
  Remove-IPAllowListEntry
IPAllowListProvider Add-IPAllowListProvider
  Get-IPAllowListProvider
  Remove-IPAllowListProvider
  Set-IPAllowListProvider
  Test-IPAllowListProvider
IPAllowListProvidersConfig Get-IPAllowListProvidersConfig
  Set-IPAllowListProvidersConfig
IPBlockListConfig Get-IPBlockListConfig
  Set-IPBlockListConfig
IPBlockListEntry Add-IPBlockListEntry
  Get-IPBlockListEntry
  Remove-IPBlockListEntry
IPBlockListProvider Add-IPBlockListProvider
  Get-IPBlockListProvider
  Remove-IPBlockListProvider
  Set-IPBlockListProvider
  Test-IPBlockListProvider
IPBlockListProvidersConfig Get-IPBlockListProvidersConfig
  Set-IPBlockListProvidersConfig
Bitmap

Return to top
 
  Cmdlets J through M  
Noun Cmdlet Name
JournalRule Disable-JournalRule
  Enable-JournalRule
  Get-JournalRule
  New-JournalRule
  Remove-JournalRule
  Set-JournalRule
LogonStatistics Get-LogonStatistics
Mailbox Connect-Mailbox
  Disable-Mailbox
  Enable-Mailbox
  Export-Mailbox
  Get-Mailbox
  Import-Mailbox
  Move-Mailbox
  New-Mailbox
  Remove-Mailbox
  Restore-Mailbox
  Set-Mailbox
MailboxCalendarSettings Get-MailboxCalendarSettings
  Set-MailboxCalendarSettings
MailboxDatabase Clean-MailboxDatabase
  Get-MailboxDatabase
  New-MailboxDatabase
  Remove-MailboxDatabase
  Set-MailboxDatabase
MailboxFolderStatistics Get-MailboxFolderStatistics
MailboxPermission Add-MailboxPermission
  Get-MailboxPermission
  Remove-MailboxPermission
MailboxServer Get-MailboxServer
  Set-MailboxServer
MailboxStatistics Get-MailboxStatistics
MailContact Disable-MailContact
  Enable-MailContact
  Get-MailContact
  New-MailContact
  Remove-MailContact
  Set-MailContact
MailFlow Test-Mailflow
MailPublicFolder Disable-MailPublicFolder
  Enable-MailPublicFolder
  Get-MailPublicFolder
  Set-MailPublicFolder
MailUser Disable-MailUser
  Enable-MailUser
  Get-MailUser
  New-MailUser
  Remove-MailUser
  Set-MailUser
ManagedContentSettings Get-ManagedContentSettings
  New-ManagedContentSettings
  Remove-ManagedContentSettings
  Set-ManagedContentSettings
ManagedFolder Get-ManagedFolder
  New-ManagedFolder
  Remove-ManagedFolder
  Set-ManagedFolder
ManagedFolderAssistant Start-ManagedFolderAssistant
  Stop-ManagedFolderAssistant
ManagedFolderMailboxPolicy Get-ManagedFolderMailboxPolicy
  New-ManagedFolderMailboxPolicy
  Remove-ManagedFolderMailboxPolicy
  Set-ManagedFolderMailboxPolicy
MAPIConnectivity Test-MapiConnectivity
Message Export-Message
  Get-Message
  Remove-Message
  Resume-Message
  Suspend-Message
MessageClassification Get-MessageClassification
  New-MessageClassification
  Remove-MessageClassification
  Set-MessageClassification
MessageTrackingLog Get-MessageTrackingLog
Bitmap

Return to top
 
  Cmdlets N through R  
Noun Cmdlet Name
NetworkConnectionInfo Get-NetworkConnectionInfo
OabVirtualDirectory Get-OABVirtualDirectory
  New-OABVirtualDirectory
  Remove-OABVirtualDirectory
  Set-OABVirtualDirectory
OfflineAddressBook Get-OfflineAddressBook
  Move-OfflineAddressBook
  New-OfflineAddressBook
  Remove-OfflineAddressBook
  Set-OfflineAddressBook
  Update-OfflineAddressBook
OrganizationConfig Get-OrganizationConfig
  Set-OrganizationConfig
OutlookAnywhere Disable-OutlookAnywhere
  Enable-OutlookAnywhere
  Get-OutlookAnywhere
  Set-OutlookAnywhere
OutlookProvider Get-OutlookProvider
  New-OutlookProvider
  Remove-OutlookProvider
  Set-OutlookProvider
OutlookWebServices Test-OutlookWebServices
OwaConnectivity Test-OwaConnectivity
OwaVirtualDirectory Get-OwaVirtualDirectory
  New-OwaVirtualDirectory
  Remove-OwaVirtualDirectory
  Set-OwaVirtualDirectory
PopConnectivity Test-PopConnectivity
PopSettings Get-POPSettings
  Set-POPSettings
PublicFolder Get-PublicFolder
  New-PublicFolder
  Remove-PublicFolder
  Set-PublicFolder
  Update-PublicFolder
PublicFolderAdministrativePermission Add-PublicFolderAdministrativePermission
  Get-PublicFolderAdministrativePermission
  Remove-PublicFolderAdministrativePermission
PublicFolderClientPermission Add-PublicFolderClientPermission
  Get-PublicFolderClientPermission
  Remove-PublicFolderClientPermission
PublicFolderDatabase Get-PublicFolderDatabase
  New-PublicFolderDatabase
  Remove-PublicFolderDatabase
  Set-PublicFolderDatabase
PublicFolderHierarchy Update-PublicFolderHierarchy
PublicFolderReplication Resume-PublicFolderReplication
  Suspend-PublicFolderReplication
PublicFolderStatistics Get-PublicFolderStatistics
Queue Get-Queue
  Resume-Queue
  Retry-Queue
  Suspend-Queue
ReceiveConnector Get-ReceiveConnector
  New-ReceiveConnector
  Remove-ReceiveConnector
  Set-ReceiveConnector
Recipient Get-Recipient
RecipientFilterConfig Get-RecipientFilterConfig
  Set-RecipientFilterConfig
RemoteDomain Get-RemoteDomain
  New-RemoteDomain
  Remove-RemoteDomain
  Set-RemoteDomain
ReplicationHealth Test-ReplicationHealth
ResourceConfig Get-ResourceConfig
  Set-ResourceConfig
RoutingGroupConnector Get-RoutingGroupConnector
  New-RoutingGroupConnector
  Remove-RoutingGroupConnector
  Set-RoutingGroupConnector
Bitmap

Return to top
 
  Cmdlets S through T  
Noun Cmdlet Name
SafeList Update-SafeList
SendConnector Get-SendConnector
  New-SendConnector
  Remove-SendConnector
  Set-SendConnector
SenderFilterConfig Get-SenderFilterConfig
  Set-SenderFilterConfig
SenderId Test-SenderId
SenderIdConfig Get-SenderIdConfig
  Set-SenderIdConfig
SenderReputationConfig Get-SenderReputationConfig
  Set-SenderReputationConfig
ServiceEmailChannel Disable-ServiceEmailChannel
  Enable-ServiceEmailChannel
ServiceHealth Test-ServiceHealth
StorageGroup Get-StorageGroup
  New-StorageGroup
  Remove-StorageGroup
  Set-StorageGroup
StorageGroupCopy Disable-StorageGroupCopy
  Enable-StorageGroupCopy
  Restore-StorageGroupCopy
  Resume-StorageGroupCopy
  Suspend-StorageGroupCopy
  Update-StorageGroupCopy
StorageGroupCopyStatus Get-StorageGroupCopyStatus
StorageGroupPath Move-StorageGroupPath
SystemHealth Test-SystemHealth
SystemMessage Get-SystemMessage
  New-SystemMessage
  Remove-SystemMessage
  Set-SystemMessage
TransportAgent Disable-TransportAgent
  Enable-TransportAgent
  Get-TransportAgent
  Install-TransportAgent
  Set-TransportAgent
  Uninstall-TransportAgent
TransportConfig Get-TransportConfig
  Set-TransportConfig
TransportPipeline Get-TransportPipeline
TransportRule Disable-TransportRule
  Enable-TransportRule
  Get-TransportRule
  New-TransportRule
  Remove-TransportRule
  Set-TransportRule
TransportRuleAction Get-TransportRuleAction
TransportRuleCollection Export-TransportRuleCollection
  Import-TransportRuleCollection
TransportRulePredicate Get-TransportRulePredicate
TransportServer Get-TransportServer
  Set-TransportServer
Bitmap

Return to top
 
  Cmdlets U through W  
Noun Cmdlet Name
UMActiveCalls Get-UMActiveCalls
UMAutoAttendant Disable-UMAutoAttendant
  Enable-UMAutoAttendant
  Get-UMAutoAttendant
  New-UMAutoAttendant
  Remove-UMAutoAttendant
  Set-UMAutoAttendant
UMConnectivity Test-UMConnectivity
UMCustomPrompt Copy-UMCustomPrompt
UMDialPlan Get-UMDialplan
  New-UMDialplan
  Remove-UMDialplan
  Set-UMDialplan
UMHuntGroup Get-UMHuntGroup
  New-UMHuntGroup
  Remove-UMHuntGroup
UMIPGateway Disable-UMIPGateway
  Enable-UMIPGateway
  Get-UMIPGateway
  New-UMIPGateway
  Remove-UMIPGateway
  Set-UMIPGateway
UMMailbox Disable-UMMailbox
  Enable-UMMailbox
  Get-UMMailbox
  Set-UMMailbox
UMMailboxPIN Get-UMMailboxPIN
  Set-UMMailboxPIN
UMMailboxPolicy Get-UMMailboxPolicy
  New-UMMailboxPolicy
  Remove-UMMailboxPolicy
  Set-UMMailboxPolicy
UMServer Disable-UMServer
  Enable-UMServer
  Get-UMServer
  Set-UMServer
UMVirtualDirectory Get-UMVirtualDirectory
  New-UMVirtualDirectory
  Remove-UMVirtualDirectory
  Set-UMVirtualDirectory
User Get-User
  Set-User
WebServicesConnectivity Test-WebServicesConnectivity
WebServicesVirtualDirectory Get-WebServicesVirtualDirectory
  New-WebServicesVirtualDirectory
  Remove-WebServicesVirtualDirectory
  Set-WebServicesVirtualDirectory
X400AuthoritativeDomain Get-X400AuthoritativeDomain
  New-X400AuthoritativeDomain
  Remove-X400AuthoritativeDomain
  Set-X400AuthoritativeDomain

 

Posted in Exchange Server 2010 Posts | 2 Comments »

Exchange 2010 EMC “initialization failed” error execution of scripts is disabled on this system

Posted by viralr on November 15, 2011

Exchange server 2010 and I have just launched the EMC and received the following error.  

Initialization failed

ConsoleInitialize.ps1 cannot be loaded because the execution of scripts is disabled on this system

Cause :-

—————

The reason for this error is the security setting on your pc that does not allow you to execute a script.  This is the so-called Execution Policy. By default, the Execution Policy is set to Restricted. This setting means that you may not run any PS1 script at all.

An overview of the policy levels:

Restricted: Individual cmdlets can run, but not saved Powershell scripts. This is the default setting.
AllSigned: Scripts can run, but must have a digital signature even if written on the local computer. Prompts you before running scripts from trusted publishers.
RemoteSigned: Scripts written on the local computer do not need a digital signature, but any script downloaded from outside (email, IM, Internet) must have a signature to execute. 
Unrestricted: Any script can run, but scripts downloaded from outside will run with a warning.

If you’re working on a desktop and just experimenting with PowerShell, the best is to set the policy-level to Unrestricted. This allows you do everything with annoying security boundaries. Just be careful not to run every script you download from the internet :)
If you’re working in a production environment and only want to run self-written scripts, the RemoteSigned level should be loosy enough.

Resolution :-

——————–

To change the Execution Policy to Unrestricted, type the following command in Powershell

Set-ExecutionPolicy Unrestricted

To change the Execution Policy to RemoteSigned (to run your own scripts), type the following command in Powershell

Set-ExecutionPolicy RemoteSigned

And that’s it! Your scripts can be run. Have fun !!!!!!!

Posted in Exchange Server 2010 Posts | 2 Comments »

Exchange 2010 Unable to start EdgeSync service on Hub Transport server

Posted by viralr on November 12, 2011

Exchange 2010 HT/CAS/MB on Windows Server 2008 R2 x64

When i try to start edge sync service on HT server, i get an error 

1) Event Id 1070

“EdgeSync has failed. See the EdgeSync Log for more details.” and 

2) Warning Event Id 1045

Initialization failed with exception: Microsoft.Exchange.EdgeSync.Common.EdgeSyncServiceConfigNotFoundException: Couldn’t find EdgeSync service configuration object for the site PDO-GKL. If the configuration object doesn’t exist in the Active Directory location CN=EdgeSyncService,CN=PDO-GKL,CN=Sites,CN=Configuration,DC=pdosolutions,DC=net, create it using the New-EdgeSyncServiceConfig cmdlet. If the object does exist, check its permissions.. If this warning frequently occurs, contact Microsoft Product Support.

Resolution :

1) Open Exchange power shell

2)  Run command “New-EdgeSyncServiceConfig”

3) After that I was able to start the EdgeSync.

Hope this helps.

Posted in Exchange Server 2010 Posts | 2 Comments »

Exchange 2007 Error updating public folder with free/busy information on virtual machine,The error number is 0x8004010f.

Posted by viralr on November 4, 2011

Problem Description :  Event Id 8207   is frquently occurring on the server :-
—————————————————————————————————-
 
Error updating public folder with free/busy information on virtual machine,The error number is 0x8004010f.
 
 
 
Resolution :-
——————–
1) For Outlook  2003 user make sure you have OAB public folder under system folders,use the following procedure to create OAB public folder
 
 1) Open Powershell
2) Run the command
 
Get-PublicFolder “\non_ipm_subtree\schedule+ free busy” –recurse |fl name,*rep*

3) Found “First Administrative Group” replica is missing ,this replica is needed for old outlook 2003clients

PS] C:\Windows\System32>Get-PublicFolder “\non_ipm_subtree\schedule+ free busy”
 -recurse |fl name,*rep*

Name                           : SCHEDULE+ FREE BUSY
LocalReplicaAgeLimit           :
Replicas                       : {}
ReplicationSchedule            : {}
UseDatabaseReplicationSchedule : True
Name                           : EX:/o=YourORGNAme/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)
LocalReplicaAgeLimit           :
Replicas                       : {Public Folder Database}
ReplicationSchedule            : {}
UseDatabaseReplicationSchedule : True
 
4) To resolve this issue run the following command
 
new-publicfolder -name “EX:/o=YourORGNAME/ou=First Administrative Group” -path “\non_ipm_subtree\schedule+ free busy”
 
Note :  ”EX:/o=YourORGNAME (Please change this value to your organization Name ,you will get your organization name from above command)
 

5) Make sure you have now First Administrative Group” replica as per below results ………………

Get-PublicFolder “\non_ipm_subtree\schedule+ free busy” –recurse |fl name,*rep*

[PS] C:\Windows\System32>Get-PublicFolder “\non_ipm_subtree\schedule+ free busy”
 -recurse |fl name,*rep*
Name                           : SCHEDULE+ FREE BUSY
LocalReplicaAgeLimit           :
Replicas                       : {}
ReplicationSchedule            : {}
UseDatabaseReplicationSchedule : True
Name                           : EX:/o=YourORGNAME/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)
LocalReplicaAgeLimit           :
Replicas                       : {Public Folder Database}
ReplicationSchedule            : {}
UseDatabaseReplicationSchedule : True
Name                           : EX:/o=YourORGNAME/ou=First Administrative Group
LocalReplicaAgeLimit           :
Replicas                       : {Public Folder Database}
ReplicationSchedule            : {}
UseDatabaseReplicationSchedule : True
 
If the above steps does not resolve the issue,then check the following points………….
 
 -Outlook 2007  uses Autodiscover and OAB virtual directory to download the OAB.
-From EMC make sure you have OAB Web based distribution enabled
-On Exchange 2007  under Program file>Microsoft>Exchanhe server you have ExchangeOAB folder which is shared (this will be -created if 2007 server is generating OAB)and you will see a folder inside it with guid value.
-In CAS server Restart Microsoft Exchange file distribution service.
-In CAS server open IIS and check for OAB virtual directory and see if there is any folder un it (guid value).Make sure  Autodiscover and OAB URL are set correctly,to set the URL follow KB http://support.microsoft.com/kb/940726
 
–Hope this post helps to resolve 8207 issue.
 
 Refrence :

Posted in Exchange Server 2007 Posts | 1 Comment »

Services for Exchange Server 2007 or Exchange Server 2010 cannot start automatically after you install Exchange Server 2007 and Exchange Server 2010 on a global catalog server

Posted by viralr on October 31, 2011

When you install Microsoft Exchange Server 2007 or install Microsoft Exchange server 2010 on a global catalog server, Exchange Server services cannot start. However, you can start other services manually. Servers in this configuration may take a long time to shut down. Additionally, the following events are logged:

Event ID : 1005
Source : MSExchangeSA
Category : General
Type : Error
Description : Unexpected error The Local Security Authority cannot be contacted ID no: 80090304 Microsoft Exchange System Attendant occurred.

Event ID: 2601
Source: MSExchange ADAccess
Category: General
Type: Warning
Description: Process MSEXCHANGEADTOPOLOGY (PID=1624). When initializing a remote procedure call (RPC) to the Microsoft Exchange Active Directory Topology service, Exchange could not retrieve the SID for account <WKGUID=DC1301662F547445B9C490A52961F8FC,CN=Microsoft Exchange,CN=Services,CN=Configuration,…> – Error code=80040934. The Microsoft Exchange Active Directory Topology service will continue starting with limited permissions.

Event ID: 1121
Source: MSExchangeIS
Category: General
Type: Error
Description: Error 0x96e connecting to the Microsoft Active Directory.

Event ID: 5000
Source: MSExchangeIS
Category: General
Type: Error
Description: Unable to initialize the Microsoft Exchange Information Store service. – Error 0x96e.

Cause :
———-
This problem occurs because the domain controller and other Exchange-Server-dependent services do not start completely when Exchange Server 2007 or Exchange Server 2010 try to start.

Solution :
————
–The solution which was worked for me was :

Set all the Exchange failing services to “Automatic (Delayed Start)” and reboot the server .

Make sure after setting the services to “Automatic (Delayed Start)” the services are not starting automatically after reboot.

Automatic (Delayed Start) delays the startup of a service approximately 2 min. after the system has completed starting the operating system.

More about “Automatic (delayed start)”:

http://blogs.technet.com/b/askperf/archive/2008/02/02/ws2008-startup-processes-and-delayed-automatic-start.aspx

Posted in Exchange Server 2010 Posts | Leave a Comment »

Outlook 2010 Sync Issues and Conflicts when Blackberry server available

Posted by viralr on October 20, 2011


–While troubleshooting this issue i observed some e-mails in conflicts folder under outlook 2010

Cause :
——-
–The issue happens because the user opens the message in Outlook before BES delivers it to their Blackberry.  Then the message gets delivered to their mobile and thus the properties of the message on the server are changed before the user changes them with Outlook.

–Research the web and found following Blackberry forum

http://btsc.webapps.blackberry.com/btsc/search.do?cmd=displayKC&docType=kc&externalId=KB19222

–As per this blackberry forums ,This is by design of Cached Exchange Mode in Microsoft Outlook. When a new email message arrives at the mailbox, Microsoft Outlook is notified before the BlackBerry Enterprise Server. When the BlackBerry Enterprise Server accesses the email message, it modifies properties such as injecting a RefID.

–A possible workaround is to enable the ProcessMailDelay registry key to cause the BlackBerry Enterprise Server to wait for a period of time before picking up the email message.

Resolution :
————
–To fix the sync issues, We have two options,

1) Disabled Cached Exchange Mode on user machine and see if that helps.

OR

2) On the Blackberry server follow the above blackberry forum and enable the “ProcessMailDelay” registry key to cause the BlackBerry Enterprise Server to wait for a period of time before picking up the email message.(This registry needs to be change from server so get this enable from your end)

Ref Article :

http://social.technet.microsoft.com/Forums/en-US/exchangesvrclients/thread/687c2ce6-22a7-46d2-a17c-0d256f55c0b6/

http://btsc.webapps.blackberry.com/btsc/search.do?cmd=displayKC&docType=kc&externalId=KB19222

Hope this post helps to resolve Sync Issues and Conflicts.

Posted in Exchange Server 2010 Posts | Leave a Comment »

Finding cause of Exchange database dismount

Posted by viralr on October 5, 2011

Finding cause of Exchange database dismount :-

Question :
———–
Hi

Running Exchange 2007 SP2. This afternoon, noticed that one of our stores was dismounted….not sure when it happened, and becuase it’s a Sunday no one called our Helpdesk luckily. Could have been down since Friday PM.

I’d like to find out the cause, but our Event Logs are full of stuff – does anyone know what Event ID I’d be looking for etc? Any other way to find out when it was dismounted? I thought about checking the transaction logs but they have all been purged after the backup.

ANS :
—–
Please check the event viewer thoroughly for the following evnets

Event Id – 9539 & 9175 will be generated during store dismount ,

Event Id 482 will generate in case if the exchange store is dismounted due to low disk space.

Event Id 9688,89,90 will generate in case your database has exceeds the limit ,

Also which software are using for Exchange Backup ,do you have any scheduled task to dismout the store ?

Posted in Exchange Server 2007 Posts | 1 Comment »

What is the Exchange Server Dial-Tone server scenario?

Posted by viralr on October 5, 2011

# What is the Dial-Tone server scenario?

If you one day are faced with a relatively large corrupt Mailbox Store, restoring it can, depending on things such as backup hardware, backup application and network speed, be quite time consuming. Now the last thing you want to deal with in such a situation is frustrated users (or even worse a yelling CEO!).

So how can you get your users to calm down (and your CEO to s… up) and get back to work while you concentrate on getting the Mailbox Store back to life? There’s one simple answer and that is, you can create a dial-tone database and thereby get message flow and mailbox access recovered almost instantly. By using a dial-tone database your users can start to receive and send mail again, they can even go check out old messages that existed in their mailbox on the Exchange server (if their Outlook client has been configured to use cached mode that is), bear in mind though they have to switch between Online and Offline mode when prompted with the Outlook 2003 Exchange Recovery Mode dialog box. I’ll talk more about Outlook 2003 Recovery mode in “Demystifying The Exchange Dial-tone Restore Method (Part 2)”.

Using the dial-tone database restore method means that you, while restoring one or more corrupted Mailbox Stores from the most recent backup, have users connect to a new empty or blank Mailbox Store. The dial-tone restore method is by no means new; it’s been used with previous versions of Exchange as well, but now that we have the Exchange Server 2003 Recovery Storage Group (RSG) feature, the method becomes even more attractive when restoring Mailbox Stores within your Exchange messaging environment.

Note: With previous versions of Exchange a dedicated Exchange recovery server was required. Using a separate Exchange recovery Server meant you first had to restore the required Mailbox Store(s) or database to the recovery server, then either export the data from the restored database(s) to PST files using Exchange Server Mailbox Merge Wizard (ExMerge) or copy the whole Exchange database from the recovery server to the production server. As an Exchange database often is several gigabytes in size, this meant you typically had to copy large amounts of data over the wire which, depending on the network, could add several hours to the total recovery time.

Using the Recovery Storage Group feature makes it possible to restore Mailbox Stores without the need to build and use a separate Exchange Recovery Server; instead you can simply restore the Mailbox Store(s) directly to the Recovery Storage Group (RSG) on the respective Exchange Server or any other Exchange 2003 Server in the same Administrative Group. This makes it an easy and painless process to merge data from the restored Mailbox Store(s) to the dial-tone database, or swap the restored database from the Recovery Storage Group (RSG) to the dial-tone database in the original Storage Group, then merge data from the dial-tone database to the restored Mailbox Store. I’ll also talk more about swapping databases in “Demystifying The Exchange Dial-tone Restore Method (Part 2)”.

Note: If you’re not familiar with the Recovery Storage Group (RSG) feature, I recommend you checkout MS KB article: 824126 – How to use Recovery Storage Groups in Exchange Server 2003 which does a great job explaining how you can recover Mailbox Stores or individual mailboxes using by restoring a Mailbox Store to the RSG.

Posted in Exchange Server 2003 Posts | Leave a Comment »

Event Id 1009 The license store for the client access licenses is not valid and could not be restored from an automatic backup.

Posted by viralr on October 5, 2011

Event Id 1009 The license store for the client access licenses is not valid and could not be restored from an automatic backup:-

Observed following Event Id 1009 is occurring on the server which states that :-

Open the SBS Server Management Consol -Click on Licensing and observed there are no license key available.

Resolution :-

  1.  Open SBS Server Management Consol – Click on Licensing Tab.
  2. Click On Restore Licenses

 

3. Click on Next

4. Click on Browse Button

5. Select C:\WINDOWS\system32\Autolicstr.cpa

6.Click on Next Button

7. Click on Finish Button

8. Make sure License Code and Number of Licenses are now display on the SBS Licensing Consol

 

Hope this post may help you to restore the missing licenses.

Please feel free to letme know if you have any query’s.

Posted in Exchange Server 2003 Posts | Leave a Comment »

Exchange 2010 Store.exe using up RAM

Posted by viralr on September 9, 2011

Exchange 2010 Store.exe using up all the available RAM (High Memory Usage ) :

–In Exchange 2010 It is absolutely normal for Store.exe to grab as much RAM on the server as it can possibly get – as long as Store thinks it needs it to optimize performance. Store was written to do so. It does this as it wants to do as much stuff in memory as possible, without having to go to the slow page file.

–This is a feature, not a bug,Exch will use as much memory as it can for store.exe to optimize performance,another service runs and need some of the RAM itself then exchange will release some

–We can limit the amount of memory that Exchange uses by following the below steps to limit the store.exe process

1.      Start ADSIEDIT.msc

2.      Navigate to Configuration > Services > Microsoft Exchange > <”Organization Name”>  Administrative Groups > <”Administrative Group”>, > Servers > <”Server Name”> > InformationStore

3.      Right-click InformationStore, and edit msExchESEParamCacheSizeMax. Set it it to the number of pages to maximize the Database Cache to. Note that Exchange 2007 works with 8 KB pages and Exchange 2010 with 32 KB pages!

4.    Restart the Microsoft Exchange Information Store service for the change to become effective.

So, for instance, if you want to limit the Database Cache to 4 GB of an Exchange 2010 server, set msExchESEparamCacheSizeMax to 131072 (4 GB = 4.194.304 KB / 32 KB). If you want to limit the Database Cache to 2 GB of an Exchange 2007 server, set msExchESEparamCacheSizeMax to 262144 (2 GB = 2.097.152 KB / 8 KB).

Note that lowering these values may degrade performance, in terms of server performance as well as in terms of end-user experience. However, smaller organizations with a limited number of mailbox users may benefit because they don’t let Exchange claim significant amounts of memory which it will never use.

 You can get more information from the following documents

Why is Exchange Store.exe so RAM hungry?

http://msexchangeteam.com/archive/2004/08/02/206012.aspx

 http://eightwone.com/2010/03/25/limiting-exchange-2010-database-cache/

Note :-It is not recommended to set the “msExchESEParamCacheSizeMax” key to limit the memory usage ,but if you still want to limit the store.exe memory utilization then follow the above ADSIEDIT steps.

Posted in Exchange Server 2010 Posts | 5 Comments »

 
Follow

Get every new post delivered to your Inbox.