SharePoint repair WFE IIS Site Missing Virtual Directories


When you have multiserver environment, your web application provisioning can go wrong due to many reasons (app pool timeout etc.) and as a result you can get one WFE works while the other does not.

In my case, some of OOTB virtual directories like _login and _windows were missing on one of my WFE. I don't want to recreate my web application from scratch - and luckily SharePoint provides Provision() and ProvisionGlobally() method.

We ran Provision() on the failed WFE and it fixed all our IIS sites (default and internet zone) in one go.

To do this just open powershell on the WFE:

You can remove the IIS site completely in WFE IIS manager and Provision() will recreate the IIS site for you.

Hope this helps,



If you have facing any problem of corrupt SharePoint database, then you can effectively repair and recover your all files from SharePoint database successfully. Go to :-


sharepoint is a web based collaborative is basically an intranet and content management can get more information at sharepoint online training.Read More At sharepoint online training hyderabad


Post a Comment