Home All Groups Group Topic Archive Search About

Exchange 2007 uninstall

Author
29 Oct 2007 10:23 AM
Eliah Maden
Hi ,
I have installed exchange 2007 on test environment.But now i couldn't remove
it.
I'm currently trying to uninstall it.  However when I come to uninstall the
MailBox service I get an error saying that the" Public Folder database
contains specified folder replicas.Before deleting  the public folder
database,remove the folders or move to replicas to another public folder"

i have try this but i couldn't remove public folder
article
http://technet.microsoft.com/en-us/library/5e1e9fbc-53d5-44e3-9b47-6873be84e6ee.aspx


My test environment  there is one exchnge 2007 server there isn't any  other
exchange 2003 or exchange 2007..
Has anyone got any ideas as to how I can remove these public folders so that
I can uninstall E2K7 from my active directory.

thanks

Author
29 Oct 2007 11:14 AM
Mark Arnold [MVP]
On Mon, 29 Oct 2007 03:23:01 -0700, Eliah Maden <Eliah
Ma***@discussions.microsoft.com> wrote:

Show quote
>Hi ,
>I have installed exchange 2007 on test environment.But now i couldn't remove
>it.
>I'm currently trying to uninstall it.  However when I come to uninstall the
>MailBox service I get an error saying that the" Public Folder database
>contains specified folder replicas.Before deleting  the public folder
>database,remove the folders or move to replicas to another public folder"
>
>i have try this but i couldn't remove public folder
>article
>http://technet.microsoft.com/en-us/library/5e1e9fbc-53d5-44e3-9b47-6873be84e6ee.aspx
>
>
>My test environment  there is one exchnge 2007 server there isn't any  other
>exchange 2003 or exchange 2007..
>Has anyone got any ideas as to how I can remove these public folders so that
>I can uninstall E2K7 from my active directory.
>
>thanks
>
Since it's a test environment i'd just destroy it and start again.
You've found one of those things that you have to be very very careful
with. There was a response to a post on the 22nd in the .admin group.
The text is pasted below:

Yeah, I saw a message from one person the other day in extreme
frustration at the apparent impossibility of removing a 2007 server
than didn't acutally have any replicas on it.

The quoted answer (and one that the guy got to work was this) It's not
my work but came from Ilse Van Criekinge so the credit is due
elsewhere.

<quote>

I have had the same problem and now I remove the last public folder
database like this: first remove the public folder tree (including
subfolders), and then the Non_Ipm-Subtree (including subfolders), and
then the public folder database file. No error messages here :-)

[PS] C:\>Get-PublicFolder -Server EX2007 "\" -Recurse
-ResultSize:Unlimited | Remove-PublicFolder -Server EX2007 -Recurse
-ErrorAction:SilentlyContinue -Confirm:$False

[PS] C:\> Get-PublicFolder -Server EX2007 "Non_Ipm_Subtree" -Recurse
-ResultSize:Unlimited | Remove-PublicFolder -Server EX2007 -Recurse
-ErrorAction:SilentlyContinue -Confirm:$False

[PS] C:\>Get-PublicFolderDatabase -Server ex2007 |
Remove-PublicFolderDatabase -RemoveLastAllowed

Confirm
Are you sure you want to perform this action?
Removing Public Folder Database "EX2007\Second Storage Group\Public
Folder Database".
[Y] Yes [A] Yes to All [N] No [L] No to All [S] Suspend [?] Help
(default is "Y"):Y
WARNING: The specified database has been removed. You must remove the
database file located in C:\Program Files\Microsoft\Exchange
Server\Mailbox\Second Storage Group\Public Folder Database.edb from
your computer manually if it exists. Specified database: Public Folder
Database [PS] C:\>
Author
30 Oct 2007 9:19 AM
Eliah Maden
Thanx Mark but is doesn't work this  command
I have to remove exchange 2007 from  active directory cleary because my test
environmet very big there are 100 people


Remove-PublicFolderDatabase -RemoveLastAllowed

cmdlet Remove-PublicFolderDatabase at command pipeline position 1
Supply values for the following parameters:
Identity: 1
Remove-PublicFolderDatabase : The operation could not be performed because
obje
ct '1' could not be found on domain controller 'servername.domain.local'.
At line:1 char:28
+ Remove-PublicFolderDatabase  <<<< -RemoveLastAllowed


Show quote
"Eliah Maden" wrote:

> Hi ,
> I have installed exchange 2007 on test environment.But now i couldn't remove
> it.
> I'm currently trying to uninstall it.  However when I come to uninstall the
> MailBox service I get an error saying that the" Public Folder database
> contains specified folder replicas.Before deleting  the public folder
> database,remove the folders or move to replicas to another public folder"
>
> i have try this but i couldn't remove public folder
> article
> http://technet.microsoft.com/en-us/library/5e1e9fbc-53d5-44e3-9b47-6873be84e6ee.aspx
>
>
> My test environment  there is one exchnge 2007 server there isn't any  other
> exchange 2003 or exchange 2007..
> Has anyone got any ideas as to how I can remove these public folders so that
> I can uninstall E2K7 from my active directory.
>
> thanks
>
>
Author
30 Oct 2007 9:32 AM
Mark Arnold [MVP]
On Tue, 30 Oct 2007 02:19:00 -0700, Eliah Maden
<EliahMa***@discussions.microsoft.com> wrote:

Show quote
>Thanx Mark but is doesn't work this  command
>I have to remove exchange 2007 from  active directory cleary because my test
>environmet very big there are 100 people
>
>
>Remove-PublicFolderDatabase -RemoveLastAllowed
>
>cmdlet Remove-PublicFolderDatabase at command pipeline position 1
>Supply values for the following parameters:
>Identity: 1
>Remove-PublicFolderDatabase : The operation could not be performed because
>obje
>ct '1' could not be found on domain controller 'servername.domain.local'.
>At line:1 char:28
>+ Remove-PublicFolderDatabase  <<<< -RemoveLastAllowed
>
>
>"Eliah Maden" wrote:
>
It says that it can't find the object on the DC. I can't help you much
because I have advised customers not to go near PFs on 2007 at the
moment which is why I posted the reference with the credit to the
person who did the work. However, the obvious thing is to double check
your syntax.

AddThis Social Bookmark Button