WinPE, ImageX and ADK
Windows 2012 Server, Roles, Features Install Rules, Best Practices How did the install go? Issues, weird things…what happened? Review
I will learn how to create a WinPE bootdisk and operate ImageX to create baselines and images of servers and workstations Learning Goal
Imaging in General Microsoft AIK Windows PE ImageX Agenda
Process of moving one workstations files and settings to another ◦ Forensic backup ◦ Workstation Deployment Workstation Imaging
Backwards in Time Norton Ghost was the Standard for imaging for many years
Systems Integration and Management Services Administrator Controlled Desktops around the enterprise Application management, Inventory and Software Licence control Naturally admins wanted one tool to rule them all Systems Integration
Microsoft System Center / SMS ◦ In the past: difficult to understand, clunky, hard to use, needed other tools to work with it ◦ Today: Easier to deploy, functional, clean interface ◦ Eating into the systems management market The Poor Cousin
Flexible, easy to use command line tool to image machines for fast deployment Small and Powerful The netcat of the imaging world CLI IMAGEX
Automated Deployment Kit Automated Install Kit A collection of free tools for administrators to manage desktop and server deployments Marketing – sold users on getting Microsoft tools to pave the way for SCCM sales. Microsoft ADK / AIK
Hardware independent imaging Driver injection Completely silent operation Lightweight image format (wim) ImageX Capabilities
Windows Workstation Separate from the Server (admin station) Microsoft Windows ADK for Windows 8 A high volume USB stick – or second hard drive A burnable CD-R or DVD-R Necessary Tools
ft.com/en- ca/downloa d/details.asp x?id= ft.com/en- ca/downloa d/details.asp x?id=30652 Internet download Installing
Creating a PE Bootdisk Using ImageX Steps outline
Windows Preinstall Environment ◦ Self contained imaging platform ◦ Easy to manage ◦ Flexible (Drivers, Network) ◦ Small ◦ USB / ROM Media Windows PE
Windows Environmental Variables- Click the Deployment and Imaging Tools Icon from Windows Kits > Windows ADK Creating the WinPE Image
Copy all files needed Copype.cmd amd64 C:\winpe Copy Batch File Processor Arch Destination
Win PE Boot Files
Creating an ISO MakeWinPEMedia /ISO C:\winpe C:\winpe.iso Make Batch File Run Mode Destination Source Files
Folder Structure Open the ISO and Drag Imagex.exe into it C:\Program Files (x86)\Windows Kits\8.0\Assessment and Deployment Kit\Deployment Tools\amd64\DSIM\ Save the ISO
Self Contained Windows Environment
Make sure it’s formatted WinPE With USB MakeWinPEMedia /UFD C:\winpe_amd64 F: CommandTyoe Source Destination
Capturing with Windows PE imagex.exe /capture C: path\filename.wim "Comment" /verify Calling command Mode Flag What to image Where to save Verify after save? Image Comment
Generally, PC’s will arrive from the factory with an OS – crapware, or not your image installed on C: An important component is to wipe the drive before starting WinPE Tool called diskpart is used for this Deploying PC’s
CommandExplication Diskpart.exeLaunches diskpart Select disk 0Selects the hard drive CleanErases all partitions from the drive Create partition primaryCreates a primary partition Format fs=ntfs QuickFormats NTFS File system Select partition 1Select the first partition ActiveMake it bootable Assign letter = CAssign the drive letter Exit Diskpart Structured Command Example imagex.exe /capture C: path\filename.wim "Comment" /verify
Deploying with Windows PE imagex.exe /apply *path\file.wim* 1 C: Calling command Mode Flag Path to WIM file HDD to deploy Drive