SCCM PDF
SCCM PDF
SCCM
sponsored by
Brought to you by Windows IT Pro
Contents
Preflight checklist for SCCM Windows 7 Deployment SCCM Windows Deployment Tip: Using USB Installation Media 4 SCCM Windows Deployment Tip: Use a Key Management Server 5 SCCM 2007 SP2 required for Windows 7/2008 OS Deployment 5 DirectAccess gives Internet-based SCCM clients seamless remote control 6 Create a Windows 7-based WinPE compatible with SCCM 6 Deploy Microsoft App-V even if App-V Isnt in Base OS Image 8 Windows Intune Limitations Compared to SCCM 10 Windows 7 BranchCache Shares Files Between Peers on a Subnet 11 Windows 7 boosts SCCM BDP Connections from 10 to 20 12 Next version of SCCM embraces Role Based Access Control and BranchCache 12 3
Access rights to the Active Directory OU(s) to contain the computer account objects Add rights for resource objects to the SCCM database Read rights to the location where the OS image files (.WIMs) will be stored
As part of this step, youll also want to create a folder to hold OS image filesfor example, C:\CapturedOSimages, and share this folder out. It will be used to receive the final OS image. 2. Create a reference machine. You need a piece of real hardware template Windows 7 installation customized to your taste. This can be any old machinea cast-off laptop, a maintenance spare, whateverthat is capable of running Windows 7. Of course, the faster the hardware, the less time youll spend in the reference machine build process, so dont scrimp on CPU speed and memory if you dont have to. The machine should be 64-bit capable, so that you can create both 32-bit and 64-bit Windows 7
process is fully automated. In SCCM, navigate to SCCM Computer Management->Operating System Deployment->Task Sequences->Create Task Sequence media. Select your USB key and then unmount it at completion. 5. Perform the image capture. Insert the USB key on ref machine, run the .exe it contains. The reference machine will execute the task sequence stored on the key, reboot the machine, and start the capture process. It will boot into WinPE, change to the Out of Box Experience (OBE), then transfer the image to the SCCM server share as a .WIM (Windows Image) file. Youll be prompted to enter a few values, including the destination share for the image. The whole process takes less than 15 minutes on an uncongested gigabit network. 6. Import the captured image into SCCM. Youve finished build-and-capture. Now youre ready to prep SCCM for deployment. Navigate to SCCM Computer Management->Operating
System Deployment->Operating System Images, and select Add an Operating System Image. Choose the .WIM file from the build-and-capture folder, and SCCM will import it. Youre now ready for deployment. For many shops, you can deploy the image as-is. Some client platforms, however, may require special drivers for non-generic NIC, disk, and video hardware. If thats the case, youll need to add drivers to your deployment process, which is its own complex topic outside the scope of this preflight checklist. A great source for guidance is Hayes Jupes blog entry SCCM OSD Driver best practices: http://hayesjupe.wordpress.com/sccm-osd-driver-best-practices Youre now ready to begin the deployment process best suited to your needs, which involves creating a task sequence and advertising it, and selecting various installation or migration options.
Configuration Manager (SCCM) 2007 support Windows 7 and Windows Server 2008 R2 SP1?
2007 SP2, R2, and R3 all support Windows 7 SP1 and Windows Server 2008 R2 SP1 operating systems for client installation. This includes deployment of these OSes and hosting of roles and consoles where supported by the OS. This announcement on TechNet (http://tinyurl.com/sccmwin7) provides full details, along with two updates required for full SP1 support.
Manager (SCCM) Internet-based clients are running Windows 7 and are Direct Access enabled. Do I still need to use the SCCM Internet-Based Client Management feature?
allows clients that are connected to the Internet without a VPN connection into the corporate network to be managed by SCCM through the use of certificates to protect the communications. There are certain SCCM features that arent supported when using the Internet-based management features, including Remote Control, OS Deployment, and Network Access Protection. DirectAccess lets clients connected to the Internet have full connectivity to corporate resources and also allows corporate
infrastructure services, including SCCM, to have access to the Internet-based machines. With DirectAccess, clients on the Internet are treated as though theyre still on the corporate network, and therefore SCCM can manage them as such. So if all your Internet clients are DirectAccess enabled, youre not required to use SCCM Internet-Based Client Management. Because the clients are treated as if theyre on the corporate network, certain features (such as Remote Control) that arent available for SCCM Internet-Based Client Management computers will be available when you use DirectAccess. Note that OS Deployment still wont function, because DirectAccess relies on certificates and domain membership, and those wont be available on a newly deployed OS. Heres a great Microsoft blog entry that goes into more detail on DirectAccess and SCCM: http://tinyurl.com/sccmdirectaccess.
machine that has the latest Windows Automated Installation Kit (WAIK) installed. Make sure you open the WAIK command prompt to run the commands below that are in bold. In my example, Im creating the image in the folder d:\temp\winpe_amd64, so if you use a different path, update your commands appropriately.
C:\Program Files\Windows AIK\Tools\PETools> copype.cmd amd64 d:\temp\winpe_amd64 ========================================= Creating Windows PE customization working directory d:\temp\winpe_amd64 =========================================
1 file(s) copied. 1 file(s) copied. C:\Program Files\Windows AIK\Tools\PETools\ amd64\EFI\microsoft\boot\fonts\wgl4_boot.ttf 7 File(s) copied 1 file(s) copied. Success Updating path to include peimg, cdimage, imagex C:\Program Files\Windows AIK\Tools\ PETools\ C:\Program Files\Windows AIK\Tools\ PETools\..\AMD64 d:\temp\winpe_amd64> dism /mount-wim / wimfile:d:\temp\winpe_amd64\winpe.wim / index:1 /mountdir:d:\temp\winpe_amd64\mount Deployment Image Servicing and Management tool Version: 6.1.7600.16385 Mounting image [ ================ 100.0% ================ ] The operation completed successfully. d:\temp\winpe_amd64> dism /image:d:\ temp\winpe_amd64\mount /add-package / packagepath:"c:\Program Files\Windows AIK\tools\petools\amd64\winpe_fps\winpescripting.cab" Deployment Image Servicing and Management tool Version: 6.1.7600.16385 Image Version: 6.1.7600.16385 Processing 1 of 1 - Adding package WinPEScripting-Package~31bf3856ad364e35~amd6 4~~6.1.7600.16385 [ ================ 100.0% ================
] The operation completed successfully. d:\temp\winpe_amd64> dism /image:d:\ temp\winpe_amd64\mount /add-package / packagepath:"c:\Program Files\Windows AIK\tools\petools\amd64\winpe_fps\winpewmi.cab" Deployment Image Servicing and Management tool Version: 6.1.7600.16385 Image Version: 6.1.7600.16385 Processing 1 of 1 - Adding package WinPE-WMIPackage~31bf3856ad364e35~amd64~~6.1 .7600.16385 [ ================ 100.0% ================ ] The operation completed successfully. d:\temp\winpe_amd64> dism /unmount-wim / mountdir:d:\temp\winpe_amd64\mount /commit Deployment Image Servicing and Management tool Version: 6.1.7600.16385 Image File : d:\temp\winpe_amd64\winpe.wim Image Index : 1 Saving image [ ================ 100.0% ================ ] Unmounting image [ ================ 100.0% =====================] The operation completed successfully.
Application Virtualization (App-V) client using System Center Configuration Manager (SCCM) if App-V isnt in my base OS image?
tion, and so might the host name, etc. The switches shown are for demonstration only.
its very easy to add in a step to also deploy the App-V client. There are two main approaches. The first is to just copy the App-V client setup files to a folder and create a new package. Then, within that package create a program that calls the setup.exe for the App-V client (you need one for x64 and one for x32). The setup.exe will install, as will prerequisite requirements such as Visual C++ SP1 Redistributable 2005 and 2008 and the Application Error Reporting. Within your program, add the various switches to configure the App-V client with App-V Server (such as cache size), as shown here:
Client\x64\setup.exe /s /v" /qn SWIPUBSVRHOST=\"savdalappv01.savilltech. net\" SWIPUBSVRTYPE=\"RTSP\" SWIPUBSVRPORT=\"554\" SWIPUBSVRDISPLAY=\"SAV DALAPPV01\" SWIFSDRIVE=\"Q\" SWICACHESIZE=\"4096\""
You need all the repeat double quotes, and note that in my distribution, I have a Client folder under the main App-V source folder that contains the actual main files. Thats why I have Client\<architecture>\setup.exe. Make sure you use Browse to check that the path is correct. The above is kind of a lazy approach (but it works).The alternative is to actually install the prerequisites manually, then run setup. msi (instead of setup.exe) to install the actual App-V client. Once again, you pass switches to the setup.msi to perform the configuration. If youre deploying to Windows Vista and Windows 7, you need to deploy the Visual C++ SP1 2005 and 2008 redistributables (you need the linked versions because they have the ATL security update). The application error reporting is in the Support folder of each architectures setup files and is installed from there. If youre deploying to Windows XP, you also need to deploy the Microsoft Core XML Services 6.0 SP1. You could deploy these by creating a package for each of the components and adding a program to deploy with dependencies (the best option to re-use components). Or you can put them all in one package and use a script to call each component one at a time, such as the following (which I saved as x64install. bat):
My full command line from above is shown below. Note that I use RTSP (hence port 554)this might be different in your organiza-
start /wait msiexec /i %~dp0Client\x64\Support\Watson\dw20shared. msi APPGUID={342C9BB8-65A0-46DEAB7A-8031E151AF69} REBOOT=Suppress REINSTALL=ALL REINSTALLMODE=vomus start /wait msiexec.exe /i %~dp0Client\x64\setup.msi SWIPUBSVRHOST="savdalappv01. savilltech.net" SWIPUBSVRTYPE="RTSP" SWIPUBSVRPORT="554" SWIPUBSVRDISPLAY="SAVDALAPPV01" SWIFSDRIVE="Q" SWICACHESIZE="4096" /q
Note that I have switches to configure the App-V client. Also note for the Watson (Application Error Reporting) install, the APPBUID is AppV client version-specific. In the above, thats the right GUID for the 4.6 SP1 client install. The full list can be found on this TechNet page, in case you want to install a different version of App-V client, but this FAQ is based on installing the 4.6 SP1 client. I also created a batch file for the x86 install:
My full hierarchy of files is shown below for easy reference to match my configuration and install files:
start /wait %~dp0Client\prereq\vc2005\ vcredist_x86.exe /q start /wait %~dp0Client\prereq\vc2008\ vcredist_x86.exe /q start /wait msiexec /i %~dp0Client\x86\Support\Watson\dw20shared. msi APPGUID={342C9BB8-65A0-46DEAB7A-8031E151AF69} REBOOT=Suppress REINSTALL=ALL REINSTALLMODE=vomus start /wait msiexec.exe /i %~dp0Client\x86\setup.msi SWIPUBSVRHOST="savdalappv01. savilltech.net" SWIPUBSVRTYPE="RTSP" SWIPUBSVRPORT="554" SWIPUBSVRDISPLAY="SAVDALAPPV01" SWIFSDRIVE="Q" SWICACHESIZE="4096" /q
I use the same 32-bit Visual C++ install for both 32-bit and 64bit installs. Only the Watson version and App-V client change between architectures. I then create a program within the App-V client package that just calls the x64install.bat (or x32install.bat), as shown (called BitByBit for mine, compared to the regular x64 install that uses setup.exe):
App-V Client 4.6 SP1\x64install.bat App-V Client 4.6 SP1\x86install.bat App-V Client 4.6 SP1\Client\Prereq\ vc2005\vcredist_x86.exe App-V Client 4.6 SP1\Client\Prereq\ vc2008\vcredist_x86.exe App-V Client 4.6 SP1\Client\x64\setup.exe App-V Client 4.6 SP1\Client\x64\setup.msi App-V Client 4.6 SP1\Client\x64\Support\ Watson\dw20shared.msi App-V Client 4.6 SP1\Client\x86\setup.exe App-V Client 4.6 SP1\Client\x86\setup.msi App-V Client 4.6 SP1\Client\x86\Support\ Watson\dw20shared.msi
Ideally, put each part into its own package with its own install program. Doing it that way gives you the most reuse and selfrepair functionality. The batch file approach is a nice middle option, while just calling setup.exe is certainly the fastest and easiest way but will gives a slower installation (the prerequisites have to be extracted from the setup.exe for Visual C++ then installed). No matter which method you choose, you should place the actual App-V client deployment near the end of the task sequence, where you normally deploy applications such as your malware
protection and Microsoft Office (if its not virtualized), as shown below. Note that in mine, Im also deploying the Office Deployment Kit for App-V, because I virtualize Office 2010 with App-V:
pockets of users outside of their corporate environment who they still want to manage. Intune is a per-computer, per-month subscription. As part of that subscription, as long as the computer has Windows 7 Professional or Business, the Intune subscription gives the right to upgrade that machine to Windows 7 Enterprise. For an additional $1 a month per computer, MDOP can also be added, giving access to all of MDOPs features, including Microsoft Application Virtualization, Microsoft Enterprise Desktop Virtualization, Advanced Group Policy Management, Diagnostics and Recovery Toolset, Desktop Error Monitoring, and Asset Inventory Service.
ment solution. It offers some capabilities similar to the on-premise System Center Configuration Manager (SCCM) solution, including Microsoft update management, malware protection, inventory, remote assistance, and alerts and monitoring. Intune, in its current, first version, doesnt offer software or OS deployment. Intune can be great for organizations that cant deploy SCCM or that have
new feature that allowed data downloaded by one person to be shared with peers on the same local subnet, a feature known as distributed mode BranchCache. (An alternative is dedicated mode, which is where a Server 2008 R2 server is specified to cache content for an entire group of computers). It looks something like this (diagram courtesy of Microsoft):
As the name, and this diagram, suggests, this is primarily aimed at distributed environments that may have a slow (high latency) link to the main datacenter, where having 50 users download the same 10MB file is a waste of bandwidth that will mean a poor end-user experience. With BranchCache enabled, the file would be downloaded by the first person to access the file, and the other 49 people will pull it from the machine that already downloaded it. To use BranchCache, you need Windows Server 2008 R2 to host your content. Your clients must be running Windows 7 or Server 2008 R2, and BranchCache must be enabled on both the server and clients. The good news is that SCCM can take advantage of this functionality, providing youre running SCCM 2007 SP2 or above. You must check the option to allow clients to transfer content from this distribution point using BITS, HTTP and HTTPS on the distribution point properties in the General tab of SCCM. You also need to configure the advertisements to download and execute, instead of running directly from the distribution point. Heres a great MSDN blog that goes into more detail on this topic: http://tinyurl.com/win7branchcache
System Center Configuration Manager (SCCM) 2007 branch distribution point, can I have 20 simultaneous connections instead of 10?
information using a file share, the server service must be running on the BDP computer.
A. BDPs are a new feature in SCCM 2007 that enable a nonserver OS (you can still use a server OS) to act as a distribution point for a location. Windows XP SP2 and above were originally supported as BDPs, provided the computer is part of an Active Directory domain, is an SCCM client, and isnt configured to use an Internet-based management point. Because the BDP shares
10 concurrent connections to its file shares, so if you have more than 10 machines at a location, understand that only 10 will be able to connect at any one time. Windows 7 increases the number of simultaneous connections to a file share from five or 10 (depending on your OS version) in previous versions of Windows to 20 in all versions of Windows 7. This means if you use a Windows 7 client as a branch distribution point with SCCM 2007, it will support 20 simultaneous connections instead of the five or 10 you received with previous versions.
Next version of SCCM embraces Role Based Access Control and BranchCache
By Orin Thomas
Following on from Exchange Server 2010, the next version of SCCM, SCCM 2012 due out in 2012 H1, embraces the concept of Role Based Access Control (RBAC). RBAC is a more advanced model for allocating administrative permissions. Not only do you designate what the permission is (for example, the right to meter software usage) you designate where the permission applies (in the case of SCCM this might be to a particular collection of computers). The next version of SCCM brings a significant number of advancements, including full integration with Windows Server 2008 R2 and Windows 7 BranchCache technologies. BranchCache is a peer-caching technology that allows organizations running Windows 7 to more effectively use WAN bandwidth. In the case of the next version of SCCM, deployed files will be peer cached out at the branch office on the clientsmeaning that you will be able to efficiently get software out to branch offices without having to go through the rigmarole of configuring a branch office deployment point. Find out more about SCCM 2012 at Microsofts System Center 2012 Release Candidate portal: www.microsoft.com/en-us/ server-cloud/system-center.