SlideShare a Scribd company logo
1 of 18
Windows Embedded & Optimizing Windows for Car PCs MP3Car Meet: August 22, 2009
Overview Intro Windows Embedded Using Windows EmbeddedFeatures on XP/Vista/Win7 Tips & Techniques for Testing & Deploying Images Questions
Intro Silvio Fioritosilvio.fiorito@granturing.comhttp://blog.granturing.com MP3Car forum member since May 2004 Interests mainly in Windows Embedded, flash/USB booting, OS optimization, & software development Posted EWF, HORM, & MinLogon guides in December 2004 Worked with MP3Car on custom Windows Embedded Project Chapter in Car PC Hacks on “Embedding Windows”
Windows Embedded - 	Background Formerly called XP Embedded Released 2001 Based on XP but with additional embedded features Currently based on XP SP3 “Componentized” version of XP Over 12,000 components Embedded team worked alongside other Microsoft OS & services teams Includes “macro” components (i.e. Internet Explorer) as well as low level components such as drivers Each component has dependencies, defines registry entries, files, settings, etc. Private portal for customers to get component updates, security patches, etc. Available through embedded distributors, MSDNAA, & MSDN Embedded Not yet part of BizSpark, or for hobbyists….I’ve tried!
Windows Embedded - 	Architecture Component Database Runs in most SQL 2005+ databases Can be local or remote Component Database Manager Import new components Component Designer Create new components Target Designer Create images Component Repositories File share which holds the actual binaries Local or remote, but alwaysreferenced by share name Target Device Can be a virtual machine, same dev machine,or typically other physical hardware
Windows Embedded – 	Developing Images Identify target hardware using theTarget Analyzer Probe (TAP) Best to use a WinPE disc Enumerates the base hardwaredevices: CPU Chipset Audio Devices USB, etc. Create a custom component forhardware Have multiple components fordifferent hardware platforms Identify software dependencies What are you planning to run onthe image OS or 3rd-party Beware of 3rd party apps with nodocumentation Think about DLLs, COM objects,WMI, networking
Windows Embedded – 	Developing Images If you have an installer tryunpacking and analyzing installsteps Orca - http://msdn.microsoft.com/en-us/library/aa370557%28VS.85%29.aspx Windows Installer XML (WiX) -http://sourceforge.net/projects/wix/ Find file system changes, registrysettings, etc. Installer is not always enough,what about runtime dependencies Process Monitor - http://technet.microsoft.com/en-us/sysinternals/bb896645.aspx Not always full-proof, it’s an iterative process If all else fails, have setup tool run during device’s first boot process Not “clean”, increases first boot time, potentially more dependencies for install program, leaves temp files
Windows Embedded –	Custom Components Reusable components with all binaries, settings, and dependencies…just drop into image Loaded into component database, shared with other developers Can be versioned, auto upgrade images Common steps: Bundle files Define registry settings Define dependencies to other embedded components Create settings to be defined at build time Good way to make easy images Think about any activation or licensing issues for your components
Windows Embedded –	Target Designer
Windows Embedded –	Deployment Build output is a base XP OS, just files xcopy build to target device and boot up First Boot Agent (FBA) Configures hardware devices, loads drivers, executes custom actions FBReseal: sysprep for Embedded Capture image then redeploy to SAME hardware devices Runs through a minimal FBA again
Windows Embedded – 	Pros & Cons Ultimate control over your image From miniscule OS for specialized devices… … to full blown XP with embedded enabling features (EWF, HORM, FBWF, etc.) Highly reliable, high-performance OS when done right However…. Development time can be much higher Lots of dev and testing time for custom components, especially for 3rd-party $995 for tools, $90/device What’s the future of Windows Embedded? Skipped Vista, next version based on Windows 7 Hopefully better dev tools, and easier experiencing customizing images
Windows Embedded -	Alternatives nLite (for XP): modifies XP installation by removing components from install XP installation uses commands to set registry settings, place files, etc. Can be almost as effective as Windows Embedded, but takes just as much testing time Need to run through a full install every time you update vLite (for Vista): modifies installation image Important difference between XP and Vista installations Vista uses installer images (think OS image) Much easier deployment, can support multiple architectures Great products for hobbyists, free and large community Not for commercial products, potential licensing issues
Optimizing Windows UI Hacks for an OEM look Boot.ini: /noguiboot Custom boot logo C:indowsoot.bmp 8-bit 640x480 BMP AND set it as the desktop background! Hide startup and shutdown statusmessages Hide balloon tips Hide desktop icons and taskbar Replace Explorer with custom shell Performance & Reliability Auto restart on BSOD!!! Don’t write full memory dump Disable unnecessary services(i.e. print spooler…) On Vista & Win7: delay load services hybrid sleep Image from Gizmodo http://gizmodo.com/5322825/hey-look-another-blue-screen-of-death
Optimizing Windows Enhanced Write Filter (EWF): filters writes to configured volumes In memory or on hidden partition Necessary for certain flash drives (USB or CF) Useful for flash devices with slow write speeds Easy to setup, need to carefully consider what volumes you protect (i.e. don’t write protect your media drive!) File Based Write Filter (FBWF): filters writes to specific paths Again, useful for certain types of flash devices Alternative to EWF, protect all files except your front end config, or media folders Hibernate Once, Resume Many (HORM): works in concert with EWF, create a static hibernation state Set your image up and hibernate From then on, just turn your CarPC off, when you restart it will resume from hibernation Even if you get a BSOD or total power failure, XP won’t know the difference Hybrid sleep on Vista + Win7 MinLogon: bypasses XP logon process and runs OS as local system account Extremely fast boot up process Can introduce compatibility issues
Flash Devices for CarPCs ,[object Object]
Small, low power/heat
Shock resistant
No spin up time (instantaneous resume from standby)

More Related Content

Recently uploaded

Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 

Recently uploaded (20)

Spring Boot vs Quarkus the ultimate battle - DevoxxUK
Spring Boot vs Quarkus the ultimate battle - DevoxxUKSpring Boot vs Quarkus the ultimate battle - DevoxxUK
Spring Boot vs Quarkus the ultimate battle - DevoxxUK
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf
 

Featured

Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
Kurio // The Social Media Age(ncy)
 

Featured (20)

AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work
 
ChatGPT webinar slides
ChatGPT webinar slidesChatGPT webinar slides
ChatGPT webinar slides
 
More than Just Lines on a Map: Best Practices for U.S Bike Routes
More than Just Lines on a Map: Best Practices for U.S Bike RoutesMore than Just Lines on a Map: Best Practices for U.S Bike Routes
More than Just Lines on a Map: Best Practices for U.S Bike Routes
 

Windows Embedded & Optimizing Windows For Car PCs By Silvio Fiorito

  • 1. Windows Embedded & Optimizing Windows for Car PCs MP3Car Meet: August 22, 2009
  • 2. Overview Intro Windows Embedded Using Windows EmbeddedFeatures on XP/Vista/Win7 Tips & Techniques for Testing & Deploying Images Questions
  • 3. Intro Silvio Fioritosilvio.fiorito@granturing.comhttp://blog.granturing.com MP3Car forum member since May 2004 Interests mainly in Windows Embedded, flash/USB booting, OS optimization, & software development Posted EWF, HORM, & MinLogon guides in December 2004 Worked with MP3Car on custom Windows Embedded Project Chapter in Car PC Hacks on “Embedding Windows”
  • 4. Windows Embedded - Background Formerly called XP Embedded Released 2001 Based on XP but with additional embedded features Currently based on XP SP3 “Componentized” version of XP Over 12,000 components Embedded team worked alongside other Microsoft OS & services teams Includes “macro” components (i.e. Internet Explorer) as well as low level components such as drivers Each component has dependencies, defines registry entries, files, settings, etc. Private portal for customers to get component updates, security patches, etc. Available through embedded distributors, MSDNAA, & MSDN Embedded Not yet part of BizSpark, or for hobbyists….I’ve tried!
  • 5. Windows Embedded - Architecture Component Database Runs in most SQL 2005+ databases Can be local or remote Component Database Manager Import new components Component Designer Create new components Target Designer Create images Component Repositories File share which holds the actual binaries Local or remote, but alwaysreferenced by share name Target Device Can be a virtual machine, same dev machine,or typically other physical hardware
  • 6. Windows Embedded – Developing Images Identify target hardware using theTarget Analyzer Probe (TAP) Best to use a WinPE disc Enumerates the base hardwaredevices: CPU Chipset Audio Devices USB, etc. Create a custom component forhardware Have multiple components fordifferent hardware platforms Identify software dependencies What are you planning to run onthe image OS or 3rd-party Beware of 3rd party apps with nodocumentation Think about DLLs, COM objects,WMI, networking
  • 7. Windows Embedded – Developing Images If you have an installer tryunpacking and analyzing installsteps Orca - http://msdn.microsoft.com/en-us/library/aa370557%28VS.85%29.aspx Windows Installer XML (WiX) -http://sourceforge.net/projects/wix/ Find file system changes, registrysettings, etc. Installer is not always enough,what about runtime dependencies Process Monitor - http://technet.microsoft.com/en-us/sysinternals/bb896645.aspx Not always full-proof, it’s an iterative process If all else fails, have setup tool run during device’s first boot process Not “clean”, increases first boot time, potentially more dependencies for install program, leaves temp files
  • 8. Windows Embedded – Custom Components Reusable components with all binaries, settings, and dependencies…just drop into image Loaded into component database, shared with other developers Can be versioned, auto upgrade images Common steps: Bundle files Define registry settings Define dependencies to other embedded components Create settings to be defined at build time Good way to make easy images Think about any activation or licensing issues for your components
  • 10. Windows Embedded – Deployment Build output is a base XP OS, just files xcopy build to target device and boot up First Boot Agent (FBA) Configures hardware devices, loads drivers, executes custom actions FBReseal: sysprep for Embedded Capture image then redeploy to SAME hardware devices Runs through a minimal FBA again
  • 11. Windows Embedded – Pros & Cons Ultimate control over your image From miniscule OS for specialized devices… … to full blown XP with embedded enabling features (EWF, HORM, FBWF, etc.) Highly reliable, high-performance OS when done right However…. Development time can be much higher Lots of dev and testing time for custom components, especially for 3rd-party $995 for tools, $90/device What’s the future of Windows Embedded? Skipped Vista, next version based on Windows 7 Hopefully better dev tools, and easier experiencing customizing images
  • 12. Windows Embedded - Alternatives nLite (for XP): modifies XP installation by removing components from install XP installation uses commands to set registry settings, place files, etc. Can be almost as effective as Windows Embedded, but takes just as much testing time Need to run through a full install every time you update vLite (for Vista): modifies installation image Important difference between XP and Vista installations Vista uses installer images (think OS image) Much easier deployment, can support multiple architectures Great products for hobbyists, free and large community Not for commercial products, potential licensing issues
  • 13. Optimizing Windows UI Hacks for an OEM look Boot.ini: /noguiboot Custom boot logo C:indowsoot.bmp 8-bit 640x480 BMP AND set it as the desktop background! Hide startup and shutdown statusmessages Hide balloon tips Hide desktop icons and taskbar Replace Explorer with custom shell Performance & Reliability Auto restart on BSOD!!! Don’t write full memory dump Disable unnecessary services(i.e. print spooler…) On Vista & Win7: delay load services hybrid sleep Image from Gizmodo http://gizmodo.com/5322825/hey-look-another-blue-screen-of-death
  • 14. Optimizing Windows Enhanced Write Filter (EWF): filters writes to configured volumes In memory or on hidden partition Necessary for certain flash drives (USB or CF) Useful for flash devices with slow write speeds Easy to setup, need to carefully consider what volumes you protect (i.e. don’t write protect your media drive!) File Based Write Filter (FBWF): filters writes to specific paths Again, useful for certain types of flash devices Alternative to EWF, protect all files except your front end config, or media folders Hibernate Once, Resume Many (HORM): works in concert with EWF, create a static hibernation state Set your image up and hibernate From then on, just turn your CarPC off, when you restart it will resume from hibernation Even if you get a BSOD or total power failure, XP won’t know the difference Hybrid sleep on Vista + Win7 MinLogon: bypasses XP logon process and runs OS as local system account Extremely fast boot up process Can introduce compatibility issues
  • 15.
  • 18. No spin up time (instantaneous resume from standby)
  • 19. Typically, very fast boot up times
  • 21. At the time, smallest fastest flash devices available
  • 22. Required “embedded” CF drives which supported fixed-mode to act like regular HDDs
  • 23. Consumer drives are all removable, no ACPI standby or hibernate
  • 25. M-Systems uDOC (later bought by SanDisk)
  • 26. Amazingly fast and small, sat on internal USB header
  • 27. Required motherboard with Hi-Speed USB Booting
  • 28. Offered custom component for Windows Embedded
  • 32. Spearheaded by Dietmar from 911cd.net forums
  • 34. Registry hacks to change boot order of USB drivers
  • 35. Can be problem when any USB drivers are updated
  • 36. SSDs are the best bang for the buck
  • 40.
  • 41. Questions Links: http://blog.granturing.com http://blogs.msdn.com/mikehall/ http://blogs.msdn.com/embedded/ http://www.mp3car.com/vbulletin/operating-system-optimization/ http://km-dev.blogspot.com/ Hacks: VHD: http://technet.microsoft.com/en-us/library/dd440865%28WS.10%29.aspx Utilities: http://www.mediasignage.com/html/digital_screen1.html Registry docs on TechNet: http://technet.microsoft.com/en-us/library/cc778196%28WS.10%29.aspx
  • 42. Some Tips for Easy Deploying & Testing Get yourself a WinPE disk! Windows Automated Installation Kit: http://technet.microsoft.com/en-us/library/dd349343%28WS.10%29.aspx USB, CD, or HDD Can be used for all Windows OSes ImageX: file-based disk images Used for Vista & Win7 installs Works for XP as well Capture image, deploy to any other disk Use network share or place on large enough USB WinPE drive Typically used along with Sysprep Use virtualization!! Especially useful for Vista & Win7: no hacks to transfer from hardware architectures Use differencing disks to test out new settings Keep master image and update, test, as needed Put it all together: Build your CarPC image in a VM Install front end, software, drivers, etc. Be careful with chipset drivers though… Test your image Capture with WinPE and ImageX Apply image to physical hardware Validate