Cannot delete legacy mailbox on Exchange 2010 - Access is Denied

Issue

Some mailboxes on Microsoft Exchange 2010 cannot be deleted via Exchange Management Console. Following error is displayed:

Active Directory operation failed on <domain controller>. This error is not retriable. Additional information: Access is Denied. Active directory response: 00000005: SecErr: DSID-033520B4, problem 4003 (INSUFF_ACCESS_RIGHTS), data 0

The affected mailboxes seem to be those that were moved during Exchange Upgrades from Exchange 2003 > 2007 > 2010.

Backup Exec was unable to prepare Microsoft Active Directory resources for Granular Recovery Technology (GRT) operations (V-79-57344-38747)

Issue

Backup Exec Server 16 (V-Ray Edition), running on Windows Server 2008R2 logs following warning after backing up Windows Server 2016 Domain Controller:

V-79-57344-38747 - Backup Exec was unable to prepare Microsoft Active Directory resources for Granular Recovery Technology (GRT) operations. Therefore you will be unable to perform GRT-enabled restores of Microsoft Active Directory data from this backup.

Enable Anonymous Relay on Exchange 2016

  • Open Exchange Admin Center and Navigate to Mail Flow > Receive Connectors
  • Create a new Receive Connector with following settings:
    • Role: Fontend Transport
    • Type: Custom

Backup live data using PowerShell, DiskShadow, and RoboCopy

Robocopy is my go-to tool for quick file-level backups. Unfortunately it doesn't deal well with locked files (live databases, pst files, etc.). In those instances I deploy another great tool - DiskShadow that allows to tap into functionality of Volume Shadow Copy Service (VSS). 

This is the way it works:

  • diskshadow creates a shadow copy of a volume and then mounts it as a normal physical drive.
  • robocopy then does its job by copying data from that mounted virtual drive without having to worry about locked files.
  • Once copying is done dishshadow deletes the shadow copy and dismounts the drive.
  • PoweShell sends notification and logs to your email.

Let's start:

  • We'll need to create 4 files:
    • diskshadow_backup.conf - Main diskshadow backup file.
    • diskshadow_delete_x.conf - Used only to delete abandoned X: drive.
    • robocopy_backup.cmd - robocopy backup script.
    • run_backup.ps1 - PowerShell script to combine everything and then send logs via email. Executed manually or via scheduled task.

Newsletter

Subscribe to receive occasional updates on new posts.
Your email will not be used for any other purpose and you can unsubscribe at any time.
Please wait