SharePoint 2013 Prerequisite install failed in Windows Server 2012 – Script error at “C:\Windows\system32\cscript.exe” “C:\Windows\system32\iisext.vbs” /enext “ASP.NET v4.0.30319

Couple of months back while provisioning a SharePoint 2013 farm at a client, I ended up hitting an error during the SharePoint Prerequisite install… wtf!!!

After some further investigation on the script’s error log, I manage to trace the root cause of the error and noticed that it occurred when enabling ASP.net v4.0.30319 during the “Web Server and IIS Role installation…”

The script failed at …“Failed at “C:\Windows\system32\cscript.exe” “C:\Windows\system32\iisext.vbs” /enext “ASP.NET v4.0.30319”

The reason is iisext.vbs (IIS Web Service Extension script) was missing in folder ‘C: \Windows\system32’

In order to get this working, add/enable “IIS 6 Scripting Tools” role service as part of the Web Server role installation via Server Manager -> Add Roles. (See the screenshot below)

IIS 6 Scripting Tool

Once the role installation is completed, SharePoint prerequisite install can commence.

Advertisements

One comment on “SharePoint 2013 Prerequisite install failed in Windows Server 2012 – Script error at “C:\Windows\system32\cscript.exe” “C:\Windows\system32\iisext.vbs” /enext “ASP.NET v4.0.30319

  1. Dez says:

    Thanks so much for this article!!!! Have been struggling for past 4 days thinking the servermanager.exe rename was my fix but your article was it 100%!

Leave a Reply

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

WordPress.com Logo

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

Google photo

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

Twitter picture

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

Facebook photo

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

Connecting to %s