Unable to soft delete messages after installing Exchange 2010 SP2 RU6 or SP3

Finally, Microsoft has confirmed that what we wrote and many users wrote on the forums.

Namely, Microsoft admits that after installing Rollup 6 for Exchange 2010 SP2 or after the installation of Service Pack 3 for Microsoft Exchange 2010, there are problems with the removing some of e-mails using soft delete:

  1. Unable to soft delete messages that contain voice mail attachments.
  2. Unable to soft delete messages sent from FAX server, printer or scanner which have attachments (such as .PDF).
  3. issue occurs when you use Microsoft Outlook in Online mode or OWA

 

This issue does not happen with messages sent by a user instead of an application, or plain messages without attachments.

As workaround Microsoft recommends:

  1. Hard delete the message instead of soft deleting – to hard delete email using Microsoft Outlook, select the message and then press SHIFT+DELETE to delete it
  2. Use cached mode for Outlook – when using the cached mode of Outlook, the message can be soft deleted

 

All article is available here:

Unable to soft delete some messages after installing Exchange 2010 SP2 RU6 or SP3

 

 

 

Microsoft Exchange get sent emails list – messagetrackinglog

emailRecently we wrote about how to find all the all recipients of the email:

Exchange MessageTrackingLogs get recipients list

 

 

Now we will present a powershell script that will help us generate statistics of sent emails.

 

However, we are not interested in the amount of all outgoing e-mails, their size, but we will focus on emails sent outside of our Exchange organization and get information about the addresses from which they were sent, with which the subject, how many of these emails and how many recipients receive those emails.

This script allows you to obtain information about the senders e-mail addresses that send many messages out.
This script is based on checking the Transport Logs located on Exchange servers with the Hub Transport roles.

After receiving the results of the script you can use the script in the previous post and find out to whom the message was sent, then you will get list of all recipients of this email.

 

Below we explain how this script work.:

First script part conatins:

  • powershell object definitions
  • paths to output files with emails statistic
  • settings to send email with alert to admin
  • $MAX_Recipients – number of recipients which define when to generate alert sent by email

 

Add-PSSnapin Microsoft.Exchange.Management.PowerShell.E2010
Set-AdServerSettings -ViewEntireForest $True

Function New-Array {,$args}

$Report = New-Array
$Report_SMTP = New-Array
$Rep_sum = New-Array
$Rep_SMTP_sum = New-Array

$data = $($((get-date).adddays(-1)).ToString('yyyy.MM.dd'))

#paths to output files
$Out_Rep_file = "d:\Scripts\Logs\Stats\msg_stat_out_$data.csv"
$Out_Rep_sum_file = "d:\Scripts\Logs\Stats\msg_stat_out_sum_$data.csv"

#files with emails with smtp traffic
$Out_Rep_SMTP_file = "d:\Scripts\Logs\Stats\msg_stat_smtp_out_$data.csv"
$Out_Rep_SMTP_sum_file = "d:\Scripts\Logs\Stats\msg_stat_smtp_out_sum_$data.csv"
#file with report attached to email (emails recipients grater than $MAX_Recipients)
$Email_HTML_File = "d:\Scripts\Logs\Stats\Report_outgoing_emails_$data.htm"

#settings for email with report
$mail_from = "exchangereport@domain.com"
$mail_to = "admin@domain.com"
$mail_smtp_host = "smtpserver.domain.local"
$mail_subject = "Report outgoing emails $data"

#variable that defines the threshold for recipients to write to email report
$MAX_Recipients = 100

Continue reading

Exchange MessageTrackingLogs get recipients list

From time to time we need to get a list of all persons to whom the email was sent with a given subject.

The list of recipients in a fairly simple way we can get from the transaction logs which are located on Exchange servers with HT roles.

Of course, before you do this, you have to configure your environment so that the transaction logs are kept for a few days on the servers.

The following script returns a list of recipients to whom the email was sent with the subject “Test mail”, but we are interested in the time of dispatch of the last day.

Number of days is defined in $DAYS and subject in $SUBJECT.

Script you can find below:

Continue reading

Microsoft Lync 2013 does not update status based on Outlook Calendar KB2804472

Lync2013From the beginning, when we installed the Microsoft Lync 2013 client, we had a problem with the fact that Lync 2013 does not update the status on the basis of meetings listed in the Outlook calendar.

The result of this was that we had to adjust the status of Lync 2013 client manually for Busy eg.: when a calendar appointment was entered, and then adjust it to Available, after appointment.

We tried different ways to resolve this problem, and make Lync 2013 to automatically update status: reinstall the Lync 2013 client, removing all data from the directory:

C:\Users\rszatkowski\AppData\Local\Microsoft\Office\15.0\Lync

remove and recreate Lync user account, change Windows OS version to 7 or 8 with the same result.

Unfortunately, nothing helped, so this weekend we decided to finally take the subject seriously.

Continue reading

List Exchange mailbox folder permissions – script

Sometimes you add permissions to mailbox folders for other users.

You can check permission to mailbox folder using Outlook but then you need to check each folder.

If you want to get list of permissions assigned for users to specified mailbox folders you can use below script.

In this script we use Get-MailboxFolderStatistics to get list of mailbox folders and subfolders, and  Get-MailboxFolderPermission to get permissions assigned to those folders and subfolders.

When we connect both commands we will get script which will list all permissions assigned to all folders and subfolders in mailbox.

To check specified mailbox, assign mailbox alias or smtp address to variable $MBX_tocheck

Continue reading

Microsoft Exchange 2013 Deployment Assistant available

Microsoft Exchange 2013 Deployment Assistant is available now.

It’s web-based tool that will help you to deploy Microsoft Exchange 2013.

When you run this tool you can select below deployment type:

  • On-Premises
  • Hybrid
  • Cloud Only

 

Exchange2013_DeploymentAssistant

 

By selecting the appropriate option you will be asked questions about the environment you want to create.

Based on your answers, this tool will provide you a customized checklist with instructions how to deploy and configure Exchange 2013

The Deployment Assistant for Exchange 2013 is supported on most major browsers and has a completely redesigned interface that’s no longer dependent on Silverlight technology

Tool is available here:

Microsoft Exchange 2013 Deployment Assistant

 

Exchange 2010 GRT restore error cannot connect to CAS Array

If you have the Microsoft Exchange 2010 DAG and CAS Array, and you want to recover the granular backup with Symantec NetBackup. You can meet this error:

 

2013-02-08 09:54:11 - Error bpbrm(pid=7200) bpcd on casarray.domain.local exited with status 48: client hostname could not be found
2013-02-08 09:54:11 - Info tar32(pid=0) done. status: 48: client hostname could not be found    
2013-02-08 09:54:11 - Error bpbrm(pid=7200) client restore EXIT STATUS 48: -Your data has been truncated.

 

lub

 

Error bpbrm (pid=4046) from client <cas array name>: ERR - unable to create object for restore: \\dagname\Microsoft Information Store\Mail Store\Database\User, name [nuser], rai error = 6
Error bpbrm (pid=4046) client restore EXIT STATUS 5: the restore failed to recover the requested files
From the detailed status of the job in the Activity Monitor:
Error bpbrm (pid=4046) cannot connect to <cas array name>, Operation now in progress (150)
Error bpbrm (pid=4046) client restore EXIT STATUS 58: can't connect to client

Continue reading

Backup Exchange 2010 DAG using Symantec Netbackup

Here we would like to briefly describe how to perform  Microsoft Exchange Server 2010 database backup using backup tool Symantec NetBackup 7.5

Everyone knows that backups can be divided according to the amount of data to be secured by:

  • Full Backup – a full backup copies all the files you select and marks each file as having been backed up (in other words, the archive attribute is cleared). With normal backups, you only need the most recent copy of the backup file or tape to restore all of the files. You usually perform a normal backup the first time you create a backup set
  • Incremental backup – an incremental backup backs up only those files that have been created or changed since the last normal or incremental backup. It marks files as having been backed up (in other words, the archive attribute is cleared). If you use a combination of normal and incremental backups, you will need to have the last normal backup set as well as all incremental backup sets to restore your data
  • Differential backup – a differential backup copies files that have been created or changed since the last normal or incremental backup. It does not mark files as having been backed up (in other words, the archive attribute is not cleared). If you are performing a combination of normal and differential backups, restoring files and folders requires that you have the last normal as well as the last differential backup

 

We will not be focused here how backup should be used in which case, since it depends on the size of the environment and the time required to recover the data from a backup.

However, it should be noted that in the case of Exchange server backup is performed:

  • through the use of VSS (Volume Shadow Services) – allows you to recover the database file. edb
  • or granular backup using to recover from a backup, a single mailbox or emails that are in the mailbox.

 

Below we present a sample configuration backup of Microsoft Exchange 2010 SP2, which consists of a DAG containing two servers with the Mailbox role.

To backup Exchange Server we will use backup tool Symantec NetBackup 7.5.

Documentation describing the configuration of the backup can be found here:

NetBackup7.5_AdminGuide_Exchange.pdf

 

At each of the Exchange servers must be NetBackup client installed.

If you want to configure a Granular Recovery for a backup we need to install NFS role on each Exchange server with CAS or Mailbox role.

If you are not interested in recovery of individual emails you move on to step 2

 

1. Installing NFS role on Exchange servers with CAS and Mailbox roles

Continue reading

Exchange 2010 SP2 RU6 or SP3 unable to delete email “unknown error”

Those of you who have already installed the latest Rollup for Exchange 2010 SP2 Rollup 6 or SP3 may face a problem regarding deleting emails from mailboxes.

After installing SP3 or RU6 for Exchange 2010 SP2 users can have a problem with deleting emails from inbox folder.

When you try to delete email you can receive error message: “unknown error” and, of course, email is not deleted.

A lot of users wrote on Technet Forums that this issue occurs when you try to soft delete email from inbox folder, especially when email contain an attachment such as: PDF

Interestingly the problem does not occur when you delete an email using Shift + Del or when you move this email to other folder or subfolder.

Another interesting fact is that this problem only occurs in Outlook online mode and OWA. However, in the Outlook cache mode no problems.

Unfortunately, the solution for now is to uninstall the installed updates RU6 for Exchange 2010 SP2 or uninstall SP3.

Several problems are reported to Microsoft, which confirms that receives such notification but not yet officially on the subject is not spoken.