Saturday, May 26, 2012

Active Directory and Logging

I have been asked in many interviews that what is Active directory database is and where the logs would be located? It’s a tricky question and the people who also good in AD administration might be overlooked. Even I am one of the persons of thatJ. I decided to talk about this and wanted to post here something which I learnt today.

Active Directory

Active directory database is a repository for users and computers and it is a centralized database which keeps track of all the user accounts and passwords in organization which allows storing user accounts and passwords in one protected location to improve organization's security.

The Active Directory database consists of objects and attributes. Objects and attribute definitions are stored in the Active Directory schema, Active directory consists of 4 partitions those are Domain, Configuration, and Schema and Application partitions.

Active Directory records events to the Directory Services log of Event Viewer. You can use the information that is collected in the log to help you diagnose and resolve possible problems or monitor the activity of Active Directory-related events on your server.

By default, Active Directory records only critical events and error events in the Directory Service log. To configure Active Directory to record other events, you must increase the logging level by editing the registry.

Active Directory Diagnostic Event Logging

The registry entries that manage diagnostic logging for Active Directory are stored in the following registry subkey:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\NTDS\Diagnostics

Go to >> Run >> regedit, click Yes



Expand the Services and Select NTDS settings, then Select Diagnostics, right side of the pane you can view list of the REG_DWORD options.



Logging Levels

Each entry can be assigned a value from 0 through 5, and this value determines the level of detail of the events that are logged. The logging levels are described as:

·  0 (None): Only critical events and error events are logged at this level. This is the default setting for all entries, and it should be modified only if a problem occurs that you want to investigate.

·  1 (Minimal): Very high-level events are recorded in the event log at this setting. Events may include one message for each major task that is performed by the service. Use this setting to start an investigation when you do not know the location of the problem.

·  2 (Basic)

·  3 (Extensive): This level records more detailed information than the lower levels, such as steps that are performed to complete a task. Use this setting when you have narrowed the problem to a service or a group of categories.

·  4 (Verbose)

·  5 (Internal :): This level logs all events, including debug strings and configuration changes. A complete log of the service is recorded. Use this setting when you have traced the problem to a particular category of a small set of categories.

Select any of the REG_DWORD option which you want to see the diagnostic logging. Based on the above options select an option and change the value.


PS: I wanted to remind you here that modifying higher logging levels increases the number of entries recorded in the event log and you may not scrutinize as desire. Similarly high logging levels reduce the server performance.



Source Articles:






Your valuable feedback on this article is most appreciated



Regards, Raju

This posting is provided "as is" with no warranties and confers no rights.

Wednesday, May 16, 2012

MS OCS 2007 R2 Vs MS Lync 2010 Server

Dear Friends,

I found the excelent comparision between OCS 2007 R2 and Lync 2010 information in follwoing lync.http://blog.whatdouc.net/2010/10/13/lync-vs-ocs-2007/  thanks to  shafaquat ali.

Regards, Raju

Thursday, March 29, 2012

MS Lync Server and ADS

Intended to post only those which are rarely available in any other blogs. From now on words, in this blog along with Exchange Server will also include Lync/Skype for business, Activ Directory posts.

Thanks for the cooperation and support.

Regards, Raju

Wednesday, June 15, 2011

Increasing MAPI Concurency connections per user in Exchange 2010

Customer is using MAPI account for helpdesk to handle support requests purpose. They want to configure same MAPI account in multiple machines. He is able to configure it in 9 machines but when they go to configure 10th machine it does not work. at any point of time  It is supporting only 9 machines, when we deleting one account which I have configured earlier, later if we try to configure in new machine it is configuring.
How it got resolved -
“Client throttling” feature is introduced in Exchange 2010 to ensure that a user should not use exchange server high resource. 
Among other things, client throttling helps you make sure that:
              Users aren't intentionally taxing the system.
              Users aren't unintentionally taxing the system.
              Users of various connectivity methods are sharing resources proportionally.
Exchange 2010 has client throttling polices, which are enabled by default. You are probably exceeding your max connections configured value. For details,
                                          http://technet.microsoft.com/en-us/library/dd297964.aspx

"The RCAMaxConcurrency parameter indicates how many concurrent connections an RPC Client Access user can have against a server running Exchange 2010 at one time. A connection is held from the moment a request is received until the connection is closed or the connection is otherwise disconnected (for example, if the user goes offline). If users attempt to make more concurrent requests than their policy allows, the new connection attempt fails. However, the existing connections remain valid. The RCAMaxConcurrency parameter has a valid range from 0 through 2147483647 inclusive. The default value is 20. To indicate that the number of concurrent connections should be unthrottled (no limit), this value should be set to $null"
Generally we  try to increase the CPUStartPercentage  when encounter these kind of issues, The CPUStartPercent parameter only applies to CPU usage and not concurrent connection parameters. For example, you set CPUStartPercent to 75% and RCAPercentTimeInCAS to 50%, if the CPU hits 75% utilization, Exchange will limit the amount of time Outlook can spend executing Client Access requests to 30 seconds out of every minute. No matter what the CPUStartPercent is set to, all parameters ralated to max concurrent connections will always be enforced.
Each client can have multiple RCA connections to the server if it is opening additional mailboxes, public folders, or shared folders. It is especially a problem if you are using Outlook 2003 as it doesn't release RCA connections that have been generated by viewing another user's calendar. Where you have so many clients connecting to the same mailbox, I would suggest you increase the RCAConcurrency to a higher value. You will need to monitor the Exchange server to ensure this doesn't cause any performance issues
To higher the value of  RCA connection do follow below steps:
·         Open EMS >>Get-ThrottlingPolicy |fl IsDefault,RCA*
·         Copy the  default throttlingpolicy and use in below command.
·         Open EMS>>Set-ThrottlingPolicy -Identity DefaultThrottlingPolicy_XXXXXXXXXXX -RCAMaxConcurrency 30
·         After run the command  just restart   “ RPC Client access service”.

Sometimes higher  the value in Client access server will not solve your concern since cut of connection limit has been set less in  Mailbox Server.  At those scenarios do follow the below steps.
·         On your mailbox server >> open “Regedit”  >>  go to the following key - \\HKEY_LOCAL_MACHINE \SYSTEM\CurrentControlSet\Services\MSExchangeIS\ParametersSystem
·         Create a new DWORD (32-bit) value called "Maximum Allowed Sessions Per User". Set this value to 100.
·         You may need to restart the information store for the change to take effect.

Your valuable feedback on this article is most appreciated

Regards, Raju
This posting is provided "as is" with no warranties and confers no rights.

Wednesday, June 1, 2011

Exchange 2010 - IMAP4/POP3 Read receipt Issue !!!

Issue:  Senders receiving read recipient notification report though email not read by a recipient. And few other cases, it is observed MAPI users  are getting their email status read automatically in their outlook though they actually dint,  but these users are also Black berry POP users and  when they disabled their Blackberry POP account it works fine
How it got resolved –

This is the scenario with Microsoft Exchange server 2010.

The “SuppressReadReceipt” parameter specifies whether to stop duplicate read receipts from being sent to IMAP4/POP3 senders that are using the “Send read receipts for messages I send “option in their IMAP4/POP3 e-mail program.

By default, this option is set to $false. By default, IMAP4/POP3 senders that use the” Send read receipts for messages I send” option receive a read receipt in both of the following circumstances:

·         When messages they send are downloaded by the recipient.
·         When the recipient opens the message.

For All users in your organization:

ü  Open  EMS >> run the following command>> Set-PopSettings  -SuppressReadReceipt  $true
ü  Open  EMS >> run the following command>> Set-ImapSettings  -SuppressReadReceipt  $true

For on single user:
ü  Open EMS >> run the following command>>set-CasMailbox – identity  username  - pop SuppressReadReceipt  $true
ü  Open EMS >> run the following command>>set-CasMailbox – identity  username  -Imap SuppressReadReceipt  $true

After run the commands restart the following services on the server.
ü  MSExchange Transport service.
ü  MSExchange System Attendant Service.
ü  MSExchange  POP Service.
ü  MSExchange  IMAP Service.

The valid values and descriptions for this parameter are:

ü  $false   IMAP4 /POP3 users are sent a read receipt each time a recipient downloads a message. IMAP4 users are also sent a read receipt when the user opens the message.
ü  $true   IMAP4 /POP3 users that use the Send read receipts for messages I send option in their e-mail client programs only receive a read receipt when the recipient opens the message.


Your valuable feedback on this article is most appreciated


Regards, Raju
This posting is provided "as is" with no warranties and confers no rights.

My First Post - With lot of Excitement !!!


Hi All,

In fact, few days ago, I thought to start a blog or personal website on MS Exchange, but due to busy with my professional career I could not do that and almost forgot it.

I would like to thank one of my friends and well wishers Mr Harsha who was motivated and supported towards starting this blog.

From now onwards I would post and share my knowledge and experience as well real-time issues and resolutions on “MS Exchange Enterprise/hosting”.

You can also post me queries/issues, MS Exchange related, I would try to do my best to help you out.

Looking forward for your support, help and wishes to make my blog success.

Thanks in advance,

Regards, Raju