1 / 59

Windows Deployment Made Easier: Meet WAIK 2.0 and Volume Activation 2.0

I've been in the IT industry since 1982US Navy for 7 yearsWrite for Windows IT Pro mag Setup and Deployment MVPDesktop Deployment Product Specialist (DDPS). Rhonda Layfield. Destination Check. Deployment ProcessImage FormatsWIMVHDWindows Automated Installation Kit (WAIK) 2.0Windows Pre Ins

jariath
Download Presentation

Windows Deployment Made Easier: Meet WAIK 2.0 and Volume Activation 2.0

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


    1. Rhonda J. Layfield Sr. Technical Architect RJL, INC. Windows Deployment Made Easier: Meet WAIK 2.0 and Volume Activation 2.0

    2. I’ve been in the IT industry since 1982 US Navy for 7 years Write for Windows IT Pro mag Setup and Deployment MVP Desktop Deployment Product Specialist (DDPS) Rhonda Layfield

    3. Destination Check Deployment Process Image Formats WIM VHD Windows Automated Installation Kit (WAIK) 2.0 Windows Pre Installation Environment (WinPE) 3.0 ImageX Deployment Image Servicing and Management (DISM) Windows System Image Manager (WSIM) User State Migration Tool (USMT) 4.0 Volume Activation 2.0 Why do you want to learn these tools? You need them to troubleshoot all the other tools (MDT, WDS, ConfManger) Knowing these tools will make you the company's deployment hero!

    6. Windows Image Format (WIM) Uses Windows Image files (.wim) Default W-7 install.wim contains multiple images Default Boot.wim Allows you to store more than one image in a file Single Instancing Modify an image offline File-based not Sector-Based

    7. VHD Image Formats You can put one on your system, add a .wim to it… and tell bcdedit to boot that OS Mounting a .VHD in Win7 is called “attaching" Un-Mounting a .VHD is called “detaching”

    8. Create New Images

    9. What is Windows PE? Scaled down version of the Windows 7 Kernel Not a full blown OS Boots into and runs from RAM drive (X:) Not appropriate for production, day-to-day use Reboots every 72 hours Command Line Interface Only Can be converted to a bootable .ISO and placed on: CD, DVD, USB Flash Drive, external HD You will need a technician machine to create a WinPE

    10. Technician machine requirements Operating system must be: Vista SP1, W-7, 2003 Server SP2, Server 2008, Server 2008 R2 If you want to create images on CD/DVD CD/DVD burner Image burning software – W7 has this Install Windows Automated Installation Kit (WAIK) 2.0 Free download from Microsoft Required software is included in the WAIK NET Framework 2.0 MSXML 6.0 MMC 3.0 if Server 2003

    11. Meet WinPE

    12. What’s New With WinPE 3.0 XML scripting support is built-in Additional packages are not inside WinPE No more “Prepping” Now you will “Profile” Deployment Image Servicing and Management (DISM) replaces Package Manager (Pkgmgr.exe) International Settings Configuration Tool (Intlcfg.exe) Windows PE command-line tool (PEimg.exe)

    13. Capturing an Image Using ImageX It’s time to create the image from the C: volume Within WinPE type: imagex /capture c: c:\ name.wim “description” Across the network I have a server named WDS and a shared folder “Images” Open a command prompt Net use W: \\WDS\Images imagex /capture c: w:\name.wim “description” Imagex /capture c: w:\Win7Ult.wim “Windows 7 Ultimate”

    14. Files Excluded From the Image Windows\CSC (offline files) RECYCLER System Volume Information pagefile.sys hiberfil.sys $ntfs.log

    15. Compression and Your Image Compression “fast (default), none or maximum” Image stored locally imagex /capture /compress switch c: c:\mkt.wim “Mkt Apps” A Win7 image not compressed = 4.36 GB (5.50 mins) A Win7 image with fast compression = 2.242 GB (< 7 mins) A Win7 image with max compression = 2.097 GB (23+ mins) Applying the image Image copied locally and applied from C: Imagex /apply C:\Max.wim 1 C:\ A Win7 image not compressed = 4.36 GB (5.33 mins) A Win7 image with fast compression = 2.242 GB (5.45 mins) A Win7 image with max compression = 2.097 GB (5.56 mins)

    16. Creating and Customizing WinPE Demo

    17. In the past we had Imagex Imagex /info <Path to image file> For example: Imagex /info c:\wims\install.wim NOW we can use DISM DISM /Get-WimInfo /wimfile:<Path to image file> Another example: Dism /get-wiminfo /wimfile:c:\wims\install.wim Document, document, document! Get Information On An Image

    18. Getting Information on Image Files

    19. DISM

    20. DISM Supports only Vista SP1 and later images Mount / unmount .wims (no capture or apply feature) Add / remove 3rd party device drivers ONLY Add / remove language packs Enable / disable / configure Windows features Add and configure updates (MSU’s)

    21. Elevated CMD Without Image Context Dism /? No image specified - your looking at the image that is currently running - called the HOST With Image Context Dism /online /? Don’t try this on WinPE Mounted image Dism /Image:c:\mount\win7 /? With or Without Image Context…

    22. Mount an image for offline servicing Patch Tuesday – adding the new patches Adding / removing drivers Enable / disable windows fetaures Firewall DISM /Mount-Wim /WimFile:C:<Path to image> /index:1 /MountDir:C:\mount DISM /Mount-Wim /Wimfile:c:\wims\install.wim /MountDir:C:\Mount Mounting Images: The whole story…

    23. Adding Drivers Add all drivers from a folder: Dism /image:C:\winpe\mount /Add-Driver /driver:C:\test\drivers\ Add all drivers from a top level folder and all folders below: Dism /image:C:\winpe\mount /Add-Driver /driver:C:\test\drivers /recurse Add a specific driver: Dism /image:C:\winpe\mount /Add-Driver /driver:C:\test\drivers\mydriver.INF Add unsigned drivers: Dism /image:C:\winpe\mount /Add-Driver /driver:C:\test\drivers\mydriver.INF /ForceUnsigned

    24. Drivers Information and Removal Get a listing of drivers: Dism /image:C:\winpe\mount /Get-Drivers Dism /image:C:\winpe\mount /Get-Drivers /format:table Get driver information: Dism /image:C:\winpe\mount /Get-DriverInfo /driver:C:\test\drivers\usb\usb.inf Remove drivers: Dism /image:C:\winpe\mount /Remove-Driver /driver:oem1.inf Remove multiple drivers Dism /image: C\winpe\mount/Remove-Driver /driver:oem1.inf /driver:oem2.inf

    25. Get mounted wim information Mount the .wim Dism /Get-MountedWimInfo Check your status OK – good Needs remount Status – Needs remount Attempt to ReMount-Wim May need to Cleanup-Wim and then Remount-Wim Mounted Images

    26. Re-Mount a .Wim Dism /Remount-Wim /MountDir:<target_mount_directory> Cleanup a .wim DISM /Cleanup-Wim Re-Mounting and Clean-Up

    27. Open elevated command prompt Diskpart create vdisk file=c:\W7Ultimate.vhd maximum=25000 type=fixed Select vdisk file=c:\W7Ultimate.vhd attach vdisk List disk (find your new disk number) Sel disk # Create part primary Sel part 1 Creating a .vhd

    28. Still in Diskpart Active Format fs=ntfs quick Assign Detail partition (get the drive letter) Exit Mkdir f:\windows Imagex /apply c:\wims\install.wim 4 f:\ Edit BCD to boot this new .vhd Creating a VHD Continued

    29. WinPE step-by-steps www.DeploymentDR.Com

    30. Windows System Image Manager (WSIM)

    31. Windows System Image Manager (WSIM) No more setup monkey…next, next, next Answer files help to create consistent installations Remember unattend.txt and winnt.sif from Windows XP? W-7’s autounattend.xml = XP’s unattend.txt/winnt.sif Remember Setup Manager from Windows XP W-7’s Windows System Image Manager (aka Windows SIM or WSIM) = XP’s Setup Manager Add third party drivers and applications via the answer file

    32. Creating an Answer File Open a catalog file (.clg) Found in the /Sources folder on product DVD One for each edition Create a new answer file Add component settings to answer file Configure properties of each component Validate the answer file Fix any issues until no error messages appear Save the answer file

    33. Creating an Unattended Answer File using WSIM demo

    34. WSIM step-by-steps www.minasi.com Newsletter # 60

    35. User State Migration Tool (USMT)

    36. User State Migration Tool Hardlink Migration Enables local file migration without copying or moving files Processes migration jobs in third of the time or less Offline User State Capture Capture during Windows PE phase to improve speed Volume Shadow Copy Capture files even while they are in use

    37. Windows 7 USMT Commands Win7 USMT /hardlink /offlinewindir (PE capture) /offlineWinOld Windows.old /vsc /auto USMT 3

    38. Volume Activation 2.0 (VA 2.0)

    39. Volume Activation in Windows 7 Guarantees you are running a Genuine Windows OS Activation ensures the Windows Genuine Advantage (WGA) ActiveX control is valid OSes that require Activation Vista Server 2008 Windows 7 Server 2008 R2 Online validation experience unchanged

    40. Two Types of Activation Multiple Activation Key (MAK) Each client connects to Microsoft to activate 30 day initial activation period Can be reset 3 times Slmgr -rearm Key Management Service (KMS) Requires a KMS Server KMS server activates with Microsoft directly Clients activate with internal KMS server

    41. Setting Up KMS

    42. Setting Up A KMS Server Service License Manager (SLMGR) \System32 folder (Vista and later Oses) Volume license software does NOT prompt for a license key The license key is built into the software Turn KMS on Slmgr –ipk INPUTKEY Slmgr –ipk 11111-22222-33333-44444-55555 Same KMS key can be used 6 times Build 6 different KMS servers using the same key KMS Servers can be re-activated 9 times Re-build a KMS server

    43. KMS Activation With Microsoft KMS Server MUST activate with Microsoft Activate Online: Slmgr –ato Activate via the phone: Slui 4

    44. How Many Domains? Single domain 1 SRV record created in DNS 1 KMS servicing multiple domains Default behavior SRV record is published in the domain the KMS server is a member of Manually create SRV records in DNS OR HKLM/Software/Microsoft/Windows NT/CurrentVersion/SL New Multi-string value Named: DnsDomainPublishList Add each DNS domain suffix on it’s own line (Deployment.Com)

    45. Manually Creating a KMS SRV Record Demo

    46. How Often Does The Client Activate? Volume Media 30 day initial grace period Every 2 hours Once Activated Activation is good for 6 months Re-news activation every 7 days

    47. Clients Finding The KMS Server Manually Directly connect clients to a specific KMS server Slmgr –skms kms_FQDN Example: Slmgr –skms kms_WDS.Deploy.Com OR Slmgr –skms kms_10.10.10.5 The default port is TCP 1688, to change it type: Slmgr –skms kms_10.10.10.5:2050

    48. Clients Automatically Find The KMS Server Performed by DNS queries KMS server registers SRV records in DNS Vlmcs Client queries DNS asking for all vlmcs SRV records Random list is sent Client chooses one of the KMS servers Connection is successful Client caches this KMS server for future activation attempts Connection fails Client chooses another KMS server until it finds one

    49. More on DNS Weight and Priority now COUNT! W7- 2008/R2 Clients only Provides load balancing (not round robin) Priority: lower is better Weight: higher is better How this works: The client attempts to contact the server of the lowest priority If that server does not respond the client attempts to contact the server with the second lowest priority If two SRV records have the same priority – weight is taken into account

    50. Does it have to be Microsoft DNS? No But it can be (recommended) Support for SRV records (RFC 2782) Support for dynamic updates (RFC 2136) BIND 8.x & 9.x

    51. New to VA 2.0 for Windows 7

    52. KMS Reporting System Center Configuration Manager 2007 System Center Operations Manager 2007 Alerts for major conditions Initialization issues DNS SRV record registration failures Reports client activations monitor license conditions and asset intelligence use wmi to capture data health of KMS service Event logs on KMS and clients

    53. In Summary… Deployment Process Image Formats WIM VHD Windows Automated Installation Kit (WAIK) 2.0 Windows Pre-Installation Environment (WinPE) 3.0 Windows System Image Manager (WSIM) User State Migration Tool (USMT) 4.0 Deployment Image Servicing and Management (DISM) Volume Activation 2.0

    54. Watch For My MDT 2010 Update 1 Book out soon And Microsoft Deployment Tools Training DVD Set DeploymentDR@Twitter.com OR Rhonda@DeploymentDR.com

    56. Complete evaluation forms on Schedule Builder Be in the running for a Jabra GN2000 USB Noise-Cancelling Mono headset

    59. Resources

More Related