20
W-05: Windows Internals Windows 7 Setup and Windows AIK 2.0 Johan Arwidmark Chief Technical Architect, TrueSec Inc. [email protected]

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

  • Upload
    others

  • View
    8

  • Download
    0

Embed Size (px)

Citation preview

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

W-05: Windows Internals –

Windows 7 Setup and

Windows AIK 2.0

Johan Arwidmark

Chief Technical Architect, TrueSec Inc.

[email protected]

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

THANK YOU!