I needed to recover an Exchange 2007 mailbox using DPM 2012 recently and thought I would share with you the steps I took.
Although there have been many – very good – advances made in System Center Data Protection Manager 2012, the Exchange Item Level Recovery is still in need of some work. Continue Reading
We have a rather complex setup for sharing out user documents on our domain, this has thrown up a problem whereby the users Home Folder shows as “Documents” instead of folder name.
We have a heady mix of;
Mandatory User Profiles
Drive Mapped to User Home Directory
Folder Redirection for Documents
In Active Directory Users and Computers (ADUC) we have the profile path pointing to a mandatory profile on;
Best Practice Analyzer on one of our Domain Controllers was reporting; “All OUs in this domain should be protected from accidental deletion.”
Using Active Directory Administrative Center right click and OU and select properties, on the Object Tab is a checkbox “Protect from accidental deletion”
Protect From Accidental Deletion
You could also use Active Directory Users and Computers you can right click and OU and select properties, on the Object Tab is a checkbox “Protect object from accidental deletion”
However if like me your AD is complex with lots of OU’s you may want to do this a little bit quicker.
Enter Powershell!
Using “Active Directory Module for Windows PowerShell”
First check which OUs aren’t protected:
Get-ADOrganizationalUnit -filter * -Properties ProtectedFromAccidentalDeletion | where {$_.ProtectedFromAccidentalDeletion -eq $false} | ft
Then to protect them: Get-ADOrganizationalUnit -filter * -Properties ProtectedFromAccidentalDeletion | where {$_.ProtectedFromAccidentalDeletion -eq $false} | Set-ADOrganizationalUnit -ProtectedFromAccidentalDeletion $true
Then rerun the first command to verify the change has been made, you should get no results.
You could then double check using Active Directory Administrative Center or ADUC.