SlideShare ist ein Scribd-Unternehmen logo
1 von 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)

Weitere ähnliche Inhalte

Kürzlich hochgeladen

Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slidevu2urc
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...Neo4j
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdflior mazor
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProduct Anonymous
 
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.pdfsudhanshuwaghmare1
 
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...DianaGray10
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Scriptwesley chun
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUK Journal
 
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...Martijn de Jong
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
Developing An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilDeveloping An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilV3cube
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoffsammart93
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...apidays
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...apidays
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?Igalia
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 

Kürzlich hochgeladen (20)

Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
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
 
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...
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
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...
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Developing An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilDeveloping An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of Brazil
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 

Empfohlen

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.pdfmarketingartwork
 
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 2024Neil Kimberley
 
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)contently
 
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 2024Albert Qian
 
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 InsightsKurio // The Social Media Age(ncy)
 
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 2024Search Engine Journal
 
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 summarySpeakerHub
 
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 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 Tessa Mero
 
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 IntentLily Ray
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best PracticesVit Horky
 
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 managementMindGenius
 
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...RachelPearson36
 
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...Applitools
 
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 WorkGetSmarter
 

Empfohlen (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