You are on page 1of 53

This

text is provided to you “as‐is” without any warranty. No warranties of any kind, expressed or implied, are made to you as to
the text or any medium it may be on, including but not limited to warranties of merchantability or fitness for a particular purpose.

T ABLE OF CONTENTS
Chapter 1 Installing ADK and MDT 1
Chapter 2 Deploy windows 7 using MDT 9
Chapter 3 Capturing Windows 7 image using MDT 24 Chapter 4
Deploy custom windows 7 image using MDT 35
Chapter 5 Creating custom partition with MDT Step By Step Guide 52
Chapter 6 Refresh Operating System using MDT 68
Chapter 7 Automate MDT Deployment Wizard 75
INSTALLING WINDOWS ASSESSMENT ANDChapter ‐
1
DEPLOYMENT KIT (WINDOWS ADK) AND MICROSOFT
DEPLOYMENT TOOLKIT 2013 (MDT 2013) ON SERVER
2012 R2
INSTALL WINDOWS ADK
Microsoft
Deployment Toolkit 2013 (MDT 2013) and Windows Assessment and Deployment Kit
(Windows ADK) for windows 8.1 was released by Microsoft. MDT 2013 have lots of options tha
previous versions. During this chapter we are going to discuss on how to install and configure MD
2013, MDT 2013 offer support for windows assessment and deployment kit (Windows ADK).
Deployment of windows 7, windows 8, windows 8.1, Zero‐
touch integration (ZTI) with System Center
2012 R2 Configuration Manager, First we are going to install ADK then we install MDT 2013
Download ADK 8.1 and run adksetup choose installation path

Click Next
1 | Page
Accept license agreement click next


You can choose feature which you want to install or select all then click on install


ADK feature are installing wait till it finish
When installation complete click on close


Windows Assessment and Deployment Kit (Windows ADK) for Windows installation complete n
are going to install Microsoft Deployment Toolkit 2013 (MDT 2013)
INSTALL MDT 2013 ON SERVER 2012 R2
Run MDT 2013 setup click next


Accept license agreement click next
Click next


Click next here


Then click on install for Installing Microsoft Deployment Toolkit 2013 (MDT 2013) on Server 20

When installation finish click finish


After
MDT installation we have to configure it for deployments the first step in configuration is to
create deployment share. Open Deployment Workbench right click on deployment share click new
deployment share to create deployment share


Select deployment share path click next


Click next


Specify name for deployment share or leave it default click next

Click next
See summary click next


When installation complete click on finish


Now
MDT 2013 is configured you will be able to add drivers, packages and operating systems
In this chapter we had installed MDT 2013 and configure it in next chapter we will discuss on how
deploy windows using MDT 2013.










DEPLOY WINDOWS 7 USING MDT 2013
2
As
we had already discuss on how to install MDT 2013 In this chapter we are going to discuss on ho
deploy windows 7 using MDT(Microsoft Deployment Toolkit) 2013. MDT 2013 is a great tool to
operating systems using network or media you can deploy operating system as well as software’s
Microsoft deployment toolkit
Open
MDT 2013 Deployment workbench first we are going to import lan driver so that we can deploy
windows 7 via network for importing lan driver in MDT go to out of box drivers right click on it
import driver to import driver

Select path where you have LAN driver (MDT only import drivers if you have INF files of driver
selecting driver path click next
In this example i had only imported lan driver if you want to add more drivers you can add rest of
with same process
Click on finish when process completed successfully


Next process in Deploy windows 7 using MDT is to import operating system right click on Opera
Systems select import operating system
Click next at OS type

Select Source of operating system in this example i have inserted Windows 7 DVD in DVD Rom
DVD Rom drive is D:
Select directory where you have windows 7 source files


Type destination directory name click next


See progress window MDT copying all files in Deployment Share

When importing of operating system finish click on finish


We had imported operating system now it’s time to create a task sequence to do this right click on
sequence select new task sequence


Type task sequence ID and task sequence name then click next

Select standard client task sequence click next
Select Windows 7 which you we have imported earlier


If you want to specify product key then specify at this window or click next
Type full name, organization name or if you want to set internet explorer home page type address
click next


Type local administrator password then click next
See summary then click next when finish click on finish

We
had imported driver, Operating System, Task sequence created now to deploy operating system o
to work all together we have to update deployment share right click on MDT deployment share an
updates deployment share
Click next when process updated deployment share click on finish


Now
we had done all steps to import operating system in MDT now it’s time to deploy windows 7 usin
MDT to do this we have to add boot image in WDS boot images open windows deployment servi
to boot images right click on it to add boot image
Select boot image from Deployment share then click next and follow the process to add boot ima
when done click on finish


After adding boot image in WDS go to your second machine in which you want to deploy window
using mdt, boot it from network

Click on run deployment wizard to install a new operating system


Type administrator username, password and domain name then click ok to continue


Select task sequence we created in previous step


Type computer name, work group name or type details if you want to join domain

Click next at move data and settings
Click next at user data restore windows
At this window specify language and time settings


Select do not capture an image of this computer click next


See details and click on begin

Now MDT is installing windows 7



When installation complete click on finish windows 7 is deployed and ready to use








CAPTURING WINDOWS 7 IMAGE USING
3 MDT 2013
In
previous chapter we deploy fresh operating systems like windows 7 , windows 8.1 now in this ch
we are going to capture an existing window 7 with office 2010 installed i have an windows 7 insta
system and also i have Microsoft office 2010 installed on this system you can install more softwa
per your requirements for this example i have office 2010 now we are going to capturing window
image using MDT 2013 with software installed on the reference system
Benefits
of this capturing is that first we install an operating system with all required drivers and
software than we are going to capture it then we deploy this captured image it will save our lots o
to installed drivers and software one by one on several systems
I have one PC on which windows 7 with MS office 2010 installed


First we have to create a task sequence for sysprep and capture to capture windows 7
Open
MDT deployment workbench right click on task sequence select New Task Sequence
When new task sequence wizard open at General settings enter Task sequence ID and Task sequ
name then click next

From select template window select Sysprep and Capture template
Select OS at OS selection window it will not affect your capturing you can select any OS


Select option Do not specify product key at this time then click next


At OS settings window type Full name and Organization name then click next

Type local admin password or select do not specify admin password at this time click next


See summary then click next


When process complete click on finish

We had created Sysprep an Capture task sequence for Capturing Windows 7 image using MD
2013 now we are going to update our deployment share so that this task sequence available for us
Right click on MDT deployment share then click on update deployment share


Click next
Click next


When deployment share updated click on finish
Now it’s time to capture window 7 go to window 7 PC then go to run type your deployment share
address to access deployment share then click OK

When deployment share open go to script folder run LiteTouch script


From task sequence window select Capture windows task sequence which we had created
Specify location where you want to save captured image


Type admin user name password and domain name here then click next


When ready click on begin to continue

Task sequence execute Sysprep


After Sysprep window 7 pc will restart after that MDT create WIM


When
capturing windows 7 image using mdt 2013 complete you will see a message completed
successfully click on finish windows 7 capture is complete


In this chapter we captured an existing installed windows 7 image with MDT 2013 in the next cha
are going to install this captured window 7 image using MDT 2013











DEPLOY CUSTOM WINDOWS 7 IMAGE
4 USING MDT 2013
In
previous chapter we discussed on how to capture an existing windows 7 machine now in this cha
we are going to deploy custom windows 7 image using MDT 2013(Captured windows 7 image).
this first step is to add captured windows 7 image in MDT 2013 then we are going to deploy it be
of custom captured image is you can install windows with required software and settings you can
customize your OS as per your requirements follow steps given below to deploy captured window
image with MDT 2013
DEPLOY CUSTOM WINDOWS 7 IMAGE USING MDT 2013
Open MDT 2013 Deployment Workbench go to operating system right click on it then select
operating system to import captured window 7 image


At OS type on import operating system wizard select Custom image file


Select window 7 captured image by default it is stored on deployment share, captures

At setup window select setup files are not needed


Type destination directory name


See summary then click next
When process successfully completed click on finish

Custom captured window 7 image was imported in MDT 2013 now we have to make task sequen
MDT to deploy custom windows 7 image using MDT 2013
Go to task sequence right click on it select New Task Sequence
At general setting type task sequence ID and name then click next


Select Standard task sequence click next
Select captured window 7 operating system which we imported in previous steps


Select do not specify a product key at this time Type full name and organization name

Type admin password here and click next Click next


Click on finish


Task sequence was created but to deploy custom window 7 image using MDT 2013 we have to up
deployment share right click on deployment share select Update deployment share


Click next


Click next

When deployment share updated click on finish


Now go to WDS server to add MDT boot image in WDS so that we can deploy custom window
image using MDT 2013 via network
Right click on Boot Image select add boot image

Specify path for boot image by default it is in deployment share, boot folder
Click next


See summary click next

When image added successfully click on finish


Now go to client machine where you want to deploy window 7 boot machine from network

Select run the deployment wizard to install a new operating system


Type administrator user name, password and domain name
Select task sequence


Click next


Select do not move user data and settings Select do not restore user data and settings

Specify language and time settings


Select do not capture image of this computer then click next


When ready click on begin


Now MDT is installing operating system

When deployment complete click on finish


You can see windows 7 is install with office 2010(As we captured windows 7 image with office 2
installed on our previous post)


Now windows 7 is ready to use we capture and deploy other operating system also with this great
MDT(Microsoft Deployment Toolkit)



CREATING CUSTOM PARTITION WITH
5 MDT 2013 STEP BY STEP GUIDE
In
previous chapter we deployed custom captured operating system with MDT in this chapter we ar
creating custom partition with MDT 2013, MDT is a great tool for deploying operating systems a
free we can deploy operating systems with software also and also we can capture and deploy cust
captured image with MDT but when we deploy operating system with MDT by default it create o
partition of whole hard disk in this post we learn how to create custom partitions by editing task
sequence in MDT 2013 after doing this we are able to deploy operating system with two or more
partitions for creating custom partition with MDT 2013 follow steps given below.
Creating Task Sequence
Open MDT deployment workbench create new task sequence or edit existing task sequence if hav
this example I am going to create new task sequence


Type your task sequence ID and name here then click next
Select standard client task sequence from template window then click next


Select operating system from OS selection window
Select do not specify key option or type key if you want you can also activate your window after
installation

Fill all required fields and click next to continue Specify admin password


Click Next
Click on finish


Creating custom partition with MDT 2013
Task
sequence is created now we have to modify this task sequence so we can create custom partition
with MDT 2013 to do this right click on task sequence select properties
Go to task sequence tab then go to Preinstall then New computer only then select Format and Part
disk

Delete this partition by clicking X botton at right side click on yes when asking for confirmation


Now we don’t have any partition on MDT task sequence


Now we have to create partition click on star like icon to create new partition
Type partition name
Partition type
Partition size
Select make this a boot partition for C drive

We have used 50% of our disk i have 60 GB HDD now i have 30 GB left


Again
click new to create new(Another) partition specify partition name and use a percentage of
remaining disk space(Select 100% if you want to use all remaining disk space it’s percentage of
remaining disk space)


Now we have two partitions when we deploy windows 7 operating system it automatically create
partitions 50% – 50%


Update Deployment Share
Right click on deployment share and select update deployment share to update deployment share


Click next


Click Next
When updated click on finish


Deploy Windows 7 with two partitions
Boot client machine from network via WDS server(See previous post’s on MDT)
You can directly run deployment wizard but if you want configure static IP click configure with s
address


Specify IP address and network settings then click on finish
Now run deployment wizard to install new operating system

Specify admin credentials


Select windows 7 task sequence
Fill computers details then click next


Select do not move user data and settings

Select do not restore user data and settings



Change language and time settings then click next


Select option do not capture image of this computer then click next


See all details then click on begin to install window 7 with custom partitions


MDT installing windows 7 wait until all process complete

When installation completed click on finish
Open my computer you can see windows 7 is installed with two partitions


You can also create more than two partitions by editing task sequence






REFRESH OPERATING SYSTEM USING
6 MDT 2013
In this chapter we are going to learn how to re‐
install or refresh operating system using MDT 2013.
Normally when we reinstall operating system we take all user backups then install operating syste
then restore user backup In this post we are going to reinstall windows 7 operating system with au
backup and restore MDT can do all these things automatics for you It save lots of time on taking b
and restoring all backups. As I mentioned it many times in my other posts that MDT is a great fre
by Microsoft if we use it in correct way it can help us a lot and make system admin works easier t
time is money and if we use MDT in our day to day activity it definitely save our precious time th
7th post on MDT and I love to write on MDT hope you are also enjoy to read about MDT.
REFRESH OPERATING SYSTEM USING MDT 2013
I have windows 7 installed and have some folders on desktop and on C drive and also on D drive
screenshots given below


I had already created task sequence for installing windows 7
Boot your machine from MDT via network


Run deployment wizard by clicking on Run the deployment wizard to install new operating system


Type administrator user name, password and domain name then click on ok
Select windows 7 task sequence to deploy windows 7


Fill all details on this window then click next

Select Move user data and settings then click next


Specify language and time zone settings then click next


Select
option do not capture an image of this computer otherwise MDT capture an image of this
computer but we don’t want to capture image we just want to move user data which we selected o
previous steps


When ready click on begin


MDT first run User stat capture to capture user data and settings see screen shoot given below use
is being processed


After
user state capture all user data and settings before installing operating system it clean drive then
install operating system we are going to refresh operating system using MDT 2013 that’s why MD
clean drive before installing any operating system otherwise MDT format this partition and perfor
installation


After cleaning drive MDT start installing operating system see progress screen shoot given below

After operating system installation MDT restore all user data and settings with the help of USMT
state migration tool)


When deployment complete click on finish


You can see your all data is restored as it was before refreshing Operating system using MDT 201


That’s all we had refresh our windows 7 operating system without losing any user data.


AUTOMATE MDT DEPLOYMENT Chapter
7 WIZARD
In
this chapter we are going to discuss on how to Automate MDT Deployment Wizard in which we
how to skip unwanted pages on deployment wizard in MDT. At the time of deployment we see se
pages on deployment wizard we can choose pages which we want to see at the time of deploymen
wizard. Pages we see at the time of MDT deployment wizard are given below.
1. Welcome Page
2. Network Credentials Page
3. Task Sequence Page
4. Computer Details Page
5. Mover data and settings Page
6. User Data (Restore) Page
7. Local and Time Page
8. Capture image Page
9. Ready Page
See screenshot


These
are the pages we see at time of LTI deployment We can skip pages which we want to skip to
automate our deployment process in MDT. We can automate our deployment by editing two files
two files are:
CustomSettings.ini
Bootstrap.ini
To
edit these files open deployment workbench right click on Deployment share go to Properties the
go to Rules tab there you can find your CustomSettings.ini and Bootstrap.ini you can also find the
two files on deployment share folder then in control folder.
When you first see these files it’s look like screenshot given below.

Now we are going to edit CustomSettings.ini after editing CustomSettings.ini it’s look like
[Settings]
Priority=Default
Properties=MyCustomProperty
[Default]
OSInstall=Y
SkipCapture=YES
SkipAdminPassword=YES
SkipProductKey=YES
SkipComputerBackup=YES SkipBitLocker=YES
SkipTaskSequence=YES TaskSequenceID=001
SkipComputerName=YES OSDComputerName=Win8
SkipDomainMembership=YES JoinWorkgroup=Workgroup
SkipUserData=YES
SkipLocaleSelection=YES KeyboardLocale=en‐us UserLocale=en‐us
UILanguage=en‐us
SkipTimeZone=YES
See screen shoot given below


Click on apply and then click on ok after that update your deployment share to apply changes then
to client machine and boot it from network after booting we can see welcome page

Run deployment wizard then we see network credentials page


After that all pages are skipped see screen shoot given below


We skipped some pages by editing CustomSettings.ini you can also skip welcome page and netwo
credential page by editing Bootstrap.ini for more information go to MDT help then Toolkit
Reference then Properties then click on Providing Properties for Skipped Deployment Wizard Pag