Windows 7 Capture Image Using SCCM OSD

Embed Size (px)

Citation preview

  • 8/8/2019 Windows 7 Capture Image Using SCCM OSD

    1/12

  • 8/8/2019 Windows 7 Capture Image Using SCCM OSD

    2/12

    5. At the Source Files screen, select Always obtain files from a source directory and

    then click Next .6. At the Source Directory screen, select Local drive on site server and browse to \Client and then click Next .

    7. Click Finish at the Summary screen.8. It is important to distribute the package to all distribution points. In the ConfigMgr console, expand

    the package for the Configuration Manager Client Upgrade, right-click the Distribution Points

    node, and select New Distribution Points .9. At the New Distribution Points Wizard Welcome screen, click Next .

    10. At the Copy Package screen, select your distribution points and click Next .11. Click Close at the Confirmation screen.

    Deploying Boot Images

    order for machines to use WinPE boot images, the boot images must be distributed to distributionoints. The following section describes that process as well as configuring the boot images to allow for

    http://blogs.technet.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-71-83-metablogapi/2626.clip_5F00_image010_5F00_70AE4806.jpghttp://blogs.technet.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-71-83-metablogapi/5672.clip_5F00_image008_5F00_04A7DA9D.jpghttp://blogs.technet.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-71-83-metablogapi/5661.clip_5F00_image006_5F00_747C12A3.jpghttp://blogs.technet.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-71-83-metablogapi/3603.clip_5F00_image004_5F00_7D4C1AEF.jpg
  • 8/8/2019 Windows 7 Capture Image Using SCCM OSD

    3/12

    ommand prompt support. What is command prompt support? This setting allows you to press F8 at anyme during a task sequence to open a command prompt. Command prompt support is usually used foroubleshooting purposes.

    1. In the Configuration Manager console, navigate to Site Database / Computer Management / Operating System Deployment and expand the Boot Images node.

    2. Right-click Boot image (x64) and then select Properties .3. In the Boot image (x64) Properties dialog, select the Windows PE tab.

    4. Check the box Enable command support (testing only) and then click OK .5. You will be prompted with a dialog box stating that a Distribution Point Update (is)

    Required Click Yes. 6. The Manage Distribution points Wizard will appear, click Next to continue.7. When the boot image update is completed, click Close .8. Repeat the above steps for the Boot image (x86) package.9. Once both boot images have been modified, expand each boot image, right-click Distribution

    Points and select New Distribution Point.

    10. Click Next and at the Copy Package screen, select ALL distribution points. If a PXE

    Service Point has been installed, it is important to select the SMSPXEIMAGES$ share baseddistribution points as well.11. Click Next to continue, and Close to complete the process.12. Repeat the process for Boot image (x86).

    ote: When boot images are updated the boot image is mounted and recompiled. During thecompilation, SCCM specific OSD files, drivers, and other settings are injected into the boot

    mage.

    Build and Capture a Windows 7 ReferenceMachine

    nless you already have a Windows 7 image file, you can follow the below process to use an OSD task quence to build and capture a Windows 7 reference machine.

    reparing a Source File and Image Folder Structure

    http://blogs.technet.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-71-83-metablogapi/2541.clip_5F00_image0025_5F00_05DC4DAF.jpghttp://blogs.technet.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-71-83-metablogapi/7713.image_5F00_20F51CBD.png
  • 8/8/2019 Windows 7 Capture Image Using SCCM OSD

    4/12

    o complete the build and capture process, you will need to create a shared folder in which the OS andmage files are stored. Typically this share can be created on the SCCM server itself. This example usese folder D:\OSDeploy.

    s an example, create the following folders:

    l D:\OSDeployl D:\OSDeploy\OSSourcel D:\OSDeploy\OSSource\Windows7x86l D:\OSDeploy\OSImagesl D:\OSDeploy\OSImages\Windows7x86

    ote: A user account will be needed during the reference machine image capture. In this example,e Network Access Account is used.

    1. Right-click the folder D:\OSDeploy folder and select Properties .2. Select the Sharing tab and click Advanced Sharing .3. Select the Share this folder check box and then select the Permissions button. Give the

    Everyone group Full Control and then click OK and OK again.

    4. Select the Security tab and add the Network Access Account and give it Modify permissions.Click OK to save the permission settings. Click Close .

    Adding the Operating System Install Packageorder to install Windows 7 on a reference machine, you will need to create an OS Installation Package.

    o do this, copy the entire contents of a Windows 7 DVD to the following folder:\OSDeploy\OSSource\Windows7x86 .

    1. In the Configuration Manager console, navigate to Site Database / Computer Management / Operating System Deployment / Operating System Install Packages .

    2. Right-click Operating System Install Package and select Add Operating System InstallPackage .

    3. In Add Operating Install Package Wizard, Data Source screen, enter the UNC path \\servername\OSDeploy\OSSource\Windows7x86 in which the package is located. Click Next .

    http://blogs.technet.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-71-83-metablogapi/2047.clip_5F00_image0041_5F00_16279F9B.jpghttp://blogs.technet.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-71-83-metablogapi/2134.clip_5F00_image0023_5F00_30D43BB4.jpghttp://blogs.technet.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-71-83-metablogapi/5287.clip_5F00_image0021_5F00_4B14A4D8.jpg
  • 8/8/2019 Windows 7 Capture Image Using SCCM OSD

    5/12

    4. At the General screen, enter a descriptive name for the install package such as MicrosoftWindows 7 x86 and then click Next .

    5. Click Next at the Summary screen and click Close to complete the wizard.

    Distribute the Windows 7 OS Install Package

    1. Open the ConfigMgr console and navigate to Site Database / Computer Management / Operating System Deployment .

    2. Expand the package for the Operating System Install Packages Microsoft Windows 7x86 , right-click the Distribution Points node, and select New Distribution Points .

    3. At the New Distribution Points Wizard Welcome screen, click Next.

    4. At the Copy Package screen, select your distribution points and then click Next .Note: If you happened to create a PXE Service Point, you will not need copy any other packagefiles to the SMSPXEImages$ share, other than the boot image packages.

    5. Click Close at the Confirmation screen.

    Build and Capture a Windows 7 referencemage

    reating a Task Sequence to Build and Capture a Windows 7Reference Machine

    he following task sequence will be used to install Windows 7 x86 on a reference machine, run systemeparation, and then capture the drive as a WIM file. The instructions below will describe the process of eating a very basic WIM image which only contains the OS

    1. In the Configuration Manager console, navigate to Site Database / Computer Management / Operating System Deployment and right-click the Task Sequences node and select New Task Sequence .

    2. At the New Task Sequence Wizard, in the Create a New Task Sequence screen, select Buildand capture a reference operating system image and then click Next .

    http://blogs.technet.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-71-83-metablogapi/1586.clip_5F00_image0027_5F00_313048DC.jpghttp://blogs.technet.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-71-83-metablogapi/2475.clip_5F00_image0025_5F00_32E114B0.jpghttp://blogs.technet.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-71-83-metablogapi/6663.clip_5F00_image0061_5F00_1476D3C7.jpg
  • 8/8/2019 Windows 7 Capture Image Using SCCM OSD

    6/12

  • 8/8/2019 Windows 7 Capture Image Using SCCM OSD

    7/12

    12. At the Install ConfigMgr Client screen, select Browse, and navigate to the Microsoft

    Configuration Manager Client Upgrade package which was created earlier and then click Next .

    13. At the Include Updates in Image screen, select All software updates and click Next .

    Note: Unless the Software Update Point role has been installed, and Software Update deploymentsand packages have been created, the Install Updates task will not do anything.

    14. At the Install Software Packages screen, click Next (unless you have created packages whichyou want installed as part of the task sequence).

    15. At the System Preparation screen, there is no need to configure anything since Windows 7includes system preparation tools. Click Next .

    16. At the Image Properties screen, enter any additional information about the image. Click Next .17. At the Capture Image Settings screen, enter the Path and filename to the OSDeploy share:

    \\servername\OSDeploy\OSImages\Windows7x86\ Windows7x86.WIM 18. In the Account field, click the Set button.

    Enter the User name and password of the Network Access Account or the account which haspermissions to write to the share defined. E nter and confirm the account password, and then click OK .

    19. Validate that the settings are accurate in the Capture Image Settings screen, click Next .

    http://blogs.technet.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-71-83-metablogapi/4544.clip_5F00_image016_5F00_04674369.jpghttp://blogs.technet.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-71-83-metablogapi/1884.clip_5F00_image014_5F00_30F0734F.jpghttp://blogs.technet.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-71-83-metablogapi/5224.clip_5F00_image012_5F00_608E91DB.jpghttp://blogs.technet.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-71-83-metablogapi/2084.clip_5F00_image0101_5F00_74882471.jpg
  • 8/8/2019 Windows 7 Capture Image Using SCCM OSD

    8/12

    20. At the Summary screen, click Next .21. Click Close at the success screen.

    diting the Task Sequence

    1. In the Configuration Manager console, select Task Sequences and locate the task sequence justcreated in the Details pane.

    2. Right-click the task sequence Windows 7 x86 Image Build and Capture and select Edit .3. In the task sequence editor, select the task: Partition Disk 0 and in the Volume section, highlight

    the Default (Primary) volume and select the Edit button.

    4. At the Partition Properties screen, check the box: Quick format and then click OK .

    5. Click OK to save the task sequence.

    Advertise the Task Sequence to Unknown Computers

    1. To advertise the task sequence, right-click the Windows 7 x86 Image Build and Capture task sequence, and select Advertise .

    2. At the New Advertisement Wizard screen, in the Collection field, click Browse to select the AllUnknown Computers collection.

    http://blogs.technet.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-71-83-metablogapi/5226.clip_5F00_image0045_5F00_523FF31E.jpghttp://blogs.technet.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-71-83-metablogapi/0434.clip_5F00_image0029_5F00_14930B62.jpg
  • 8/8/2019 Windows 7 Capture Image Using SCCM OSD

    9/12

    3. If you are planning to use PXE Boot, check the box Make this task sequence available to bootmedia and PXE and then click Next .

    4. At the Schedule screen, leave the default settings as the task sequence will be optional. Click Next .

    5. At the Distribution Points screen, select the option: Access content directly from adistribution point when needed by the running task sequence and then click Next .

    6. Click Next to the end of the wizard, leaving all default selections.7. At the Wizard Completed screen, click Close .

    reating Task Sequence Boot Media

    ow that you have a task sequence ready to go and advertised, you will need to acquire a referenceachine, which can be virtual. If not using PXE Boot, you will need to generate and create boot mediach as a boot CD or USB stick.

    1. In the Configuration Manager console, navigate to Site Database / Computer Management / Operating System Deployment and right-click the Task Sequences node and in the contextmenu select Create Task Sequence Media .

    http://blogs.technet.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-71-83-metablogapi/8688.clip_5F00_image0103_5F00_7DE0974D.jpghttp://blogs.technet.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-71-83-metablogapi/4578.clip_5F00_image0083_5F00_6701C5D1.jpghttp://blogs.technet.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-71-83-metablogapi/0755.clip_5F00_image0065_5F00_3DDA2D93.jpg
  • 8/8/2019 Windows 7 Capture Image Using SCCM OSD

    10/12

    2. At the Task Sequence Media Wizard , at the Select Media Type screen, select Bootable media

    and click Next .3. At the Media Type screen select CD/DVD set and in the Media file field, enter the path and

    name of your bootable media, such as C:\OSDx86Boot.iso . Click Next to continue.4. At the Security screen, leave Enable unknown computer support checked. If you want to be

    prompted to enter a password at boot image, leave Protect media with a password selected andenter and confirm a Password. Click Next to continue.

    5. At the Boot Image dialog, select Browse to select the Boot image (x86) 6.1.7600.16385 en-US image and click OK. Click Next to continue and Next again to start the process. Click Close .

    6. Copy the file C:\OSDx86Boot.iso to a machine with a CD Burner, and burn the ISO image to aCD.

    ote: In Windows 7 you can simply right-click the file and select Burn disc image .

    Build and Capture a Reference Machine

    he boot CD will be used to boot your reference machine and connect to the SCCM server. Put in theD and boot the machine to the CD. It is assumed that DHCP is implemented on your network.

    1. After booting to the Boot media, you may be prompted to enter a password if you selected thatoption earlier. If so, enter the password and click Next .

    2. The Task Sequence Wizard will appear displaying a list of task sequences available, select theWindows 7 x86 Image Build and Capture task sequence and click Next .

    3. At this point, the task sequence will start. The system will reboot several times and the process maytake up to 30-45 minutes.

    http://blogs.technet.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-71-83-metablogapi/4578.clip_5F00_image0165_5F00_7BE32277.jpghttp://blogs.technet.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-71-83-metablogapi/8780.clip_5F00_image0145_5F00_28D88553.jpghttp://blogs.technet.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-71-83-metablogapi/7612.clip_5F00_image0125_5F00_580A70EA.jpghttp://blogs.technet.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-71-83-metablogapi/8688.clip_5F00_image0103_5F00_7DE0974D.jpg
  • 8/8/2019 Windows 7 Capture Image Using SCCM OSD

    11/12

  • 8/8/2019 Windows 7 Capture Image Using SCCM OSD

    12/12

    8. At the New Distribution Points Wizard, click Next .9. At the Copy Packages screen, select your distribution points. As mentioned before, if a PXE

    Service Point has been installed, you dont need to send the package to the SMSPXEImages$share based distribution point.

    Conclusionow that you have captured a Microsoft Windows 7 image and imported it as an Operating System

    mage in Configuration Manager, you can deploy that image by creating other task sequences. By right-icking Task Sequences New Task Sequence you can use some of the built in wizards to deploy yourew Windows 7 image.

    http://blogs.technet.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-71-83-metablogapi/8838.clip_5F00_image024_5F00_5F6712D0.jpg