![Page 1: W-05: Windows Internals Windows 7 Setup and Windows AIK 2download.microsoft.com/documents/UK/Danmark/technet... · Windows AIK 2.0 Johan Arwidmark Chief Technical Architect, TrueSec](https://reader034.vdocument.in/reader034/viewer/2022042920/5f64f99b7b687858e91e3101/html5/thumbnails/1.jpg)
W-05: Windows Internals –
Windows 7 Setup and
Windows AIK 2.0
Johan Arwidmark
Chief Technical Architect, TrueSec Inc.
![Page 2: W-05: Windows Internals Windows 7 Setup and Windows AIK 2download.microsoft.com/documents/UK/Danmark/technet... · Windows AIK 2.0 Johan Arwidmark Chief Technical Architect, TrueSec](https://reader034.vdocument.in/reader034/viewer/2022042920/5f64f99b7b687858e91e3101/html5/thumbnails/2.jpg)
Home...
![Page 3: W-05: Windows Internals Windows 7 Setup and Windows AIK 2download.microsoft.com/documents/UK/Danmark/technet... · Windows AIK 2.0 Johan Arwidmark Chief Technical Architect, TrueSec](https://reader034.vdocument.in/reader034/viewer/2022042920/5f64f99b7b687858e91e3101/html5/thumbnails/3.jpg)
Agenda
• The Windows 7 Setup Engine
– Image Based Setup and Automation
• Device Drivers in Windows 7
– Image Servicing & Device Driver Ranking
• Troubleshooting
– Logfiles
![Page 4: W-05: Windows Internals Windows 7 Setup and Windows AIK 2download.microsoft.com/documents/UK/Danmark/technet... · Windows AIK 2.0 Johan Arwidmark Chief Technical Architect, TrueSec](https://reader034.vdocument.in/reader034/viewer/2022042920/5f64f99b7b687858e91e3101/html5/thumbnails/4.jpg)
Demo Environment
• Hyper-V R2, 8 GB RAM, 1 TB HDD
DC01
DC and DNS
MDT01
MDT 2010
WDS, WSUS and DHCP
SQL 2008 Express SP1
DC02
DC and DNS
CM01
MDT 2010
SQL 2008 SP1
WDS, WSUS and DHCP
ConfigMgr 2007 SP2
![Page 5: W-05: Windows Internals Windows 7 Setup and Windows AIK 2download.microsoft.com/documents/UK/Danmark/technet... · Windows AIK 2.0 Johan Arwidmark Chief Technical Architect, TrueSec](https://reader034.vdocument.in/reader034/viewer/2022042920/5f64f99b7b687858e91e3101/html5/thumbnails/5.jpg)
Windows 7 Setup
• Setup is exclusively image-based
– 32- or 64-bit executable
– Automated via unattend.xml
– New boot from VHD option
– One image can support all hardware
• WinPE 3.0 drives the Deployment
![Page 6: W-05: Windows Internals Windows 7 Setup and Windows AIK 2download.microsoft.com/documents/UK/Danmark/technet... · Windows AIK 2.0 Johan Arwidmark Chief Technical Architect, TrueSec](https://reader034.vdocument.in/reader034/viewer/2022042920/5f64f99b7b687858e91e3101/html5/thumbnails/6.jpg)
DEMO – FOLLOWING A
WINDOWS 7 SETUP…
![Page 7: W-05: Windows Internals Windows 7 Setup and Windows AIK 2download.microsoft.com/documents/UK/Danmark/technet... · Windows AIK 2.0 Johan Arwidmark Chief Technical Architect, TrueSec](https://reader034.vdocument.in/reader034/viewer/2022042920/5f64f99b7b687858e91e3101/html5/thumbnails/7.jpg)
Automating the Setup
• Unattend.xml is the key…
• WSIM (from WAIK 2.0) it’s creator…
– WIM Files and Catalog Files
– Distribution Share
– Adding Packages
– Adding Drivers
![Page 8: W-05: Windows Internals Windows 7 Setup and Windows AIK 2download.microsoft.com/documents/UK/Danmark/technet... · Windows AIK 2.0 Johan Arwidmark Chief Technical Architect, TrueSec](https://reader034.vdocument.in/reader034/viewer/2022042920/5f64f99b7b687858e91e3101/html5/thumbnails/8.jpg)
W7 Configuration Passes
Windows PE Windows Setup Sysprep
WindowsPE Windows PE Generalize
offlineServicing
Specialize
OobeSystem
AuditSystem
AuditUser
![Page 9: W-05: Windows Internals Windows 7 Setup and Windows AIK 2download.microsoft.com/documents/UK/Danmark/technet... · Windows AIK 2.0 Johan Arwidmark Chief Technical Architect, TrueSec](https://reader034.vdocument.in/reader034/viewer/2022042920/5f64f99b7b687858e91e3101/html5/thumbnails/9.jpg)
DEMO – AUTOMATING THE
SETUP
![Page 10: W-05: Windows Internals Windows 7 Setup and Windows AIK 2download.microsoft.com/documents/UK/Danmark/technet... · Windows AIK 2.0 Johan Arwidmark Chief Technical Architect, TrueSec](https://reader034.vdocument.in/reader034/viewer/2022042920/5f64f99b7b687858e91e3101/html5/thumbnails/10.jpg)
Setup and Modern Deployment
• Setup is only on of many actions– Sometimes overlapping
Part/Format
RAID Array
Apply OS
Patch
Drivers
![Page 11: W-05: Windows Internals Windows 7 Setup and Windows AIK 2download.microsoft.com/documents/UK/Danmark/technet... · Windows AIK 2.0 Johan Arwidmark Chief Technical Architect, TrueSec](https://reader034.vdocument.in/reader034/viewer/2022042920/5f64f99b7b687858e91e3101/html5/thumbnails/11.jpg)
Offline Servicing
• Before or during Deployment
• Using Deployment Imaging and Servicing (DISM)
• Adding Packages
• Adding Drivers
![Page 12: W-05: Windows Internals Windows 7 Setup and Windows AIK 2download.microsoft.com/documents/UK/Danmark/technet... · Windows AIK 2.0 Johan Arwidmark Chief Technical Architect, TrueSec](https://reader034.vdocument.in/reader034/viewer/2022042920/5f64f99b7b687858e91e3101/html5/thumbnails/12.jpg)
DEMO – OFFLINE SERVICING
![Page 13: W-05: Windows Internals Windows 7 Setup and Windows AIK 2download.microsoft.com/documents/UK/Danmark/technet... · Windows AIK 2.0 Johan Arwidmark Chief Technical Architect, TrueSec](https://reader034.vdocument.in/reader034/viewer/2022042920/5f64f99b7b687858e91e3101/html5/thumbnails/13.jpg)
Component based servicing
Component Based
Servicing (CBS) Component
Servicing
Infrastructure (CSI)
Driver Management
and Install (DMI)
Component Management
Infrastructure (CMI)
Systems Management
Infrastructure (SMI)
Kernel Transaction
Manager (KTM)
![Page 14: W-05: Windows Internals Windows 7 Setup and Windows AIK 2download.microsoft.com/documents/UK/Danmark/technet... · Windows AIK 2.0 Johan Arwidmark Chief Technical Architect, TrueSec](https://reader034.vdocument.in/reader034/viewer/2022042920/5f64f99b7b687858e91e3101/html5/thumbnails/14.jpg)
Setup Logfiles
• Locations depends… See KB 927521
– C:\WINDOWS\
– C:\WINDOWS\PANTHER
– C:\WINDOWS\INF
– C:\$WINDOWS.~BT\Sources\Panther
– X:\$WINDOWS.~BT\Sources\Panther
![Page 15: W-05: Windows Internals Windows 7 Setup and Windows AIK 2download.microsoft.com/documents/UK/Danmark/technet... · Windows AIK 2.0 Johan Arwidmark Chief Technical Architect, TrueSec](https://reader034.vdocument.in/reader034/viewer/2022042920/5f64f99b7b687858e91e3101/html5/thumbnails/15.jpg)
Setup Logfiles, continued
• Key Logfiles
– Setupact.log
– setuperr.log
– setupapi.dev.log
– setupapi.app.log
![Page 16: W-05: Windows Internals Windows 7 Setup and Windows AIK 2download.microsoft.com/documents/UK/Danmark/technet... · Windows AIK 2.0 Johan Arwidmark Chief Technical Architect, TrueSec](https://reader034.vdocument.in/reader034/viewer/2022042920/5f64f99b7b687858e91e3101/html5/thumbnails/16.jpg)
DEMO – TROUBLESHOOTING
WINDOWS 7 SETUP
![Page 17: W-05: Windows Internals Windows 7 Setup and Windows AIK 2download.microsoft.com/documents/UK/Danmark/technet... · Windows AIK 2.0 Johan Arwidmark Chief Technical Architect, TrueSec](https://reader034.vdocument.in/reader034/viewer/2022042920/5f64f99b7b687858e91e3101/html5/thumbnails/17.jpg)
Windows 7 Device Drivers
• DirectX
• The Windows 7 Driver Store
– PNP Service
– Driver ranking
– Device Driver signing
![Page 18: W-05: Windows Internals Windows 7 Setup and Windows AIK 2download.microsoft.com/documents/UK/Danmark/technet... · Windows AIK 2.0 Johan Arwidmark Chief Technical Architect, TrueSec](https://reader034.vdocument.in/reader034/viewer/2022042920/5f64f99b7b687858e91e3101/html5/thumbnails/18.jpg)
DEMO – WINDOWS 7 DEVICE
DRIVERS
![Page 19: W-05: Windows Internals Windows 7 Setup and Windows AIK 2download.microsoft.com/documents/UK/Danmark/technet... · Windows AIK 2.0 Johan Arwidmark Chief Technical Architect, TrueSec](https://reader034.vdocument.in/reader034/viewer/2022042920/5f64f99b7b687858e91e3101/html5/thumbnails/19.jpg)
Resources
• Free Tutorials and Training Videos– www.deploymentcd.com
• Blogs on Deployment– www.deployvista.com
– www.myitforum.com
– http://blogs.technet.com/msdeployment
– http://blogs.technet.com/deploymentguys
– http://blogs.technet.com/mniehaus
![Page 20: W-05: Windows Internals Windows 7 Setup and Windows AIK 2download.microsoft.com/documents/UK/Danmark/technet... · Windows AIK 2.0 Johan Arwidmark Chief Technical Architect, TrueSec](https://reader034.vdocument.in/reader034/viewer/2022042920/5f64f99b7b687858e91e3101/html5/thumbnails/20.jpg)
THANK YOU!