SharePoint 2013 Installation – IISExt.vbs

The pre-requisites installation in one of my recent SharePoint 2013 farm installations was failing at the step where it configures the Application Server and Web Server role for the Server:

Further, the error logs had the following entry:
– Request for install time of Application Server Role, Web Server (IIS) Role
– Install process returned (0)
– [In HRESULT format] (0)
– “C:\Windows\system32\cscript.exe” “C:\Windows\system32\iisext.vbs” /enext “ASP.NET v4.0.30319”

– Request for install time of Application Server Role, Web Server (IIS) Role – Install process returned (1)
– [In HRESULT format] (-2147024895)
– Error when enabling ASP.NET v4.0.30319 – Last return code (1)

Since I did not find much community guidance around this, I thought I’ll do some research myself and post the solution for other’s benefit as well.

A little bit of digging around revealed that the IISExt.vbs script file was indeed missing from the C:\Windows\System32 folder. Further research revealed that the script is part of the IIS 6.0 scripting tools. The solution therefore is as simple as enabling the IIS 6.0 Scripting Tools through the Server Roles and Features Wizard. The path to the IIS 6.0 Scripting Tools is shown in the following screen capture:

That’s it. Your pre-requisites installation should proceed as intended after you install these tools… Good Luck with your install!

This entry was posted in SharePoint, SharePoint 2013 and tagged , . Bookmark the permalink.

25 Responses to SharePoint 2013 Installation – IISExt.vbs

  1. Thanks for sharing. Have you done Ph.D in SharePoint?

  2. Is this an isolated case or is it a norm to enable scripting tool every time to proceed with the installation?

  3. Thanks, that is exactly what I needed 🙂

  4. Cedric says:

    You sir are my hero for the upcoming half hour 😀 I have been stuck on this point for weeks!

  5. Michael says:

    Nice post .. saved my day !

  6. Avinash says:

    Hi Gaurav,

    I am newbie to SharePoint 2013. I am struggling to install SharePoint 2013 in Windows 2008 R2 version. I have installed the SharePoint 2013 in Windows 2008 R2 but failed to configure the app. Can you please guide me how to create a domain and lookup zone to host SharePoint 2013 app.
    I will appreciate any help on this.

    Thanks in advance,


  7. It helps but not enough…when the IIS config runs (now that the vbs is there), it generates a fatal error that “Extension does not exist in the restriction list”….

    • Hello David,
      Sorry you are facing the issue. Each environment is different and while the steps above help overcome this particular issue, you may end up encountering a totally different one. You may want to check the installation logs for the exact error you are facing. Please do let me know if I can be of any help

    • Hi David and Gaurav

      I was having the same problem. After I Installed the component got the same error.

      I open the log file got the command and tried to execute on a command line and got this error saying that the “Extension does not exist ..”

      To resolve the problem: Open IIS, Select your server. On the right screen look for ISAPI and CGI Restrictions and double click it.

      I found that the real name was “ASP.NET v4.0.30319 (32-bit)″. I renamed it to “ASP.NET v4.0.30319″ and it worked.

      After that I found this link that used the same solution:

      Hope that helps,


  8. Pingback: SharePoint Server 2013 Installation & Planning Guide | CEIAmerica

  9. Gaurav, thank you for sharing this page. Three years later it is still valid.

  10. raman says:

    I installed SP2013 VM successfully. But when i run the SQL server , It was not start, When i try to start the SQL server services , its showing the Error , in Event viewer , The SQL version is expire.

Leave a Reply to Gaurav Mahajan Cancel reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s