30 August 2012

Install Windows Features Without access to Windows Updates

I found myself in need of adding Windows Features but without access to Windows Updates. You can do it from the DVD or ISO by following the instructions in the links below. Basically put the DVD in the drive or mount the ISO and at an admin command prompt enter:

dism.exe /online /enable-feature /all /featurename:NetFX3 /Source:D:\sources\sxs /limitaccess
where D:\ is the DVD drive letter

Source: Anyone traced the .NET 3.5.1 download (x64)?
DISM: http://technet.microsoft.com/en-us/magazine/dd490958.aspx

If you don't use /enable-feature /all you might get:

The operation is complete but NetFx3 feature was not enabled.
A required parent feature may not be enabled. You can use the /enable-feature /a
ll option to automatically enable each parent feature from the following list. I
f the parent feature(s) are already enabled, refer to the log file for further d
iagnostics.
NetFx3ServerFeatures

1 comment:

  1. Thanks. I was stuck trying to install SQL Server 2012 and kept running into the NetFx3 issue.

    ReplyDelete