Solved

Rollback Massive Updates to Email Address in Active Directory / Exchange

Posted on 2012-04-10
3
439 Views
Last Modified: 2012-04-14
We recently were using a tool to import e-mail address into active directory and accidentally completely wiped out all of the e-mail addresses that were associated with our Exchange users.  Any user who had "Automatically update email addresses based on e-mail address policy" checked seem to be unaffected but anyone who did not have it checked suddenly have no e-mail addresses anymore.  

We do have backups of Exchange and AD and the "recycle bin" features of AD are enabled although I don't think they will help as the objects were not deleted.

How can we go back an restore all of the e-mail addresses associated with each user?
And no, we will not be using the AD import tool again. . .

Environment:
Server 2008 R2
Exchange 2010 SP2 (14.2.247.5)
Active Directory Recycle Bin is enabled
0
Comment
Question by:jasonrac
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 8

Accepted Solution

by:
X-treem earned 500 total points
ID: 37827741
you can restore the AD to a temp DC that is not on the network, script the retrieval of all SMTP addresses from users that are not updated automatically and then script in your production to addd them again
0
 

Author Comment

by:jasonrac
ID: 37828101
Thank you, that sounds like a great plan - can you offer any insight into how we can script the SMTP in and out?
0
 
LVL 8

Expert Comment

by:X-treem
ID: 37828127
use vbscript and ADSI, I don't have an example script at hand as I'm at work, but there are plenty examples on the internet
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

This article explains how to install and use the NTBackup utility that comes with Windows Server.
In-place Upgrading Dirsync to Azure AD Connect
In this Micro Video tutorial you will learn the basics about Database Availability Groups and How to configure one using a live Exchange Server Environment. The video tutorial explains the basics of the Exchange server Database Availability grou…
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …

697 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question