• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 325
  • Last Modified:

remove exchange server 2007 database

hello,

had a test exchange 2007 server installed in one of the test servers as m1, later we formated that and installed another exchange 2007 as exmail. now the problem is how to remove database and informations about this m1 from the active directory and exchange settings. every where m1 as a server or straoge is showing up. how to remove m1 information from the systems

thanks
0
kewlkewl1
Asked:
kewlkewl1
4 Solutions
 
endital1097Commented:
you need to run get-mailbox -database server\sgname\dbname
this will tell you any mailboxes you need to move from the database

you can then run
remove-mailboxdatabase server\sgname\dbname

0
 
latchwaysCommented:
To achieve this you're going to have to get busy with ADSIEDIT or LDP to search and remove all instances of your M1 machine.

ADSIEDIT or LDP are included with 2000/2003 support tools and 2008+R2 as standard

Hope this points you to a solution.

Cheers.

Alex.
0
 
WhiteratCommented:
Also be sure to check the 2 system mailbox accounts and the federatedemail mailbox are located on the correct server as this will cause issues later on!
0
 
sunnyc7Commented:
You should try Endital's step first.
if that doesnt work you can remove it using adsiedit.

--
Before using ADSIEDIT - please take a full system state backup of your domain controller.
--
Using AdsiEdit.

start > run > 
type
adsiedit.msc

Go to
Configuration
- CN=configuration
- CN=Services
- CN=Microsoft Exchange
- CN=DOMAIN_NAME
- CN=Administrative Groups
- CN=SERVERS

DELETE m1 > CN=SERVER_NAME

--
After deleting m1 - verify if there are any other traces of m1

Download Adfind
http://www.joeware.net/freetools/tools/adfind/index.htm
extract to c:\adfind
start > run > cmd
cd c:\adfind

adfind -sc c:m1 > c:\m1.txt

Check the TXT file to see if there are any other traces of m1 - you can upload the file here for further analysis.

thanks
0
 
kewlkewl1Author Commented:
help to get better understanding
0

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now