Rebuilding SBS 2011 from Scratch , Malware outbreak

Posted on 2013-09-18
Medium Priority
Last Modified: 2013-11-21

I'm rebuilding an SBS 2011 server from scratch due to an Expiro/Xpiro outbreak. i'm being safe, rather than sorry because I think it's *possible* that the SBS 2011 has been infected, as it's reared its ugly head again.

So, I'm rebuilding SBS 2011 from scratch. I would normally employ Jeff Middleton's swing migration to xfer all of the ADUC stuff, but I'm scared the malware would transfer with it.

So, my question is, can I mount the Exchange 2010 DB from the old server, onto the freshly installed SBS 2011 server, and
Question by:Tom-J-Lael
  • 2
  • 2

Expert Comment

ID: 39505719
In order this to work you need the same domain name and organization name.
Also the exchange server should the same version i.e if its SP2 RU6 then you need to patch to new one as well.
When you mount the new database, the mailboxes will be in a disconnected state. You will have to either connect them to existing non-mail enabled users or use the restore mailbox procedure (New-MailboxRestoreRequest ).

Ok now how to do it :
1) When your users don't have a mailbox yet on the new server
-on the new server >Set-MailboxDatabase <Database Name> -AllowFileRestore:$true
-dismount the new database and delete all logs, leave only the edb file > rename it to edb.something
-copy the old edb over there and rename it to match the new database
-mount the database
- run Get-MailboxDatabase |Clean-MailboxDatabase
Now connect the users to the mailboxes using Connect-Mailbox

2)When users already have a mailbox on the new server. You need to merge the content from the old database
-create a new database with the same name as the old one
- run Set-MailboxDatabase <Database Name> -AllowFileRestore:$true
-dismount the new database and delete all logs, leave only the edb file > rename it to edb.something
-copy the old edb over there
-mount the database
- run Get-MailboxDatabase |Clean-MailboxDatabase
Follow the article as above to merge the contents like this :
New-MailboxRestoreRequst -SourceDatabase "OldDatabase" -SourceStoreMailbox "Tony Smith" -TargetMailbox tony@contoso.com -AllowLegacyDNMismatch

Accepted Solution

Tom-J-Lael earned 0 total points
ID: 39506282
Thanks , I'm a few days out from trying it. What's your opinion about xferinf active directory over A La Jeff middleton's swing migration instead?

Expert Comment

ID: 39507184
I'm not familiar with Jeff Middleton's  tool / process. It might be a good idea, but I would go that way only after a research on how the migration is done in details. At the end of the day if I have to seize FSMO roles, clean metadatabase and hunt for records of the old server, it doesn't make sense to me. Swing migrations in general are more messy than useful.
My opinion only.
LVL 12

Expert Comment

ID: 39507720
another opton would be to use the veeam backup and recovery tool [installed on a pc for recovery sake, and use the exchnage recovery tool and use the exchnage 2010 edb file, and export the mailboxes.


Author Closing Comment

ID: 39665339
I ended up forgoing rebuilding domain all together

Featured Post

Has Powershell sent you back into the Stone Age?

If managing Active Directory using Windows Powershell® is making you feel like you stepped back in time, you are not alone.  For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

The Exchange database may sometimes fail to mount owing to various technical reasons. A dismounted EDB file can be the source of many Exchange errors including mailbox inaccessibility for users. Resolving the root cause of mounting problems becomes …
If there is anything erroneous with Exchange Database, it causes a significant effect on email communication till the user remounts the database. Further, database crash directly affects Outlook users due to which they are unable to access their ema…
This video shows how to quickly and easily deploy an email signature for all users in Office 365 and prevent it from being added to replies and forwards. (the resulting signature is applied on the server level in Exchange Online) The email signat…
To export Lotus Notes to Outlook PST or Exchange and Domino Server files to Exchange Server or PST files with ease, go for Kernel for Lotus Notes to Outlook conversion tool. Through the video, you can watch the conversion process. A common user with…
Suggested Courses

624 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