< -- BuySellAds Ad Code ALLEN -->

Exchange 2010 ECP error 400

IT Problem

When you try to access the ECP in exchange 2010, in your web browser you see ERROR 400 BAD REQUEST. See the image below. Ive seen this on new installs of exchange 2010.

error 400 bad request - Exchange 201 ECP

error 400 bad request - Exchange 201 ECP

IT Solution

This is down to the security on the OWA virtual directory and the ECP not matching, the quickes way to fix this is to regenerate both virtual directories. Use the commands below to do so.

Open the exchange managment shell and enter the below.

Remove-OwaVirtualDirectory -Identity "owa (default Web site)"


Remove-ECPVirtualDirectory -Identity "ecp (default Web site)"






Reset IIS.

This will have recreated both OWA and ECP virtual directories, you will be able to login to the ECP now.

If you want to learn more about powershell consider this book.


Tags: ECP, OWA

Allen White

Allen is an IT Consultant and holds the following accreditations. MCSA, MCSE, MCTS, MCITP, CCA, CCSP, VCP 4,5, 6 and HP ASE, AIS - Network Infrastructure.

Comments (1)

  • Avatar



    Also possible that you disabled the forms based authentication on the owa directory and didn’t disable it on the ecp directory…


Leave a comment



What Web Browser Do You Use?

View Results

Loading ... Loading ...


What do you prefer..VMware or Hyper-V?

View Results

Loading ... Loading ...