Workaround for provisioning the Windows 2012 R2

The following changes are required in System Package Type and System Package to provision a Windows 2012 R2 X64 OS.

System Package Type (SPT)

There is no specific System Package Type (SPT) for Windows 2012 R2 X64 OS provisioning , so use the customized Windows 2012 X64 SPT.

For example, name of the existing OOB Windows 2012 X64 SPT should be specified as:

  • Windows Server 2012 DataCenter x64
  • Windows Server 2012 Standard x64

System Package (SP)

Create the System Package using the above SPT. To provision the Windows 2012 R2 OS following workaround is required:

OS Component Tab:

  1. Open the system package and select OS components.
  2. Select the OS options.
  3. Server Roles/Features that are listed, do not support provisioning of the Windows 2012 R2 OS.
  4. Check the Use Script to install Roles/ Features field and provide the OS component command as below:
    DISM.exe /Online /Enable-Feature /FeatureName:IIS-WebServer /FeatureName:IIS-WebServerRole

Info

Visit the following link to add more components and identify the component lists.

http://www.iis.net/learn/install/installing-iis-85/installing-iis-85-on-windows-server-2012-r2

Unattended Entries Tab

  1. Open the System Package and select Unattend Entries tab.
  2. If you select the Customize the Unattend Entries File option, add/replace the XML value with R2 based on the type of OS as listed below:

    Actual OS Type
    Added R2 string OS Type
    Windows Server 2012 StandardWindows Server 2012 R2 Standard
    Windows Server 2012 StandardCoreWindows Server 2012 R2 StandardCore
    Windows Server 2012 DatacenterWindows Server 2012 R2 Datacenter
    Windows Server 2012 DatacenterCoreWindows Server 2012 R2 DatacenterCore


    Following table lists the example of the XML tag

    Actual XML tag
    Added/Replaced XML tag
    <Value>Windows Server 2012 SERVERDATACENTER</Value><Value>Windows Server 2012 R2 SERVERDATACENTER</Value>
    <cpi:offlineImagexmlns:cpi="urn:schemas-microsoft-com:cpi" cpi:source="wim:K:\Windows\Win2012_R2\sources\install.wim#Windows Server 2012 SERVERDATACENTER"/><cpi:offlineImagexmlns:cpi="urn:schemas-microsoft-com:cpi" cpi:source="wim:K:\Windows\Win2012_R2\sources\install.wim#Windows Server 2012 R2 SERVERDATACENTER"/>
  3. If you select Additional Unattend Entries then replace the above XML value by selecting corresponding XML tags as shown below:

    XML Tag Location 1:


    XML Tag Location 2:

Note

For provisioning Windows 2012 R2 ensure you are using WinPE 3.x.

Was this page helpful? Yes No Submitting... Thank you

Comments