Tag Archives: exchange

Test Exchange remote connectivity

Microsoft have launch a new webpage to test Exchange remote connectivity.

It can test:

ActiveSync
Activesync autodiscover
Outlook autodiscover
Microsoft Exchange Web Services Connectivity Tests
Outlook Anywhere (RPC over HTTP)

Outbound SMTP E-Mail

https://www.testexchangeconnectivity.com/

A problem occurred while trying to use your mailbox

Today i have a user that could get access to the exchange webmail. (OWA).

There are som solutions for this error, try to fix from bullet number 1, and down.

  1. Get-Mailbox User_Name | format-list ExchangeVersion
    if the version is below 0.1 the run this command:
    Set-Mailbox User_Name -ApplyMandatoryProperties
  2. 1. Open ADUC, and go to the properties of the user that is having problems.
    2. Click the Security tab, and then the Advanced button.
    3. Make sure the “Allow inheritable permissions from the parent to propagate to this object…” is checked.
    4. Give AD time to replicate the change and try to login in via OWA again.
  3. Restart the Information Store service.
  4. 1. Open ADUC, and go to the properties of the user that is having problems.
    2. Click the Security tab, and then the find the account SELF.
    3. Give it fuld access.
    4. Give AD time to replicate the change and try to login in via OWA again.
  5. If all this dosen’t work, disable the user in Exchange EMC, this will delete the mailbox, so remember to have a backup of the account first. Then create a new mailbox to this user, and create the user again, and restore the mailbox from your backup.

Export Exchange 2007/2010 tracking log

To export Exchange 2007/2010 tracking log to a Excel, just run this command.
get-messagetrackinglog -Start “31-08-2010 00:00:00” -End “01-09-2010 12:16:00″ -resultsize Unlimited | select-object Timestamp,ClientIp,ClientHostname,ServerIp,ServerHostname,SourceContext,ConnectorId,Source,EventId,InternalMessageId,MessageId,TotalBytes,RecipientCount,MessageSubject,Sender,ReturnPath,@{Name=”Recipients”;Expression={$_.recipients}},MessageInfo | Export-Csv
It will export all mails from 31/8-2010 to 1/9-2010, with the selected fiels.

Outlook crash on opening a shared calendar

I have a problems today with an Outlook that keeps crash sometimes when a user is opening a share calendar. I tested it on my test machine and when the user opening the shared calendar at my test machine my own outlook crash also.

I then try to give the user full permission to the mailbox and that resolve the issues.

The error code in the event viewer was:

Faulting application outlook.exe, version 12.0.6514.5000, stamp 4a89dc70, faulting module mso.dll, version 12.0.6425.1000, stamp 49d65443, debug? 0, fault address 0x000057ba.

This is not the best solution but is a workaround for now. It seams to be a bug in the way Exchange 2010 and Outlook 2007 is running.

See also: http://social.technet.microsoft.com/Forums/en-US/exchange2010/thread/43469ef9-2274-403c-9a15-44460540f9e4

Delegates (Stedfortræder) problems in outlook

The error messages in Danish:
Indstillingerne for stedfortrædere blev ikke gemt korrekt. send på vegne af-liste kunne ikke aktiveres. Du har ikke den nødvendige tilladelse til at udføre denne handling på objektet.

The error messages in English:
The Delegates settings were not saved correctly.
Unable to activate send-on-behalf-of list.
You do not have sufficient permission to perform this operation on this object.

Solution:
In order to resolve this you need to give Write Personal Information permission to the SELF account on the user who is trying to add the delegate. To do this, follow these steps:-

Connect to your mail server.
Open Active Directory Users and Computers, and then click Advanced Features if it is not already selected on the View menu.
Expand your domain, and then locate the user’s Organisational Unit (OU).
In the right pane, right-click the user who is experiencing the delegate issue, and then click Properties.
Click the Security tab, locate the SELF account, and then click “Write Personal Information” and “Read Personal Information”.
Click OK

Exchange 2003 and powershell

Have you ever need a list of yours mailbox and the size of it. You can find this in system manager, but you cannot export this list.
With Powershell you can get a list that you example can import in excel.
First you need to download and install powershell, you can download powershell from here:
http://www.microsoft.com/windowsserver2003/technologies/management/powershell/default.mspx

After you have downloaded and install it, type this command in the powershell

get-wmiobject -class Exchange_Mailbox -Namespace ROOT\MicrosoftExchangev2 -ComputerName servername | select-object MailboxDisplayName,TotalItems,Size

Change “servername” to you servers name example exchange01

Exchange 2003 and 75GB datastore

With exchange 2003 SP2, the database store in Exchange is increase to 75GB, this is not setup automatic.
You have to change something in the registry database.

To set the size of the private mail store

  1. Click Start, click Run, type regedit, and then click OK. Regedit starts.
  2. Browse to HKEY_LOCAL_MACHINE/ System/ CurrentControlSet/ Services/ MSExchangeIS/ ServerName, where ServerName is the name of your server that is running Windows SBS.
  3. To modify the private mail store size, right-click the Private-GUID folder, click New, and then click DWORD Value.
  4. Type Database Size Limit in GB, and then press ENTER.
  5. Right-click the new entry and then click Modify.
  6. In the Base field, click Decimal. In the Value data text box, type a number between 1 and 75. This is the new maximum size of your database in gigabytes.
  7. Click OK.
  8. Close Regedit.

Next you maybe want to get a warning when the database is almost at the limit, this can be setup this way:
To set the size of the buffer

  1. Click Start, click Run, type regedit, and then click OK. Regedit starts.
  2. Browse to HKEY_LOCAL_MACHINE/ System/ CurrentControlSet/ Services/ MSExchangeIS/ ServerName, where ServerName is the name of your server that is running Windows SBS.
  3. To set a buffer size for the private mail store, right-click the Private-GUID folder, click New, and then click DWORD Value.
  4. Type Database Size Buffer in Percentage, and press ENTER.
  5. Right-click the new value and then click Modify.
  6. In the Base field, click Decimal. In the Value data text box, type a number between 1 and 100. A value of 10, for example, results in warning events being logged when the database has 10 percent capacity remaining.
  7. Click OK.
  8. Close Regedit.