Thursday, November 26, 2015

Capture Windows 10 or 7 using a media (USB or CD)

Capture Windows 10 or 7 using a media (USB or CD)

Capture Windows 10 or Windows 7 using a media is the same
We will first create a task sequence media and create a capture media which is in saved .iso format. This .iso file contains the necessary files
and instructions to capture a reference operating system. The same .iso file captures the operating system and stores the captured OS
in .wim format. Once we get the .wim file we will import the file to SCCM 2012 R2 and we can use this .wim to deploy this OS to another
computer either by using SCCM or WDS.
The first step involves creating a capture media which is in .iso file. Launch the ConfigMgr console, click on Software Library, expand
Overview, expand Operating Systems, right click Task Sequences and click on Create Task Sequence Media.
Type of


Type of Media – Select the type of media as Capture Media. Click Next.


Media Type – You can select either USB flash drive or CD/DVD. I have tried using USB flash drive and even that works. In this example we
will choose CD/DVD, and we will store the media file in one of the shared location on SCCM server. You can choose to store the capture
media on any shared location, it may not be necessarily SCCM server. One important thing here you must save the capture media with .iso
extension. Click on Next.


Selecting Boot Image – This is very important step. Select the Boot Image by clicking on Browse. Select Boot Image (x64) and for DP
click on Browse and select the desired DP. Click Next.
Note
You must first enable the command support on both the boot images(x64 and x86) and then distribute it to the distribution point. To enable
the command support right click on each of the boot image, click on properties and under Customization tab check the box Enable
Command Support (testing only). Enable command support for both the boot images. By default the boot images are not distributed to DP
and if you don't distribute the boot images you will not be able to select the DP in the below step. To distribute the boot images to DP, right
click on each boot image and click Distribute Content.


The capture media has been created by the wizard. Click on Close.


After creating the capture media we will now mount the capture media (.iso file) on the windows 7 machine and run the image capture
wizard. In this example I have a virtual machine which has been installed with windows 7 professional SP1 x64 OS and we will be capturing
this computer OS image. If its a physical machine you can burn the capture media .iso to a CD and insert it in the CD tray and run the image
capture wizard. If its a virtual machine you can mount the .iso file by providing the path where the capture media .iso file exists. On a virtual
machine when you mount the .iso file by providing a shared location, it asks for a user account to access the .iso file, provide a domain user
account which has enough permissions to access the folder where the .iso file exists.
Once you mount the capture media on a windows 7 machine you will see the autorun box. Click Run TSMBAutorun.exe, you will see the
Image Capture Wizard. Click on Next.


Image Destination – Provide a folder path where the captured image should be stored. The name of the captured image should have .wim
as extension. Also provide a user account that has enough permissions to store the captured file to the shared folder. Click Next.


Image Information – Provide the image information such as Created by, Version and Description. Click on Next.


Click on Finish to complete the Image Capture Wizard. Note that we have just run the image capture wizard, in the next step sysprep
captures the OS.

In the below screenshot we can see that the sysprep command is running. Wait for the computer to restart automatically where the actual
capture process begins.


The computer restarts and we see that the wizard now starts capturing volume and the OS. This process took around 25 minutes to
complete in my lab setup.


Alright, we now see that the windows 7 OS image has been captured and saved to the destination folder. Click on OK. The computer now
restarts and enters Out of Box experience (OOBE).



In the next poste we will see how import the .wim as operating system image in SCCM 2012 R2. 





No comments:

Post a Comment

Note: Only a member of this blog may post a comment.