Windows Server 2012: errore durante l’installazione del .NET Framework 3.5

Tra le funzionalità di Windows Server 2012 vi è la possibilità di installare il .NET Framework 3.5, ma va precisato che tale funzionalità non viene integrata nel sistema durante l’installazione (al contrario ad esempio del .NET Framework 4.5).

Infatti se tentiamo l’installazione  e il computer non ha una connessione a Internet questa fallirà e nei registri relativi al Setup verrà registrato l’evento d’informazione:

Log Name:      Setup
Event ID:      11
Task Category: (1)
Level:         Information
Description:
Update NetFx3 of package Microsoft .NET Framework 3.0 failed to be turned on. Status: 0x800f0906.

In sostanza con Windows 8 e Windows 2012 è stato introdotto il concetto di Features on Demand per risparmiare spazio su disco, in sostanza alcune features tra cui il .NET Framework 3.5 richiedono di essere scaricate da Internet o di avere il media d’installazione per essere installate.

Dal seguente Configure Features on Demand in Windows Server:

Features on Demand is a new feature in Windows® 8 and Windows Server 2012 that allows you to remove role and feature files (sometimes called feature payload) from the operating system to conserve disk space, and install roles and features from remote locations or installation media instead of from local computers. You can remove feature files from running physical or virtual computers. You can also add feature files to or remove feature files from Windows image (WIM) files or offline virtual hard disks (VHDs) to create a reproducible copy of Windows 8 and Windows Server 2012 Features on Demand configurations.

In a Features on Demand configuration, when feature files are not available on a computer, if an installation requires those feature files, Windows Server 2012 can be directed to get the files from a side-by-side feature store (a shared folder that contains feature files, and is available to the computer on the network), from Windows Update, or from installation media. By default, when feature files are not available on the target server, Features on Demand searches for missing feature files by performing the following tasks, in the order shown.

  1. Searching in a location that has been specified by users of the Add Roles and Features Wizard or DISM installation commands
  2. Evaluating the configuration of the Group Policy setting, Computer Configuration\Administrative Templates\System\Specify settings for optional component installation and component repair
  3. Searching Windows Update

In ogni caso come detto è possibile specificare una sorgente per i file d’installazione (come indicato nel tooltip giallo) selezionando la voce Specify an alternate source path.

image

Se si desidera utilizzare il media d’installazione è possibile specificare il path <DVD drive>:\sources\sxs

image

Per ulteriori informazioni si vedano: