1 / 50

Longhorn OS Deployment & Manufacturing Features

Longhorn OS Deployment & Manufacturing Features. Mark Myers Senior Program Manager Industry Engagement & Engineering. Agenda. Background Goals - Next version of Windows codenamed “Longhorn” Manufacturing Tools Overview – The Future

lee
Download Presentation

Longhorn OS Deployment & Manufacturing Features

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. Longhorn OS Deployment& Manufacturing Features Mark Myers Senior Program Manager Industry Engagement & Engineering

  2. Agenda • Background • Goals - Next version of Windows codenamed “Longhorn” Manufacturing Tools • Overview – The Future • OPK compared to (WAIK) Windows Automation Installation Kit • Longhorn OEM Pre-install Tool Kit (OPK) Tools Overview • Setup Manager and Unattend support • Image Based Setup (IBS) • Windows Imaging (Ximage) • Multi Lingual User Interface (MUI) • Windows PE • Windows Deployment Services (WDS) • File Services • Summary – How it all Works • Recovery Environment • Available Resources

  3. Background • Today’s OS installation routine is designed for the retail end user scenario • OS is designed with too many dependencies and lacks flexibility with image creation, updates, and deployment • Hardware dependencies and language localization requires creation and maintenance of too many OS Images • OS installs are time consuming and inefficient (Text mode, GUI Mode, etc.) • Pre-installation tool kit lacks support for full end to end preinstall scenario’s • Access to Windows PE environment now available to ISV, IHV, ODM, OEM’s and Corporate Account (SA)

  4. Goals of Longhorn Manufacturing Features • Provide an end-to-end solution for easy image creation, modification and deployment out of the box • Reduce the total number of OS images required by OEMs and System builders • Consolidate existing tools to gain efficiencies on factory floor and with image creation • Increase factory velocity by providing tool enhancements around scripting, server storage and deployment automation tools • Provide enhanced documentation throughout the OS beta cycle through post RTM of the Longhorn OS • Create a new servicing infrastructure to allow for both online and offline servicing of the OS components and or images

  5. Overview – The Future • Longhorn OS is built from the ground up from a list of components • A component is a unit of distribution, with servicing and binding characteristics • Has resources(files, registry, etc.) • Contain dependencies on other components • Exposes configurable properties OS Components Shell File System Net- working Media Player Audio

  6. Manufacturing Features Review OEMs Corps Retail WAIK OPK Automation Tools Setup Manager Automation Unattend Setup MUI IBS Imaging Utilities File Services Recovery Env. Backup/Restore Installing LH WDS WinPE ADS

  7. Difference Between OPK and WAIK • Used by OEMs for bare metal pre-installation • Focus is on BTO, BTP scenarios • Contains Windows PE as part of OPK license • OEM Specific Licensing and Documentation contained OPK WAIK OEM Pre-Installation Kit Windows Automated Installation Kit Meant for corporations, IHV, ISV, and System Integrators Focus is on IT Pro network or local OS based installations Contains all tools and documentation except Windows PE and OEM licensing information

  8. Manufacturing Features Review OEMs Corps Retail WAIK OPK Automation Tools Setup Manager Automation Unattend Setup MUI IBS Imaging Utilities File Services Recovery Env. Backup/Restore Installing LH WDS WinPE ADS

  9. Setup Manager • Tasks: • Automate the OS Installation process • Ability to add drivers, applications, QFE’s and Service Packs during the OS installation phase • Update OS based components and feature settings • Application: • Create an Unattend.xml file for both install and • image update • Ability to modify an OS image offline, that is not booted

  10. Setup Manager – Creating the Unattend.xml

  11. Unattend.xml File Information • Becomes the new universal setup answer file for the Longhorn OS (Components, Servicing, and Applications installs) • Created using the new SetupMgr application or Notepad • Fully scriptable file based on XML standard • Use a variety of script engine types to perform modifications (VBS, Java, Perl, etc) • All Unattend.txt settings will be either migrated over or evolved into new settings within the new Unattend.xml file • Can be used by partners to add required sections/settings for Factory install processing • Ability to fully automate orders within the factory, building and deploying an OS image on the fly based on customer orders

  12. Setup Manager OS and Application Management Options

  13. Setup Manager and OfflineImage Modification • Ability to add, remove and modify components, drivers (in-box and 3rd party), languages, and SP/QFE’s • Support for modifying an image offline as an image on the server • Support for modifying an image offline locally on the client machine • offline image editing on the Server using Setup Manager UI and scripting support • Offline image editing on the Client using Setup servicing tool built for use within in Windows PE

  14. Manufacturing Features Review OEMs Corps Retail WAIK OPK Automation Tools Setup Manager Automation Unattend Setup MUI IBS Imaging Utilities File Services Recovery Env. Backup/Restore Installing LH WDS WinPE ADS

  15. Image-Based Setup (IBS) • Every OS build, including the final release of Longhorn will ship as a Sysprep’d OS image which has been “Installed” • Combination of all scripting files (OEMinfo, OOBEini, WinBom, etc) into a single scriptable Unattend file • Moving from Winntxx to Setup.exe installation program • Windows “Longhorn” Setup supports upgrading FAT/FAT32 to NTFS, with the default format type NTFS • Two ways to “Install” Longhorn: • Using the RTM CD to install using Unattend.xml script via local media or via the network • Install, configure, capture, and deploy using an image (MS or 3rd party) • IBS + Unattend used to modify (add, remove, and configure) components in an offline way

  16. Image-Based Setup Phases Downlevel Upgrade WinPE On Line Configuration First Boot OOBE Upgrade Bare Metal Install • Make device “unique”: • Sysprep specialization “Uniqueness” performed • Machine OOBE options and settings: • EULA accept • Registration • Machine name • Users • Connectivity • Regional Settings • Component Configuration: • Boot to “basic” OS • Apply license files • Configuration • “Unattend.xml” • Common components • SKU Specific components • Optional Components Basic Setup GUI: Data Entry Setup Selections Apply Image Prepare boot data Offline config

  17. Manufacturing Features Review OEMs Corps Retail WAIK OPK Automation Tools Setup Manager Automation Unattend Setup MUI IBS Imaging Utilities File Services Recovery Env. Backup/Restore Installing LH WDS WinPE ADS

  18. Goals For Windows Imaging • Provide vendors and partners with a complete end to end solution ranging from CD distribution to ADS network provisioning • Create and promote a shared imaging format across Microsoft for OS images complete with Applications • Platform architecture neutral, works across hardware platforms supported by Windows • Increase the velocity of OS installation and deployment while reducing the size of Windows while in transit • Solution for consistent, reliable installation, upgrades, andrecovery of Windows • Reduce engineering costs • Initial development of image by saving time with image creation • Initial deployment of image by saving space and net bandwidth • Servicing of image by supporting OS servicing mechanism

  19. Windows Imaging (WIM) • WIM is a file-based imaging format that exposes functionality via a command line interface tool called Ximage.exe • Compressed file streams for smaller more manageable images • Single instancing of files across Sku’s contained within images • Flexible • Manage images without extraction and or booting • Boot images from within the WIM for faster execution • Metadata is XML and is extensible • WIMGAPI • Full API set. • Only way to customize image metadata • Documented within the OPK and WAIK • WIM File System Filter • Allows images to be mounted as folders and read or modified without extraction/recapture steps • WIM Boot Filter • Boot an image within a WIM. Only one image within a WIM file may be marked as bootable from that WIM

  20. Windows Imaging Details (con’t) • CD/DVD Spanning • Split WIM files into multiple WIM parts (.swm files) of a specified size – targeted for spanning images over multiple pieces of media • Support for applying images from multiple WIM parts • Full edit support of images – FS driver used to mount and edit images • Mount images as read-only or read-write • Commit or discard changes to the WIM image • Export images from one WIM to another or to a new WIM • Delete images from within a WIM • NTFS and FAT interoperability • Supports all NTFS features (object IDs, hard links, EFS, etc.)

  21. Windows Imaging Details (con’t) • Supports variable sized target drives • Platform Architecture Independent • Single instance of duplicate files • File size and SHA-1 hash compare • Optional byte-by-byte compare • Ability to combine multiple images into single image file (WIM) • Multiple compression options • Based on existing MS compression technologies LZX or LZNT1 Compression algorithms used • Better compression results than sector-based imaging • Command line tool that will support full scripting options for capture, mounting, editing and deploying

  22. Manufacturing Features Review OEMs Corps Retail WAIK OPK Automation Tools Setup Manager Automation Unattend Setup MUI IBS Imaging Utilities File Services Recovery Env. Backup/Restore Installing LH WDS WinPE ADS

  23. Multi-Lingual User Interface (MUI) • Multi-Lingual User Interface (MUI) is the future localization model for the Longhorn OS • System code/data are language neutral with English as just another UI language • Localized OS products are created by adding the MUI language component to the language neutral base • UI language change is just a user setting or a script setting for OEM, System Builders, and Corporations • Multiple UI languages can be installed and used on a single OS SKU based on licensing policies with OOBE providing user with Language selection option • In unattend.xml, you specify which language UI to install to new or existing OS images • Support for Offline add of MUI language to existing images

  24. Multi-Lingual User Interface (MUI) (con’t) • MUI Languages will be RTM’d based on completion (Prioritization list coming) • MUI components may be as small as 40 MB with the largest being approx 150 MB • Globalization information planned to be published within the new WDK starting with Beta 1 for driver and application support • Support for adding, switching between languages support with OS present/online

  25. Componentization for Globalization & Localization: Notepad.ManifestResources Culture: en Notepad.ManifestResources Culture: de Notepad German Language Dependent Comp Notepad. Resources Culture: de Language Dependent Comp: Notepad. Resources Culture: en Language Neutral Comp Culture: * Localization Process Notepad English Notepad Notepad. Resources. ManifestResources Culture: en Notepad. Resources. ManifestResources Culture: de US Dev MUI Factoring Process

  26. Manufacturing Features Review OEMs Corps Retail WAIK OPK Automation Tools Setup Manager Automation Unattend Setup MUI IBS Imaging Utilities File Services Recovery Env. Backup/Restore Installing LH WDS WinPE ADS

  27. What Is Windows PE? • Windows PE is a reduced version of Microsoft’s Windows XP and Windows Server 2003 products • Can be created from either a x86-based 32-bit operating system SKU or an Itanium OS SKU today • Future Windows PE provides full networking, driver injection, WMI support, Ramdisk, and access to thousands of supported APIs • Windows PE is used to build, test, and deploy OS images • Windows PE is a base platform for a variety of third party support related solutions • Hardware and software test and diagnostic tools • OS and utilities-based deployment • Virus scanning and recovery-based products • Replacement to MS-DOS and 16-bit dependencies

  28. Windows Preinstallation Environment .NET Framework IIS ASP.NET MSMQ Transaction Service Windows Media Services Distributed File Service STS VPN RAS PKI Smart Card Active Directory WMI Kerberos Windows PE Windows XP Pro/2003 Complete OS Solution Customizable Boot Environment NTFS Full Drivers Windows PE is a scaled down copy of Windows XP or Server 2003 It replaces MS-DOS in deployment and diagnostic scenarios. Forced reboot Every 24 hours of uptime. Full APIs Full networking Mass storage device support 16/32-bit program support Integrated Development Programming Frameworks Application Services Limited Drivers NTFS Media Services API subset TCPIP Web Services Hardware (x64, x86 ,IA64) File/Print Services Mass storage device support Network Access Services 32/64-bit program support Directory/Security Services

  29. Longhorn Version of Windows PE • Feature parity with Server 2003 Service Pack 1 Windows PE feature sets: • WMI support for access to multiple hardware based providers and classes • Windows based driver injection and PnP boot support • RAMDISK boot support for Hard Drive (HD), Compact Disc (CD), DVD, USB Flash Drive (UFD), and Pre-Boot eXecution Environment (PXE) • Min 256 MB required on boot machine • Read only Ramdisk today • Sub 30 second boot times possible using either network or USB Flash Drive (UFD) • Internet Connection Firewall support • Ensures Windows PE safe from viruses, worms, etc • WinPE Boot support on USB Flash Devices • Currently an OEM only feature in XP/Server 2003 • Formal documentation; Application debug and Win32/64 bit APIs NOT supported

  30. Longhorn Version of Windows PE (con’t) • Additional features currently being finalized: • Support for Hot Plug PnP within Windows PE with faster driver PnP due to new inf. parsing design • Ramdisk boot support with up to 32 Meg of Read/Write scratch space • File Based Write Filter (FBWF) support for allowing writes even when booted on read only media such as CD or DVD • Implementing a boot manager on EFI just like x86 32 and x64 based systems (ex. boot.ini) • Smaller default size (under 100MB) with faster boot times based on WIM boot support. Compressed Windows PE at around 60MB • New servicing infrastructure on par with Windows Longhorn solution (CBS/CSI) • Additional planned F6 media support (CD/DVD, UFD, and network shares)

  31. Manufacturing Features Review OEMs Corps Retail WAIK OPK Automation Tools Setup Manager Automation Unattend Setup MUI IBS Imaging Utilities File Services Recovery Env. Backup/Restore Installing LH WDS WinPE ADS

  32. Windows Deployment Services • Replaces Remote Installation Services from Windows 2000 • Will ship an update for WS2K3 with Longhorn Client in 06’ • Provides the ability to install Longhorn, XP, WS2K3, and W2K images • Utilizes WinPE as the new Client Installation Wizard (CIW) as the boot environment • Key scenarios: • Bootable componentized WinPE deployment via WDS Server: • Compressed WIM image with RAMDISK boot support • Support for customized versions of WinPE • Boot support for x86 32 and 64 bit as well for IA64 • Solution for selection and deployment of OS images from WDS server: • WinPE based WDS Client – UI consistent with Longhorn Setup • WDS Client can run in fully unattended fashion • Integration with Active Directory also supported • Scalable PXE Server built on new unified Microsoft PXE Server architecture • Uses “Provider” logic: plug-ins to augment core networking functionality • To-be published APIs • WDS BINL service can now handle more than 1600 requests per second • Improved command line and console manageability • Native support for WIM images

  33. Manufacturing Features Review OEMs Corps Retail WAIK OPK Automation Tools Setup Manager Automation Unattend Setup MUI IBS Imaging Utilities File Services Recovery Env. Backup/Restore Installing LH WDS WinPE ADS

  34. Longhorn File Services • Diskpart: Combining features and utilities into a single tool to allow the following functions to be fully scripted: • Active (since Windows XP) • Inactive (Windows Server 2003) • Format – NTFS both 3.1 and 4.0 along with Fat and Fat32 • Create partition primary <MBR> • Readonly • Hidden partitions (0x12, 0x27) • Shrinking volumes • Extend of the OS partition • Self-healing NTFS for fix and repair of file system without UI and lengthy end user wizards • Virtual Disk Services “VDS”: Designed to expose NTFS and File Services APIs at the programming level

  35. Manufacturing Features - How it All Works WDS IBS Setup Mgr WIM XImage WinPE 1 4 WDS CD Install 3 2 Offline Image Edit Unattended Install WinPE Boot Copy WIM Distribution Share Unattend Configuration

  36. Manufacturing Features Review OEMs Corps Retail WAIK OPK Automation Tools Setup Manager Automation Unattend Setup MUI IBS Imaging Utilities File Services Recovery Env. Backup/Restore Installing LH WDS WinPE ADS

  37. Longhorn Recovery Environment Startup Repair: Default startup recovery tool in Longhorn running in the recovery environment Diagnostic based auto-recovery from unbootable states Minimal level of user input required Manual diagnostic and repair tools available to advanced users Recovery Environment: WinPE platform extendable by OEMs with custom recovery tools Available on a hidden recovery partition or on CD/DVD Recovery environment can be launched from the installation media CD/DVD with Recovery and Startup Repair can be created by the user Partition installed by default via Longhorn setup

  38. Longhorn Recovery Environment • Goals: • Provide automatic diagnosis and recovery for unbootable systems • Empower end users with the ability to automatically recover from ≥ 80% of known causes for unbootable systems • Minimize end-user impact (data loss, downtime) when fixing unbootable systems • Reduce PSS calls for unbootable systems by >50% from XP • Provide support orgs with diagnostics to reduce call times • Provide a centralized and secure platform for manual system recovery • Integrate UX of various system recovery tools • Allow for combination of Microsoft and OEM’s to use this environment for support • Drive down OEM costs

  39. Recovery Environment Components Two scenarios: automatic and manual recovery

  40. Longhorn Recovery Feature Details • Automatic failover to on-disk Windows PE-basedrecovery environment • Every Longhorn box has 2 partitions by default • Also support CD and remote installation based recovery • Automatic failure diagnosis • Based on enhanced instrumentation • Guided recovery experience • Wizard for non-technical users • Recovery console like environment for experts • Built-in undo of most recovery actions • Error reporting on repair success and failure • Integration with automated support request tools • All diagnoses and recovery actions logged • Use existing capabilities for diagnosis and recovery • System Restore • OEM base OS image

  41. How To Deploy the Recovery Environment • Attended Setup • Limited scenarios only (e.g. disk is unpartitioned) • Unattended.xml • Disk partitioning for recovery environment • Specifying tool paths and support information • Diskpart • If deploying through WIM images, disk partitioning must be done using diskpart • Specifications/requirements of the recovery partition will be provided • OPK • Link recovery partition to main OS • Update recovery tool path • Update support tool/information

  42. Startup Repair Goals • Goals: • Reduce support costs by giving users the ability to automatically recover their systems from unbootable states without calling support • Provide a centralized location for diagnostic/repair information and tools if a user does call support • Allows for seamless access in case of system failure or problems

  43. Problems and Repair Actions These problems were identified as the leading causes for boot failures based on PSS statistics * Detection only

  44. Security • When launching the recovery environment from hard disk, a user must supply a username/password pair • User must have admin privileges • Everything in WinPE runs as SYSTEM • Needed to mitigate elevation of privilege attacks • Recovery environment on CD/DVD will not require this username/password check

  45. Recovery Environment OEM Extensibility Options • Choice of using Microsoft Recovery Environment or not • Through OPK options within Unattend.xml or via OEM pre-install process • Branding and Support information captured through Windows Longhorn Setup Manager • Specify 3rd Party Backup Tool • Support contact information to be displayed to user • Specify Support Incident Tool/Information • Separate EXE able to run in Windows PE environment • Not Extensible/Modifiable • Diagnostics • Recovery Logic • UI flow • UI Look and Feel

  46. Call To Action • Hire and train internal staff on Win32/64 bit development. Porting your current test, diagnostic and deployment tools to Windows PE • End of MS-DOS availability is 12/31/05 • Request to 3rd party IHVs to provide native Windows PE based test and diagnostic tools for their hardware partners and customers • Complete factory or internal process improvements now • Move hard disk duplicators to network-based deployments. • Enable web based “build to order” solutions for customers • Enable USB 2.0 boot in your core BIOSs for USB Flash Drive based boots • Move your pre-installation process to an image based process to ensure fast and efficient OS image deployments

  47. Community Resources • Windows Hardware & Driver Central (WHDC) • www.microsoft.com/whdc/default.mspx • Technical Communities • www.microsoft.com/communities/products/default.mspx • Non-Microsoft Community Sites • www.microsoft.com/communities/related/default.mspx • Microsoft Public Newsgroups • www.microsoft.com/communities/newsgroups • Technical Chats and Webcasts • www.microsoft.com/communities/chats/default.mspx • www.microsoft.com/webcasts • Microsoft Blogs • www.microsoft.com/communities/blogs

  48. Additional Resources • Community Sites • http://www.microsoft.com/communities/default.mspx • List of Newsgroups • http://communities2.microsoft.com/communities/newsgroups/en-us/default.aspx • Attend a free chat or webcast • http://www.microsoft.com/communities/chats/default.mspx • http://www.microsoft.com/seminar/events/webcasts/default.mspx • Locate a local user group(s) • http://www.microsoft.com/communities/usergroups/default.mspx • Non-Microsoft Community Sites • http://www.microsoft.com/communities/related/default.mspx

  49. © 2005 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.

More Related