removing mirroring from sql server 2008 R2

we have installed the mirroring structure on two SQL server 2008 R2 Enterprise edition and also witness server running on express edition so now we dont need the mirroring structure any more then we would like to remove mirror and witness server from this structure can I remove the mirror and witness server? is it enough to do it by clicking Remove Mirroring from Mirroring properties of Principal server? are there any works to do?
this is important product server so do I need to take any downtime from customer during removing mirror and witness server?

2.when coming to second work, customer wants the edition of sql server to be downgraded from enterprise Edition to Standart Edition after removing mirroring from Principal server?
how can I downgrade from Enterpise edition to standart edition on Principal server?
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Carl TawnSystems and Integration DeveloperCommented:
1. First disable the mirror by running the following command on the principal:

Open in new window

Then disable mirroring by running the following command on either the principal or the mirror:

Open in new window

2. As far as I am aware you cannot downgrade to Standard without re-installing. But if they've already paid for a enterprise licence why bother.
TRocexAuthor Commented:
do we have to take a downtime to remove the mirroring?
if we remove the mirroring as you said,any may any database interreption be? because database in online

for downgrade,how can we do it step by step?
Carl TawnSystems and Integration DeveloperCommented:
No, removing the mirror won't require downtime. All you are essentially doing is disabling and removing the endpoint, which can be done without interruption.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft SQL Server 2008

From novice to tech pro — start learning today.