Solved

Question about Exchange 2007 uninistall.

Posted on 2010-08-21
15
607 Views
Last Modified: 2012-05-10
I migrated from Exchange 2007 to Exchange 2010, now I am decommisioning the Exchange 2007 server. I was able to uninstall the Client Access a nd Hub Trasport role, but why when I try to unistall the Mailbox Role it keep alerting me to choos a trole to uninstall first, I think it may be because the public folder cannot be removed without asigning a new public folder databse. Any suggestions?
0
Comment
Question by:355LT1
[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
  • 8
  • 7
15 Comments
 
LVL 6

Expert Comment

by:craig_j_Lawrence
ID: 33493120
Can you please post the exact error message that you recieve when attempting to uninstall the mailbox role from your Exchange 2007 server
0
 

Author Comment

by:355LT1
ID: 33493127
Uninstall cannot continue. Database 'Public Folder Database': The public folder database is the default public folder database.

I was wondering sense I already removed the client access role from AD, can just manulay delete the Exchange server folders.?
0
 
LVL 6

Expert Comment

by:craig_j_Lawrence
ID: 33493165
I wouldnt manually remove any folders, as you make break the installation completely. Do you require you public folder database for client data? did you create a replica of your public folders to your exchange 2010 environment?

If the public folders are no longer required, you can remove the references to them from Active Directory, as described in this blog: http://telnetport25.wordpress.com/2007/08/21/quick-tip-removing-exchange-2007-error-with-public-folder-replicas/

BE VERY CAREFUL WHEN ATTEMPTING THIS PROCEDURE! If you delete the wrong information you will break your Exchange 2010 server aswell.

0
Does Powershell have you tied up in knots?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

 

Author Comment

by:355LT1
ID: 33493257
I already move the suers and the public folders to an Exchange 2010 enviorment. Will this procedure still work?
0
 
LVL 6

Expert Comment

by:craig_j_Lawrence
ID: 33493284
I am sorry, but I cannot decide whether this procedure will work in your environment. you need to assess whether the information that I have provided is suitable for your situation.

Can you please run the following command Copy Code Get-MailboxDatabase | ft Name,PublicFolderDatabase and post the results

0
 

Author Comment

by:355LT1
ID: 33493293
[PS] C:\Documents and Settings\Administrator.Domain>Get-MailboxDatabase | ft Na
me,PublicFolderDatabase

Name                                    PublicFolderDatabase
----                                    --------------------
Mailbox Database                        EX2007\Second Storage Group\Public...

Note: I already removed the 1st storage group with the management console, but that did'nt help.
0
 
LVL 6

Accepted Solution

by:
craig_j_Lawrence earned 500 total points
ID: 33493333
Ok, might be we just need to change the default public folder database to the replica on exchange 2010

take a look at this article: http://technet.microsoft.com/en-us/library/bb629522.aspx it describes how to change the default public folder database.

Can you also run the following command: get-publicfolderdatabase | fl, and post the results. I can then help you with the syntax to change the public folder database on your active mailbox on the exchange 2010 server
0
 

Author Comment

by:355LT1
ID: 33493368
[PS] C:\Documents and Settings\Administrator.HOUSTON> get-publicfolderdatabase |
 fl


Alias                          : PublicFolderDatabase
FirstInstance                  : True
MaxItemSize                    : unlimited
ItemRetentionPeriod            : unlimited
ReplicationPeriod              : 15
ProhibitPostQuota              : unlimited
PublicFolderHierarchy          : Public Folders
ReplicationMessageSize         : 300KB
ReplicationSchedule            : {Sun.12:00 AM-Sat.11:45 PM, Sat.11:45 PM-Sun.1
                                 2:00 AM}
UseCustomReferralServerList    : False
CustomReferralServerList       : {}
AdministrativeGroup            : Exchange Administrative Group (FYDIBOHF23SPDLT
                                 )
AllowFileRestore               : False
BackupInProgress               :
CopyEdbFilePath                :
DatabaseCreated                : True
Description                    :
EdbFilePath                    : D:\Program Files\Microsoft\Exchange Server\Mai
                                 lbox\Second Storage Group\Public Folder Databa
                                 se.edb
ExchangeLegacyDN               : /o=Domainname/ou=Exchange Administrative Group (
                                 FYDIBOHF23SPDLT)/cn=Configuration/cn=Servers/c
                                 n=EX2007/cn=Microsoft Public MDB
HasLocalCopy                   : False
DeletedItemRetention           : 14.00:00:00
SnapshotLastFullBackup         :
SnapshotLastIncrementalBackup  :
SnapshotLastDifferentialBackup :
SnapshotLastCopyBackup         :
LastFullBackup                 :
LastIncrementalBackup          :
LastDifferentialBackup         :
LastCopyBackup                 :
MaintenanceSchedule            : {Sun.1:00 AM-Sun.5:00 AM, Mon.1:00 AM-Mon.5:00
                                  AM, Tue.1:00 AM-Tue.5:00 AM, Wed.1:00 AM-Wed.
                                 5:00 AM, Thu.1:00 AM-Thu.5:00 AM, Fri.1:00 AM-
                                 Fri.5:00 AM, Sat.1:00 AM-Sat.5:00 AM}
MountAtStartup                 : True
Mounted                        :
Organization                   : Domainname
QuotaNotificationSchedule      : {Sun.1:00 AM-Sun.1:15 AM, Mon.1:00 AM-Mon.1:15
                                  AM, Tue.1:00 AM-Tue.1:15 AM, Wed.1:00 AM-Wed.
                                 1:15 AM, Thu.1:00 AM-Thu.1:15 AM, Fri.1:00 AM-
                                 Fri.1:15 AM, Sat.1:00 AM-Sat.1:15 AM}
RetainDeletedItemsUntilBackup  : False
Server                         : EX2007
ServerName                     : EX2007
StorageGroup                   : EX2007\Second Storage Group
StorageGroupName               : Second Storage Group
IssueWarningQuota              : unlimited
EventHistoryRetentionPeriod    : 7.00:00:00
Name                           : Public Folder Database
AdminDisplayName               : Public Folder Database
ExchangeVersion                : 0.1 (8.0.535.0)
DistinguishedName              : CN=Public Folder Database,CN=Second Storage Gr
                                 oup,CN=InformationStore,CN=EX2007,CN=Servers
                                 ,CN=Exchange Administrative Group (FYDIBOHF23S
                                 PDLT),CN=Administrative Groups,CN=Domainname,CN=
                                 Microsoft Exchange,CN=Services,CN=Configuratio
                                 n,DC=houston,DC=domainname,DC=net
Identity                       : EX2007\Second Storage Group\Public Folder Da
                                 tabase
Guid                           : debc750f-601b-4e7a-88f6-31e7d05a2b1a
ObjectCategory                 : houston.domainname.net/Configuration/Schema/ms-E
                                 xch-Public-MDB
ObjectClass                    : {top, msExchMDB, msExchPublicMDB}
WhenChanged                    : 3/15/2010 2:47:07 PM
WhenCreated                    : 6/21/2009 12:00:11 PM
OriginatingServer              : EX2007.houston.domainname.net
IsValid                        : True



[PS] C:\Documents and Settings\Administrator.HOUSTON>
0
 
LVL 6

Expert Comment

by:craig_j_Lawrence
ID: 33493375
can you run the same command on the exchange 2010 server - this output is only showing the public folder on exchange 2007
0
 

Author Comment

by:355LT1
ID: 33493489
[PS] C:\Windows\system32> get-publicfolderdatabase | fl


RunspaceId                      : 65d1a486-3e7c-4b89-b162-f70805fb1407
Alias                           : ex2010PublicFolders
FirstInstance                   : False
MaxItemSize                     : 10 MB (10,485,760 bytes)
ItemRetentionPeriod             : unlimited
ReplicationPeriod               : 15
ProhibitPostQuota               : 2 GB (2,147,483,648 bytes)
PublicFolderHierarchy           : Public Folders
ReplicationMessageSize          : 300 KB (307,200 bytes)
ReplicationSchedule             : {Sun.12:00 AM-Sat.11:45 PM, Sat.11:45 PM-Sun.12:00 AM}
UseCustomReferralServerList     : False
CustomReferralServerList        : {}
ReplicationType                 : None
AdministrativeGroup             : Exchange Administrative Group (FYDIBOHF23SPDLT)
AllowFileRestore                : False
BackgroundDatabaseMaintenance   : True
BackupInProgress                :
DatabaseCreated                 : True
Description                     :
EdbFilePath                     : C:\Program Files\Microsoft\Exchange Server\V14\Mailbox\SSNS Public Folders\SSNS Publi
                                  c Folders.edb
ExchangeLegacyDN                : /o=domainname/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Configuration/cn=Se
                                  rvers/cn=ex2010/cn=Microsoft Public MDB
DatabaseCopies                  : {ex2010 Public Folders\ex2010}
Servers                         : {ex2010}
ActivationPreference            : {[ex2010, 1]}
ReplayLagTimes                  : {[ex2010, 00:00:00]}
TruncationLagTimes              : {[ex2010, 00:00:00]}
RpcClientAccessServer           : ex2010.houston.domainname.net
MountedOnServer                 :
DeletedItemRetention            : 14.00:00:00
SnapshotLastFullBackup          :
SnapshotLastIncrementalBackup   :
SnapshotLastDifferentialBackup  :
SnapshotLastCopyBackup          :
LastFullBackup                  :
LastIncrementalBackup           :
LastDifferentialBackup          :
LastCopyBackup                  :
DatabaseSize                    :
AvailableNewMailboxSpace        :
MaintenanceSchedule             : {Sun.1:00 AM-Sun.5:00 AM, Mon.1:00 AM-Mon.5:00 AM, Tue.1:00 AM-Tue.5:00 AM, Wed.1:00
                                  AM-Wed.5:00 AM, Thu.1:00 AM-Thu.5:00 AM, Fri.1:00 AM-Fri.5:00 AM, Sat.1:00 AM-Sat.5:0
                                  0 AM}
MountAtStartup                  : True
Mounted                         :
Organization                    : Domainname
QuotaNotificationSchedule       : {Sun.1:00 AM-Sun.1:15 AM, Mon.1:00 AM-Mon.1:15 AM, Tue.1:00 AM-Tue.1:15 AM, Wed.1:00
                                  AM-Wed.1:15 AM, Thu.1:00 AM-Thu.1:15 AM, Fri.1:00 AM-Fri.1:15 AM, Sat.1:00 AM-Sat.1:1
                                  5 AM}
RetainDeletedItemsUntilBackup   : False
Server                          : ex2010
MasterServerOrAvailabilityGroup : ex2010
MasterType                      : Server
ServerName                      : ex2010
IssueWarningQuota               : 1.899 GB (2,039,480,320 bytes)
EventHistoryRetentionPeriod     : 7.00:00:00
Name                            : ex2010 Public Folders
LogFolderPath                   : C:\Program Files\Microsoft\Exchange Server\V14\Mailbox\ex2007 Public Folders
CircularLoggingEnabled          : False
LogFilePrefix                   : E01
LogFileSize                     : 1024
AdminDisplayName                : ex2010 Public Folders
ExchangeVersion                 : 0.10 (14.0.100.0)
DistinguishedName               : CN=ex2010\ Public Folders,CN=Databases,CN=Exchange Administrative Group (FYDIBOHF23SPD
                                  LT),CN=Administrative Groups,CN=domainname,CN=Microsoft Exchange,CN=Services,CN=Configu
                                  ration,DC=houston,DC=domainname,DC=net
Identity                        : ex2010 Public Folders
Guid                            : c91840c9-f21e-434a-8af3-582207031a8a
ObjectCategory                  : houston.domainname.net/Configuration/Schema/ms-Exch-Public-MDB
ObjectClass                     : {top, msExchMDB, msExchPublicMDB}
WhenChanged                     : 7/27/2010 7:52:33 PM
WhenCreated                     : 5/26/2010 1:24:28 PM
WhenChangedUTC                  : 7/28/2010 12:52:33 AM
WhenCreatedUTC                  : 5/26/2010 6:24:28 PM
OrganizationId                  :
OriginatingServer               : ex2010.houston.domainname.net
IsValid                         : True



[PS] C:\Windows\system32>

0
 
LVL 6

Expert Comment

by:craig_j_Lawrence
ID: 33494242
OK try switching the default public folder on your mailbox database with: get-mailboxdatabase | set-mailboxdatabase -publicfolderdatabase ex2010 Public Folders


you should hopefully be able to uninstall your exchange 2007 server install!
0
 

Author Comment

by:355LT1
ID: 33494933
Which server do use the PS command?
0
 

Author Comment

by:355LT1
ID: 33494964
[PS] C:\Documents and Settings\Administrator.HOUSTON>get-mailboxdatabase | set-m
ailboxdatabase -publicfolderdatabase ex2010 Public Folders
Set-MailboxDatabase : A parameter cannot be found that matches parameter name '
Folders'.
At line:1 char:42
+ get-mailboxdatabase | set-mailboxdatabase  <<<< -publicfolderdatabase ex2010
Public Folders
0
 

Author Comment

by:355LT1
ID: 33495231
I used the adsedit to delete the ex2007 2nd storage group then the uninstall worked.
0
 
LVL 6

Expert Comment

by:craig_j_Lawrence
ID: 33496957
Can you please allocate points
0

Featured Post

Creating Instructional Tutorials  

For Any Use & On Any Platform

Contextual Guidance at the moment of need helps your employees/users adopt software o& achieve even the most complex tasks instantly. Boost knowledge retention, software adoption & employee engagement with easy solution.

Question has a verified solution.

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

Marketers need statistics and metrics like everybody else needs oxygen. In this article we explain how to enable marketing campaign statistics for Microsoft Exchange mail.
Following basic email etiquette rules will help you write a professional email and achieve a good, lasting impression with your contacts.
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…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…

739 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