Solved

Exchange 2013 - reset virtual directories - ecp login failure

Posted on 2013-01-29
6
13,118 Views
Last Modified: 2013-06-12
For some reason I've changed authentication settings for some virtual directories directly in IIS (enabling / disabling "Basic Authentication", "Windows Authentication"...) I know, I've made mistake!
Now I'm unable to login to https://exchangeurl/ecp. Although I'm certain that I've entered accurate username/password, I'm constantly getting the same login page with message that entered credentials are not ok.
I suppose that it can be solved if I can reset all virtual directories in their original state. So my question is:
How can I reset virtual directories?
Is there any documentation on how to setup virtual directory authentication for all virtual directories?
Or one can suggest the other way for me to successfully login to url/ecp, and reset virtual directories from there.
Of course, keep in mind that I'm unable to login to url/ecp, so I must find a way to resolve this using other tools (powershell...)
Thanks!
0
Comment
Question by:fd4u
  • 2
  • 2
  • 2
6 Comments
 
LVL 8

Expert Comment

by:vSolutionsIT
ID: 38831197
0
 
LVL 8

Accepted Solution

by:
vSolutionsIT earned 500 total points
ID: 38831215
You can check the authentication settings by using get-ecpvirtualdirectory | fl command and then may change the authentication settings by using set-ecpvirtualdirectory command.

get-ecpvirtualdirectory :
http://technet.microsoft.com/en-us/library/dd351058.aspx

set-ecpvirtualdirectory
http://technet.microsoft.com/en-us/library/dd297991.aspx

you can remove and then recreate ecp virtual directory using below commands as well. but before that note down all the settings reported by get-ecpvirtualdirectory.

Remove-EcpVirtualDirectory
http://technet.microsoft.com/en-us/library/dd351147.aspx

New-ecpvirtualdirectory:
http://technet.microsoft.com/en-us/library/dd351218.aspx
0
 

Author Comment

by:fd4u
ID: 38831314
Thanks for the answers guys. I'll accept those, but just one more thing: if I delete / recreate ecp directory will I loose some other settings (mailboxes, etc.)?
Thanks
0
Want to promote your upcoming event?

Are you going to an event? Are you going to be exhibiting at a tradeshow? Talking at a conference? Using a promotional banner in your email signature ensures that your organization’s most important contacts stay in the know and can potentially spread the word about the event.

 

Author Closing Comment

by:fd4u
ID: 38831386
It was solution I've searched for. Thanks
0
 

Expert Comment

by:nitinawate
ID: 39240879
For similar issue it didn't help for me
0
 

Expert Comment

by:nitinawate
ID: 39240888
Initially I was facing issue earlier only with OWA on E2013(Single box), was failing with below error,
Something went wrong
A mailbox couldn't be found for NT AUTHORITY\SYSTEM. If the problem continuous contact your helpdesk.

So we reset OWA virtual directory using ECP console but didn't help so rebooted E2013 server and found both OWA & ECP stopped working.

But now if we try to browse OWA or ECP console, we get credential page and after putting credential, I get below error,
The user name or password you entered isn't correct. Try entering it again.

I can browse other virtual directories using same credential but not OWA/ECP

Outlook works fine.

Created new mailbox but same issue
0

Featured Post

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

Question has a verified solution.

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

Local Continuous Replication is a cost effective and quick way of backing up Exchange server data. The following article describes the steps required to configure Local Continuous Replication. Also, the article tells you how to restore from a backup…
This article explains in simple steps how to renew expiring Exchange Server Internal Transport Certificate.
To show how to create a transport rule in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Mail Flow >> Rules tab.:  To cr…
This video demonstrates how to sync Microsoft Exchange Public Folders with smartphones using CodeTwo Exchange Sync and Exchange ActiveSync. To learn more about CodeTwo Exchange Sync and download the free trial, go to: http://www.codetwo.com/excha…

910 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now