1) install ADK for WIndows 8.1

Download ADK from : http://www.microsoft.com/en-US/download/details.aspx?id=39982

2) Install MDT 2013

Download MDT from: https://www.microsoft.com/en-us/download/details.aspx?id=40796

3) Create a Deployment Share

1

Enter the place for the Deployment Share

Click Next

2

Enter the Deployment Share name

Click Next

3

Enter the Deployment Share discription

Click Next

4

Click Next

5

Click Next

6

Click Finish

4) Setup Deployment Share

Follow this step by step

4a) Create OS

OS1

Create a folder for the OS in MDT

Click Next

OS2

Click Next

OS3

Click Finish

Mount OS ISO

OS4

Import OS

Click Next

OS5

Enter the drive letter that the OS ISO is mounted on

Click Next

OS6

Change name

Click Next

OS7

Click Next

OS8

Click Finish

4b) Create Task Sequence for Server Template

TS1

Create a Task Sequence Folder

Click Next

TS2

Click Next

TS3

Click Finish

Create Server template Task Sequence

TS4

Give a unik Task Sequence ID

Give a Task Sequence Name

Click Next

TS5

Choose “Standard Server Task Sequence”

Click Next

TS6

Choose Operating System

Click Next

TS7

Click Next

TS8

Enter Organization

Click Next

TS9

Enter a Admin Password or choose “Do not specify an Administrator password at this time”

Click Next

TS10

Click Next

TS10

Click Next

TS11

Click Finish

Edit Server template Task Sequence

TS12

Enable Windows update by removing the “DIsable this Step”

TS13

Add “Install Roles and Features” For the server OS

TS14

Create a folder for Cleanup Image – for cleaning up the image for installed patches.

Create 3 steps:

  • Restart Computer
  • Run Command Line : DISM.exe /online /Cleanup-Image /StartComponentCleanup /ResetBase
  • Restart Computer

5) Create a MDT “Media Share”

Create a folder on your disk fx. “D:\ServerTemplate_ISO”

Media1

Enter the path for your Media Folder

Click Next

Media2

Click Next

Media3

Click Finish

Enter properties for the Media Share

Media4

Change the content of Rules to:

Media5

[Settings]
Priority=Default

[Default]
_SMSTSORGNAME=osddeployment.dk
OSInstall=Y
SkipAppsOnUpgrade=YES
SkipAdminPassword=YES
SkipProductKey=YES
SkipComputerName=YES
SkipDomainMembership=YES
SkipUserData=YES
UserDataLocation=AUTO
SkipLocaleSelection=YES
SkipTaskSequence=NO
DeploymentType=NEWCOMPUTER
SkipTimeZone=YES
SkipApplications=YES
SkipBitLocker=YES
SkipSummary=YES
SkipBDDWelcome=YES
SkipCapture=YES
ApplyGPOPack=NO
SkipRoles=NO
FinishAction=SHUTDOWN

SkipFinalSummary=NO
UILanguage=0409:00000409
InputLocale=0409:00000409
SystemLocale=0409:00000409
UserLocale=0409:00000409
KeyboardLocale=0406:00000406
DoNotCreateExtraPartition = YES

TimeZone=105
TimeZoneName=Romance Standard Time

JoinWorkgroup=WORKGROUP

And Change the Bootstrap.ini

Media6

SkipBDDWelcome=YES

Update the Media Content

Media7

Media8

Click Finish

ISO

Now your are ready to boot on the ISO you just created for creating a server template !

Create a VM – Start the VM

BootVM

Select the Server Template Task Sequence

Click Next

Roles

Select Windows Roles and Features if you need it in your template

Click Next

VM01

The automated process for building a Server Template is now started and when the VM shuts down the template is ready!!!