vasanthsccm.files.wordpress.com … · web viewnow we will use the build and capture process to...

59
In Part 1 of this series we got our AD and SCCM servers ready, and then we installed System Center 2012 Configuration Manager as a standalone Primary site. In Part 2 we configured the SCCM server further by adding some Windows Server roles necessary for the following Configuration Manager 2012 functionality, Software Update Point (SUP) and Operating System Deployment. In Part 3 we configured the server further by Enabling Discovery methods and creating Boundary's and Boundary Groups. In Part 4 we configured Client Settings, Added roles and Distributed the Configmgr Client to our Computers within the LAB, then in Part 5 we enabled the Endpoint Protection Role and configured Endpoint Protection settings and targeted a collection called All Windows 7 Computers with these settings and policies. In Part 6 we configured our SUP further to Deploy software updates to our All Windows 7 Computers and Build Windows 7 X64 collections. Now we will use the Build and Capture process to create our Base Windows 7 X64 wim image, we'll use this image in the next part to Deploy Windows 7. Whats new in Configuration Manager 2012 for Operating System Deployment ? You can apply Windows Updates by using Component-Based Servicing (CBS) to update the Windows Imaging (.wim) file format images that are stored in the image node of the Software Library. The Task Sequence Media Wizard includes steps to add prestart command files (formerly pre- execution hooks) to prestaged media, bootable media, and stand-alone media. You can configure the Task Sequence Media Wizard to suppress the Configuration Manager Boot Media wizard during operating system installation. This configuration enables you to deploy operating systems without end user intervention. You can define a deployment in a prestart command that overrides existing deployments to the target computer. Use the SMSTSPreferredAdvertID task sequence variable to configure the task sequence to use the specific Offer ID that defines the conditions for the deployment.

Upload: dinhkhanh

Post on 19-Jul-2018

214 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: vasanthsccm.files.wordpress.com … · Web viewNow we will use the Build and Capture process to create our Base Windows 7 X64 wim image, we'll use this image in the next part to Deploy

In Part 1 of this series we got our AD and SCCM servers ready, and then we installed System Center 2012 Configuration Manager as a standalone Primary site. In Part 2 we configured the SCCM server further by adding some Windows Server roles necessary for the following Configuration Manager 2012 functionality, Software Update Point (SUP) and Operating System Deployment. In Part 3 we configured the server further by Enabling Discovery methods and creating Boundary's and Boundary Groups. In Part 4 we configured Client Settings, Added roles and Distributed the Configmgr Client to our Computers within the LAB, then in Part 5 we enabled the Endpoint Protection Role and configured Endpoint Protection settings and targeted a collection called All Windows 7 Computers with these settings and policies. In Part 6 we configured our SUP further to Deploy software updates to our All Windows 7 Computers and Build Windows 7 X64 collections.

Now we will use the Build and Capture process to create our Base Windows 7 X64 wim image, we'll use this image in the next part to Deploy Windows 7.

Whats new in Configuration Manager 2012 for Operating System Deployment ? You can apply Windows Updates by using Component-Based

Servicing (CBS) to update the Windows Imaging (.wim) file format images that are stored in the image node of the Software Library.

The Task Sequence Media Wizard includes steps to add prestart command files (formerly pre-execution hooks) to prestaged media, bootable media, and stand-alone media.

You can configure the Task Sequence Media Wizard to suppress the Configuration Manager Boot Media wizard during operating system installation. This configuration enables you to deploy operating systems without end user intervention.

You can define a deployment in a prestart command that overrides existing deployments to the target computer. Use the SMSTSPreferredAdvertID task sequence variable to configure the task sequence to use the specific Offer ID that defines the conditions for the deployment.

You can use the same task sequence media to deploy operating systems to computers anywhere in the hierarchy.

The Capture User State task sequence action and the Restore User State task sequence action supports new features from the User State Migration Tool (USMT) version 4.

You can use the Install Application task sequence action to deploy applications from the Software Library when you deploy an operating system.

You can define user device affinity for a client computer during operating system deployment.

The functionality of the PXE service point and its configuration is moved to the distribution point to increase scalability.

Page 2: vasanthsccm.files.wordpress.com … · Web viewNow we will use the Build and Capture process to create our Base Windows 7 X64 wim image, we'll use this image in the next part to Deploy

Step 1. Enable PXE support for Clients

Perform the following on the SCCM server as SMSadmin

In the ConfigMgr console, click on Administration, Site Configuration, Servers and Site System Roles, and double click on the Distribution Point role listed, select the PXE tab and place a checkmark in Enable PXE support for Clients, answer Yes when prompted about firewall ports (UDP ports 67, 68, 69 and 4011 ).

Page 3: vasanthsccm.files.wordpress.com … · Web viewNow we will use the Build and Capture process to create our Base Windows 7 X64 wim image, we'll use this image in the next part to Deploy

enable all options and click on the Drop down UDA option and set it to Allow User Device Affinity with Automatic Approval

Page 4: vasanthsccm.files.wordpress.com … · Web viewNow we will use the Build and Capture process to create our Base Windows 7 X64 wim image, we'll use this image in the next part to Deploy

Step 2. Add the Windows 7 X64 operating system imagePerform the following on the SCCM server as SMSadmin

In the ConfigMgr console, select Software Library and expand Operating Systems, click on Operating System Installers and choose add operating system installer from the ribbon (alternatively right click to get the same option)

Page 5: vasanthsccm.files.wordpress.com … · Web viewNow we will use the Build and Capture process to create our Base Windows 7 X64 wim image, we'll use this image in the next part to Deploy

browse to the UNC path where you have previously copied the extracted contents of your Windows 7 X64 Enterprise ISO

(I extracted mine and then copied it to \\sccm\sources\os\Windows 7x64 prior to starting this step.

Page 6: vasanthsccm.files.wordpress.com … · Web viewNow we will use the Build and Capture process to create our Base Windows 7 X64 wim image, we'll use this image in the next part to Deploy

fill in some general info about the image

Page 7: vasanthsccm.files.wordpress.com … · Web viewNow we will use the Build and Capture process to create our Base Windows 7 X64 wim image, we'll use this image in the next part to Deploy

and complete that wizard.

Page 8: vasanthsccm.files.wordpress.com … · Web viewNow we will use the Build and Capture process to create our Base Windows 7 X64 wim image, we'll use this image in the next part to Deploy

Step 3. Distribute the Operating System to our Distribution Points

Perform the following on the SCCM server as SMSadmin

Now that we've added the image, let's distribute it to our DP. Click on the image we just added and in the ribbon click on Distribute Content

Page 9: vasanthsccm.files.wordpress.com … · Web viewNow we will use the Build and Capture process to create our Base Windows 7 X64 wim image, we'll use this image in the next part to Deploy

the Distribute Content wizard appears

Page 10: vasanthsccm.files.wordpress.com … · Web viewNow we will use the Build and Capture process to create our Base Windows 7 X64 wim image, we'll use this image in the next part to Deploy

click next, select Add, select Distribution Point, select our SCCM server then ok

Page 11: vasanthsccm.files.wordpress.com … · Web viewNow we will use the Build and Capture process to create our Base Windows 7 X64 wim image, we'll use this image in the next part to Deploy

click next through the wizard until completion

Page 12: vasanthsccm.files.wordpress.com … · Web viewNow we will use the Build and Capture process to create our Base Windows 7 X64 wim image, we'll use this image in the next part to Deploy

Step 4. Customise our boot images and then Distribute the Boot images to DP'sPerform the following on the SCCM server as SMSadmin

Note: Even though Build and Capture of Windows 7 X64 only needs the X64 boot image, we will update both boot images as we'll need them to both have Command support enabled.

Select boot images in the left navigational pane, select the X86 boot image, right click choose properties click on the Customization tab, enable Command support

Page 13: vasanthsccm.files.wordpress.com … · Web viewNow we will use the Build and Capture process to create our Base Windows 7 X64 wim image, we'll use this image in the next part to Deploy

click on the Data Source tab, place a checkmark in Deploy this boot image from the PXE service Point

Page 14: vasanthsccm.files.wordpress.com … · Web viewNow we will use the Build and Capture process to create our Base Windows 7 X64 wim image, we'll use this image in the next part to Deploy

click apply, and answer No when prompted to udpate the Distribution Points now as we have to add our DP first before updating the boot image to the DP's..

Page 15: vasanthsccm.files.wordpress.com … · Web viewNow we will use the Build and Capture process to create our Base Windows 7 X64 wim image, we'll use this image in the next part to Deploy

click Ok to close.

Now we need to Distribute our Boot image to our Distribution Point, so select the image and choose Distribute Content from the ribbon

add our Distribution Point and click through the wizard to completion

Page 16: vasanthsccm.files.wordpress.com … · Web viewNow we will use the Build and Capture process to create our Base Windows 7 X64 wim image, we'll use this image in the next part to Deploy

Tip: you can open the SMSProv.log file in CMTrace to review the progress of the boot image changes being made, infact you can even see that the CMtrace tool itself is now being copied into our boot images by default ! excellent !!

Page 17: vasanthsccm.files.wordpress.com … · Web viewNow we will use the Build and Capture process to create our Base Windows 7 X64 wim image, we'll use this image in the next part to Deploy

Note: you must repeat the above process for the X64 Boot image

Step 5. Create and then Distribute the Configmgr Client Package to DP'sPerform the following on the SCCM server as SMSadmin

Currently there are two packages for Configuration Manager Client however neither are working in their current form, rather than use them let's create our own.

Page 18: vasanthsccm.files.wordpress.com … · Web viewNow we will use the Build and Capture process to create our Base Windows 7 X64 wim image, we'll use this image in the next part to Deploy

In Software Library, right click on Packages and choose Create Package from Definition,

choose Configuration Manager Client Upgrade, click next

choose Always obtain source files from a source folder

Page 19: vasanthsccm.files.wordpress.com … · Web viewNow we will use the Build and Capture process to create our Base Windows 7 X64 wim image, we'll use this image in the next part to Deploy

for source folder point to \\server\sms_xxx\client where xxx is your site code eg; P01

Page 20: vasanthsccm.files.wordpress.com … · Web viewNow we will use the Build and Capture process to create our Base Windows 7 X64 wim image, we'll use this image in the next part to Deploy

click next through the wizard until it completes

Page 21: vasanthsccm.files.wordpress.com … · Web viewNow we will use the Build and Capture process to create our Base Windows 7 X64 wim image, we'll use this image in the next part to Deploy

select our newly created package and add it to our Distribution Points (right click it, choose Distribute Content, go through the wizard).

Note: our Client package is the only one with version 5.0 so it's easy to see.

Page 22: vasanthsccm.files.wordpress.com … · Web viewNow we will use the Build and Capture process to create our Base Windows 7 X64 wim image, we'll use this image in the next part to Deploy

Step 6. Create the Build and Capture Task SequencePerform the following on the SCCM server as SMSadmin

In the Configmgr Console click on Task Sequences under Software Library, Operating System Deployment. In the Ribbon click on Create Task Sequence

Page 23: vasanthsccm.files.wordpress.com … · Web viewNow we will use the Build and Capture process to create our Base Windows 7 X64 wim image, we'll use this image in the next part to Deploy

select the Build and Capture a reference operating system image option

Page 24: vasanthsccm.files.wordpress.com … · Web viewNow we will use the Build and Capture process to create our Base Windows 7 X64 wim image, we'll use this image in the next part to Deploy

fill in some details about the Task Sequence and select the X64 boot image which you distributed to the dp's above

Page 25: vasanthsccm.files.wordpress.com … · Web viewNow we will use the Build and Capture process to create our Base Windows 7 X64 wim image, we'll use this image in the next part to Deploy

in the next screen we get to select our Operating System Installation source Image that we added above in addition to this i'd recommend you DON'T enter the Product Key and that you DO enter an Administrator Password

Page 26: vasanthsccm.files.wordpress.com … · Web viewNow we will use the Build and Capture process to create our Base Windows 7 X64 wim image, we'll use this image in the next part to Deploy

next we should join a workgroup to keep the build and capture image clean of any changes that can be made via domain join

Page 27: vasanthsccm.files.wordpress.com … · Web viewNow we will use the Build and Capture process to create our Base Windows 7 X64 wim image, we'll use this image in the next part to Deploy

next we get to include the Configmgr client package, use the one we created earlier, select the Microsoft Configuration Manager Client Upgrade 5.0 All Package

Page 28: vasanthsccm.files.wordpress.com … · Web viewNow we will use the Build and Capture process to create our Base Windows 7 X64 wim image, we'll use this image in the next part to Deploy

Note: If you want windows updates to installed include SMSMP=sccm.server2008r2.lab.local in your Setup windows and configmgr step Installation Properties, the old switch SMSSLP is retired as is the Server Locator Point role.

Page 29: vasanthsccm.files.wordpress.com … · Web viewNow we will use the Build and Capture process to create our Base Windows 7 X64 wim image, we'll use this image in the next part to Deploy

choose to install All Software Updates

Page 30: vasanthsccm.files.wordpress.com … · Web viewNow we will use the Build and Capture process to create our Base Windows 7 X64 wim image, we'll use this image in the next part to Deploy

click next through the wizard through the application, sysprep and image info screens,

for the Capture image settings screen fill in the capture account details and use a user that has rights to that UNC path (don't forget to create the \\server\sources\os\captures directory first..) make sure you type the capture account details correctly otherwise you'll have a long wait until the next Build and Capture is done and you get to see if your capture actually succeeds or not due to a typo)

Page 31: vasanthsccm.files.wordpress.com … · Web viewNow we will use the Build and Capture process to create our Base Windows 7 X64 wim image, we'll use this image in the next part to Deploy

close the wizard

Page 32: vasanthsccm.files.wordpress.com … · Web viewNow we will use the Build and Capture process to create our Base Windows 7 X64 wim image, we'll use this image in the next part to Deploy

Step 7. Import Computer InformationPerform the following on the SCCM server as SMSadmin

We need our Virtual Machine to be imported into ConfigMgr's database before we can add it to our Build and Capture Windows 7 X64 collection so lets do that. In the ConfigMgr console, click on Assets and Compliance, Devices, and in the Ribbon click on Import Computer Information. If you havn't already created a Virtual Machine do so now, we need one with 1 gig of Virtual Ram and we need to know it's MAC address.

Page 33: vasanthsccm.files.wordpress.com … · Web viewNow we will use the Build and Capture process to create our Base Windows 7 X64 wim image, we'll use this image in the next part to Deploy

Note: If you want to import multiple computers via a file then see my separate post here

Page 34: vasanthsccm.files.wordpress.com … · Web viewNow we will use the Build and Capture process to create our Base Windows 7 X64 wim image, we'll use this image in the next part to Deploy

We will import one computer into ConfigMgr's database so choose import single computer

filll in the computername and mac address

Page 35: vasanthsccm.files.wordpress.com … · Web viewNow we will use the Build and Capture process to create our Base Windows 7 X64 wim image, we'll use this image in the next part to Deploy

click next through data preview and for target collection choose our Build and Capture Windows 7 X64 collection we created in the previous part

Page 36: vasanthsccm.files.wordpress.com … · Web viewNow we will use the Build and Capture process to create our Base Windows 7 X64 wim image, we'll use this image in the next part to Deploy

click next through the wizard to completion.

Page 37: vasanthsccm.files.wordpress.com … · Web viewNow we will use the Build and Capture process to create our Base Windows 7 X64 wim image, we'll use this image in the next part to Deploy

and it appears in our collection after a few minutes

Page 38: vasanthsccm.files.wordpress.com … · Web viewNow we will use the Build and Capture process to create our Base Windows 7 X64 wim image, we'll use this image in the next part to Deploy

Step 8. Deploy the Build and Capture Task SequencePerform the following on the SCCM server as SMSadmin

In Software Library, select Task Sequences, select our Build and Capture Task sequence and right click, choose Deploy, if Deploy is greyed out are you sure you created a new package from Definition for the Configuration Manager Client ?

Page 39: vasanthsccm.files.wordpress.com … · Web viewNow we will use the Build and Capture process to create our Base Windows 7 X64 wim image, we'll use this image in the next part to Deploy

point it to our build and capture collection

Page 40: vasanthsccm.files.wordpress.com … · Web viewNow we will use the Build and Capture process to create our Base Windows 7 X64 wim image, we'll use this image in the next part to Deploy

change the purpose from Required to Available, and set make available to boot media and PXE

Page 41: vasanthsccm.files.wordpress.com … · Web viewNow we will use the Build and Capture process to create our Base Windows 7 X64 wim image, we'll use this image in the next part to Deploy

click next through the options until you get to distribution point, make a note of the Network Access Account note !

Page 42: vasanthsccm.files.wordpress.com … · Web viewNow we will use the Build and Capture process to create our Base Windows 7 X64 wim image, we'll use this image in the next part to Deploy

finish the wizard

Page 43: vasanthsccm.files.wordpress.com … · Web viewNow we will use the Build and Capture process to create our Base Windows 7 X64 wim image, we'll use this image in the next part to Deploy

Step 9. Enable the Network Access AccountPerform the following on the SCCM server as SMSadmin

In the ConfigMgr console, select Site Configuration, Sites and right click on our P01 site, choose Configure Site Components, Software Distribution (alternatively in the ribbon click on Settings, Configure Site Components, Software Distribution)

Page 44: vasanthsccm.files.wordpress.com … · Web viewNow we will use the Build and Capture process to create our Base Windows 7 X64 wim image, we'll use this image in the next part to Deploy

Click on the Network Access Account tab and specify your Network Access Account user, choose new user, input the details and test the connection (Note: this is New since Beta 2)

Page 45: vasanthsccm.files.wordpress.com … · Web viewNow we will use the Build and Capture process to create our Base Windows 7 X64 wim image, we'll use this image in the next part to Deploy

click Apply and Ok.

Step 10. PXE boot our new Virtual MachinePerform the following on the SCCM server as SMSadmin

Note: Before PXE booting the Virtual Machine, verify that the Windows Deployment Service is started, if not, start it, monitor the SMSPXE.log during the process and during the PXE boot.

Press F12 when prompted

Page 46: vasanthsccm.files.wordpress.com … · Web viewNow we will use the Build and Capture process to create our Base Windows 7 X64 wim image, we'll use this image in the next part to Deploy

enter our PXE password

Page 47: vasanthsccm.files.wordpress.com … · Web viewNow we will use the Build and Capture process to create our Base Windows 7 X64 wim image, we'll use this image in the next part to Deploy

click next and select our Build and Capture Windows 7 X64 task sequence

Page 48: vasanthsccm.files.wordpress.com … · Web viewNow we will use the Build and Capture process to create our Base Windows 7 X64 wim image, we'll use this image in the next part to Deploy

and pat yourself on the back for a job well done as it goes through the process of Build and Capture

Page 49: vasanthsccm.files.wordpress.com … · Web viewNow we will use the Build and Capture process to create our Base Windows 7 X64 wim image, we'll use this image in the next part to Deploy

if you get any errors about packages not being found then enable the following setting in Data Access for all packages in your task sequence including the boot image:- copy the contents in this package to a package share on distribution points

Page 50: vasanthsccm.files.wordpress.com … · Web viewNow we will use the Build and Capture process to create our Base Windows 7 X64 wim image, we'll use this image in the next part to Deploy

Note: once you have enabled the setting above your Deployment distribution settings gets a new drop down menu choice, access content directly from a distribution point when needed by the running task sequence

Page 51: vasanthsccm.files.wordpress.com … · Web viewNow we will use the Build and Capture process to create our Base Windows 7 X64 wim image, we'll use this image in the next part to Deploy

and then try again.. our client is being built

Page 52: vasanthsccm.files.wordpress.com … · Web viewNow we will use the Build and Capture process to create our Base Windows 7 X64 wim image, we'll use this image in the next part to Deploy

Setup windows and configmgr...

Page 53: vasanthsccm.files.wordpress.com … · Web viewNow we will use the Build and Capture process to create our Base Windows 7 X64 wim image, we'll use this image in the next part to Deploy

followed by a System Restart

Page 54: vasanthsccm.files.wordpress.com … · Web viewNow we will use the Build and Capture process to create our Base Windows 7 X64 wim image, we'll use this image in the next part to Deploy

followed by the usual windows setup routines..

Page 55: vasanthsccm.files.wordpress.com … · Web viewNow we will use the Build and Capture process to create our Base Windows 7 X64 wim image, we'll use this image in the next part to Deploy

and another restart later and it's setup windows and configmgr (in windows) followed by Install Updates

Page 56: vasanthsccm.files.wordpress.com … · Web viewNow we will use the Build and Capture process to create our Base Windows 7 X64 wim image, we'll use this image in the next part to Deploy

and after it's evaluated things, the updates will be downloaded and applied

Note: the updates will not be found unless you have SMSMP=sccm.server2008r2.lab.local in your Setup windows and configmgr step

Page 57: vasanthsccm.files.wordpress.com … · Web viewNow we will use the Build and Capture process to create our Base Windows 7 X64 wim image, we'll use this image in the next part to Deploy

after this there will be another restart followed by Sysprep, and then the moment you have been waiting for, Capture !

Page 58: vasanthsccm.files.wordpress.com … · Web viewNow we will use the Build and Capture process to create our Base Windows 7 X64 wim image, we'll use this image in the next part to Deploy

In the next part of this series, we will Deploy our captured WIM and continue learning about this fantastic product