Your Embedded Distributor

Wolfgang Unger

Wolfgang Unger - MVP Windows 7 is getting Embedded

Wolfgang Unger Technical Support MVP for Windows Embedded

Wolfgang Unger

Wolfgang Unger • Windows Management Instrumentation (WMI) Providers for Write Filters

• Write Filter Management Tools

• Windows® 9

• .NET Framework 4.0

• Silverlight 4

Wolfgang Unger Wolfgang Unger Wolfgang Unger • Windows 7 Ultimate based

• Installs a pre-configured OS

• Supports and x64 architectures

• No Windows Activation needed

• Setup directly on the target device

• Unattended Setup – Setup Image Manager

Wolfgang Unger Windows Embedded Support Availability2026 POSReady 7 Windows Embedded Support Availability2025 Standard 7 Windows 7 Support Availability2024 for Embedded Systems Windows Embedded Support Availability2024 POSReady 2009 xp 2001 Windows Professional Support Availability for Embedded Systems

Support Availability

2003 Support Availability

2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 2026

Wolfgang Unger  Language Packs  Bitlocker  Bitlocker To Go  DirectAccess  AppLocker  BranchCache  MultiTouch  TabletPC  VHD Boot  DISM   Speech API Wolfgang Unger more than 30 Language Packs – Latvian – Arabic – Bulgarian – Lithuanian – Chinese (traditional) – Polish – Chinese (simplified) – Portuguese (Brasilian) – Croatian – Portuguese (Portugal) – Czech – Romanian – Danish – Dutch – Russian – Estonian – Swedish – Finish – Serbian – French – Slovak – German – Slovenian – Greek – Hebrew – Spanish – Hungarian – Thai – Italian – Turkish – Japanese – Ukrainian – Korean Wolfgang Unger 5 language packs are included

• Complete drive encryption – Including hibernationfile, pagefile, etc.

• Decryption methods – TPM only – TPM + PIN – TPM + PIN + USB Key – TPM + USB Key – USB Key only

Wolfgang Unger • Bitlocker encryption for removable media

• Password can be stored in Windows Credential Manager

• Scripted mounting of protected drives

• ReadOnly tool for „older“ Windows versions

Wolfgang Unger DirectAccess requires • Windows 7 • Windows 2008 R2

• Connection to corporate network

without the need of VPN Wolfgang Unger • Blacklist or Whitelist for applications

• Management options: – Filehash – Path – Publisher (Certificate)

• Execution modes – Block – Monitor

Wolfgang Unger • Distributed Mode – No local server needed

Wolfgang Unger • BranchCache requires – Windows 7 – Windows Server 2008 R2

Wolfgang Unger • Windows 7 desktop is optimized for touch – Jumplists via gesture – Bigger – Gesturecontrol

• Supports MultiTouch Displays

Wolfgang Unger • Application with no touch support – Windows support simple gestures (panning, zooming,…)

• Application with simple touch implementation – Use touch events to track each touch point – X/Y TouchDown – X/Y TouchUp, etc.

• Optimized for MultiTouch – WM_TOUCH Messages – Gets raw multitouch data

Wolfgang Unger • Single-Touch support – Gestures

• Handwriting recognition

• On-Screen Keyboard – Logon Screen

Wolfgang Unger • Virtual Hard Disk – Maximum size: 2TB

• Native boot from VHD – No speed loss

• Advantages – Versioning – Backup – Deployment

Wolfgang Unger • Automated update of images – Tool which downloads new VHD file – Save VHD to bootdrive (CF) – Add bootmanager entry for the new VHD file – Mark new entry as default entry – Reboot

• Error – old image still available (Bootmanager)

• Success – Remove old VHD

• Tool: BootVHD – Tool to easy install/uninstall VHDs in bootmanager – For unattended tools

Wolfgang Unger • VHD Installation – Install to HDD and transfer image to VHD • Imagex • Diskpart • Imagex • BCDEdit

– Direct installation into a VHD • Boot Setup DVD • Diskpart • Run Setup

Wolfgang Unger • Supports adding and removing features at runtime

• Online – in the running image

• Offline – Non-running image – e.g. Windows

• Microsoft supports adding features offline only

Wolfgang Unger DISM /image C:\ /add-package /packagepath:

DISM /image C:\ /add-package /packagepath:”e:\ds\WinEmb- Keyboard-Filter.cab”

• A reboot is required after completion

Wolfgang Unger • Update via Microsoft Server – Windows Update „knows“ installed features

• Update via WSUS – Test updates before deployment – Device groups

Wolfgang Unger • Microsoft Speech Recognition • Microsoft Text-To-Speech

• Speech API 5.4

• Supported languages – U.S. English – U.K. English – Traditional Chinese – Simplified Chinese – Japanese – German – French – Spanish

Wolfgang Unger A problem has been detected and Windows has been shut down to prevent damage to your computer.

INACCESSIBLE_BOOT_DEVICE

If this is the first time you‘ve seen this Stop error screen, restart your computer. If this screen appears again, follow these steps:

Check to make sure any new hardware or software is properly installed. If this is a new installation, ask your hardware or software manufacturer for any Windows Updates you might need.

If problems continue, disable or remove any newly installed hardware or software. Disable BIOS memory options such as caching or shadowing. If you need to use Safe Mode to remove or disable components, restart your computer, press F8 to select Advanced Startup Options, and then select Safe Mode.

Technical information:

*** STOP: 0x0000007B (0x000000002,0x00000000,0xF8CA5A81)

*** .sys – Address F8293AC82 base at F82930000, DateStamp 3cc291fb

Beginning dump of physical memory

Wolfgang Unger  HAL independent

 Faster media playback

 PowerShell

 Enhanced Power Modes  3 sec. Standby

Wolfgang Unger

Wolfgang Unger • Keyboard Filter Driver • Enhanced Write Filter • Hibernate Once Resume Many • File Based Write Filter • Registry Filter • Embedded Shell Launcher • USB Boot

• Custom Shell – MessageBox AutoReply – Dialog Blocker – Branding

Wolfgang Unger • Blocks specific keys and key combination

• Easy configuration through Editor

• Configurable to block users only

• Does not block keys at logon screen

Wolfgang Unger Combined View for OS

Write Filter Overlay

Physical Disk Drive

Wolfgang Unger Combined View for OS

Write Filter Overlay

Physical Disk Drive

Wolfgang Unger • Works on block level

• Protection starts at boot

• No file or folder exceptions

• No Disk Mode

Wolfgang Unger Combined View for OS • Differential VHDs Differential VHD

Master VHD • Master VHD on flash drive Physical Disk Drive • Differential VHD on hard disk drive

• Batchfile – 2 differential VHDs – Recreates differential VHD on startup – Changes default boot entry to other VHD

Wolfgang Unger Differential VHD 1 Differential VHD 2 DEFAULT BOOT DEVICE DEFAULT BOOT DEVICE Master VHD

Physical Disk Drive

Wolfgang Unger • Speeds up boot process

• Always resumes state from hiberfil.sys

Wolfgang Unger Combined View for OS

Write Filter Overlay

Physical Disk Drive

Wolfgang Unger Excluded Folder

Combined View for OS

Write Filter Overlay

Physical Disk Drive

Wolfgang Unger • Filterdriver on file level

• File and folder exceptions

• Virtual Size Display Mode

Wolfgang Unger • Windows Management Instrumentation Interface – Overlaydetails – State – Configuration

• Management Tools – Graphical interface to configure filters – Filter information in Systray

Wolfgang Unger • Exclusions for Registry – TSCAL – Domain Key – Custom Exclusions in HKLM

Wolfgang Unger • 1. drive recognized as fixed disk • Support for multiple partitions • Standby support

• Restrictions – No Pagefile – No Dump – No Hibernation

Wolfgang Unger A problem has been detected and Windows has been shut down to prevent damage to your computer.

INACCESSIBLE_BOOT_DEVICE

If this is the first time you‘ve seen this Stop error screen, restart your computer. If this screen appears again, follow these steps:

Check to make sure any new hardware or software is properly installed. If this is a new installation, ask your hardware or software manufacturer for any Windows Updates you might need.

If problems continue, disable or remove any newly installed hardware or software. Disable BIOS memory options such as caching or shadowing. If you need to use Safe Mode to remove or disable components, restart your computer, press F8 to select Advanced Startup Options, and then select Safe Mode.

Technical information:

*** STOP: 0x0000007B (0x000000002,0x00000000,0xF8CA5A81)

*** ntfs.sys – Address F8293AC82 base at F82930000, DateStamp 3cc291fb

Beginning dump of physical memory

Wolfgang Unger • 1. drive recognized as fixed disk • Support for multiple partitions • Standby support

• Restrictions – No Pagefile – No Dump – No Hibernation

Wolfgang Unger • Unbranded bootlogo

• Custom logon screen background

• Custom shell

• MessageBox AutoReply

• Dialog Blocker

Wolfgang Unger • Bootlogo can be hidden – Black Screen

• Vista-like Bootlogo can be used

• Configurable via

Wolfgang Unger • Partner Coder for Life • Tool to fully customize bootlogo • Animated bootlogos • Current ALTs do not allow customization

Wolfgang Unger • Background image located in C:\Windows\system32\oobe\info\backgrounds\BackgroundDefault.jpg

• Registry Modification HKLM\Software\Microsoft\Windows\CurrentVersion\ Authentication\LogonUI\Background OEMBackground = dword:1

• Other texts can be changed by modifying resource files

Wolfgang Unger • Easy configuration

• Configurable Shell Close/Crash Behaviour – Shutdown – Restart OS – Restart Shell

Wolfgang Unger • Blocks all Windows MessageBox dialogs

• Default button will be returned

• Entry in Windows Application Event Log is being created

• Configuration done via

Wolfgang Unger • Blocks preconfigured dialogs

• Must be pre-configured – Supports all dialog types • Message Box • Dialog / Task Dialog • etc.

Wolfgang Unger • .NET Implementation of OPOS

Wolfgang Unger

Wolfgang Unger Wolfgang Unger Wolfgang Unger Wolfgang Unger

Wolfgang Unger Wolfgang Unger Wolfgang Unger Wolfgang Unger

Wolfgang Unger • Features must be added offline • Boot Setup DVD • Locate DVD drive and installation drive

DISM /image C:\ /add-package /packagepath:

DISM /image C:\ /add-package /packagepath:”e:\ds\WinEmb- Keyboard-Filter.cab”

Wolfgang Unger Wolfgang Unger

Wolfgang Unger • 100% Free

• Developed from – Elbacom – Microsoft

• Download from elbacom website

http://www.elbacom.com/embedded/products/wes/wes7/downloads Wolfgang Unger • Graphical User Interface for DISM

Download

Wolfgang Unger • Checks dependencies

• Checks conflicts

• Checks needed feature packages

• Displays dependencies

• Applies language packs automatically

• Adds missing drivers automatically

Wolfgang Unger XPSP3TEST

Wolfgang Unger • like User Interface

• Scans for driver files

• Exports driver files for multiple devices

• Creates SLD file – For XP Embedded, Windows Embedded Standard 2009

Wolfgang Unger Wolfgang Unger • Inject drivers to existing Windows images automatically

• Automatically install drivers from a driver DVD

• Analyze INF file to find possible missing components

Wolfgang Unger Ctrl Alt

Del

Wolfgang Unger • Blocks any key and key combination – Alt+Ctrl+Del – Win+E

– Ctrl+Shift+Esc Ctrl Alt

– Win+L Del

• Keyboardinput is filtered on kernel side – No unwanted keyboard input possible

Wolfgang Unger • Automated updates for development tools

Wolfgang Unger • Checks image features again license requirements

Wolfgang Unger Wolfgang Unger • Analyze Feature Packages of – Windows Embedded Standard 7 – Windows Embedded POSReady 7

• Inspect – Files – Registry Entries – Dependencies – SMI Settings – Generic Commands – Sub Packages

Wolfgang Unger • Partner Coder for Life • Tool to fully customize bootlogo • Animated bootlogos • Current ALTs do not allow customization

Wolfgang Unger Wolfgang Unger POSReady 7 POSReady 2009 Architecture x86 & x64 X86 Windows 7 Windows XP Setup On Target On Target Minimum Footprint 4,5 GB 550 MB Feature Packages 77 ~20 Enhanced Write Filter Yes No File Based Write Filer Yes Yes Registry Filter Yes Yes Keyboard Filter Driver Yes No USB Boot Yes Yes Dialog Filter Yes No eShell Yes No POS.NET Yes Yes Wolfgang Unger • Microsoft no longer ships product keys for POSReady 7 in license envelopes!

www.elbacom.com/getkey

Wolfgang Unger Wolfgang Unger • Windows 7 Ultimate based – different licenses E, P and C

• Split into more than 150 feature packages

• Supports x86 and x64 architectures

• No Windows Activation needed

• Setup directly on the target device – Image Build Wizard (IBW)

• Unattended Setup – Image Configuration Editor (ICE)

Wolfgang Unger • Available in WES7P and WES7C

• Branding allowed

• Usage – Set-top Boxes – MediaCenter devices

Wolfgang Unger

P or C license needed

Wolfgang Unger • Standalone setup tool – No additional tools required

• Bootable DVD

• Contains binaries for – x86 – x64

• Installs directly on target device

• Installationtypes – Manual – Unattended via ICE configurationfile

Wolfgang Unger • Templates – Compatibility – Minimum – Thin Client – etc.

• Plug&Play detection – Drivers can be included from external drives

• Unattended – Configuration from external drives – Custom DVD

Wolfgang Unger • Feature Pack selection – More than 150 packages

• Dependencycheck – Required – Optional

• Extended configuration only with ICE

Wolfgang Unger • Installation target – Like Windows 7 installation – Existing installations  Windows.old

• Installation to VHD – Via commandline

Wolfgang Unger • Before disk selection – Shift+F10 diskpart create vdisk file=C:\WES7.vhd maximum=5120 type=fixed select vdisk file=C:\WES7.vhd attach vdisk exit exit

– Refresh disks – Select VHD Disk • Ignore warning

• Creates bootentries automatically

Wolfgang Unger

Wolfgang Unger • Tool for development PC – .NET Framework – Creates answer files

• Answer file – XML Datei – x86 and x64

Wolfgang Unger • Setup Phases – 1 Windows PE – 2 Offline Servicing – 3 Generalize – 4 Specialize – 5 Audit System – 6 Audit User – 7 OOBE System

Wolfgang Unger Boot Windows PE First Boot OOBE Generalize

Image Builder Wizard OOBE Phase Generalize Phase Specialize Phase Displaysettings Process answerfile Create users Windows PE Phase Language Settings Logonscripts Timezone Internet Explorer Proxy Partitioning Computername Format IE Configuration Imagebuild preperation Domainjoin BCDEdit Scriptexecution Shutdown First logon

Offline Servicing Phase

Image building & Setup ImageX Imagecreation

Reboot Possible Reboot Wolfgang Unger Online Tweaking Sysprep Boot Windows PE First Boot OOBE Generalize

Image Builder Wizard OOBE Phase Generalize Phase Specialize Phase Displaysettings Process answerfile Create users Windows PE Phase Language Settings Logonscripts Timezone Internet Explorer Proxy Partitioning Computername Format IE Configuration Imagebuild preperation Domainjoin BCDEdit Scriptexecution Shutdown First logon

Offline Servicing Phase

Image building & Setup ImageX Imagecreation

Reboot Possible Reboot Online Tweaking Wolfgang Unger • Suppress EULA • Disk selection • Language selection

• OOBE – Product Key – Timezone – Network location – Automatic Updates

Wolfgang Unger • Feature Pack configuration – Correct phase – Validation (F5) – Additional help below property window

Wolfgang Unger • Works with – MSI – EXE – DLL – ZIP

• Adds needed Feature Packages automatically

• Can copy the source file to the $OEM$ directory

Wolfgang Unger • No custom packages possible

• Additional Files / Applications via $OEM$ directory

• Will be copied to system during installation

Wolfgang Unger • $OEM$ – Basedirectory • $OEM$\$$ – Windowsdirectory • $OEM$\$$\System32 – System32 directory • $OEM$\$1 – Boot Partition (Root) • $OEM$\$Docs – Userdirectory • $OEM$\$Progs – Program files • $OEM$\drive_letter\subfolder – Other drives and folders

Wolfgang Unger • Build IBW setup disks with – Whole Distribution Share – Only Packages in configuration

• Bootable from – DVD – USB

• Windows XP not supported

Wolfgang Unger

Wolfgang Unger • Installation and configuration

• Creating master image – Generalize – System must be offline!

• Preparing target disk

• Deploying image to target disk

Wolfgang Unger • Windows Pre-Installation Environment

• Bootable – DVD – USB – Network

• Windows Automated Installation Kit (WAIK) – Windows® Automated Installation Kit (AIK) für Windows® 7 Download

Wolfgang Unger • Customizing the Windows PE image – Add ImageX – Create diskpart script – Create a deployment batchfile – Configure for batchfile

• Create bootable USB key

Wolfgang Unger Boots WinPE Windows PE Deployment loads boot.wim into RAM

Finds Deploy.WIM

Deploys Deploy.WIM

Wolfgang Unger • Create Windows PE for x86 / x64 architecture copype x86 c:\pe

DISM /mount-wim /wimfile:winpe.wim /index:1 /mountdir:mount

Wolfgang Unger • Copy ImageX tool from WAIK installation folder \Tools\\ to C:\pe\mount

• Create deployment batch file

Wolfgang Unger @echo off REM ######################################### REM # Deployment Batch # REM # (c) Elbacom created by Wolfgang Unger # REM #########################################

Set d = "" for %%d in (c d e f g h i j k l m n o p q r s t u v w x y z) do if exist "%%d:\deploy.wim" set d=%%d if "%d%"=="" goto NotFound

: Found echo Found on drive %d% echo Creating Diskpart Script Wolfgang Unger echo SELECT DISK 0 > diskpart.txt echo CLEAN >> diskpart.txt echo CREATE PARTITION PRIMARY >> diskpart.txt echo ACTIVE >> diskpart.txt echo ASSIGN LETTER=H >> diskpart.txt echo FORMAT FS=NTFS QUICK >> diskpart.txt echo exit >> diskpart.txt echo Executing Diskpart diskpart /s diskpart.txt echo Starting Image Deployment %SYSTEMDRIVE%\imagex /apply "%d%:\deploy.wim" 1 H:\ echo Deployment finished. goto End

: NotFound echo Deploy.wim not found. Deployment failed.

: End echo Please remove your deployment device and press any key to reboot. pause

• Defines which application will be loaded as shell

[LaunchApp] AppPath = %SYSTEMDRIVE%\deploy.bat

• #2 option – customize startnet.cmd

Wolfgang Unger • Unmount WIM DISM /unmount-wim /mountdir:mount /commit

• Move and rename winpe.wim to ISO\sources\boot.wim

• Copy content of ISO folder to USB key

Wolfgang Unger • OSCDIMAGE oscdimg.exe –betfsboot.com –u2 –h -m ISO winpe.iso

Wolfgang Unger • Due to licensing restrictions ImageX is no longer allowed to be shipped to the endcustomer on Recovery Disks!

• Example Code for ImageX alternative on ECE

• Sembatec offers cheap replacement tool with same parameter structure

Wolfgang Unger Wolfgang Unger

Wolfgang Unger • Easy Capturing & Deployment – Create and store images over network – Images are available on a central store – Images are deployed via network – Possibility to deploy images to many devices at once

• Hardware independent – Driver can be stored on server

• Space efficient image store

• Automation

Wolfgang Unger • Server role of Windows Server 2008 R2

• Requirements – – DHCP Server – NIC with PXE Boot on clients

Wolfgang Unger • Windows Deployment Services MMC

– Install Images – Boot Images – Pending Devices – Multicast Transmissions – Drivers

Wolfgang Unger • Creating Deploy-Images • Right click„Boot-Images“ – Add Boot Image – Select a Sources\boot.wim from a Windows 7 DVD – Name e.g. „Deployment Image x86“ – Finalize wizard

• Refresh – Select server – F5

Wolfgang Unger • Create Capture-Images • Open Boot Images • Select Deployment image • Right click Deployment image • Choose „Create Capture Image…“ – Name e.g. „Capture Image x86“ – Finalize Wizard

Wolfgang Unger BootImages Install Generalize PXE Boot Capture PE

Capture PE Deploy PE

Create & Transfer Image to WDS Install

Reference Images device

Masterimage

WDS Server

Wolfgang Unger BootImages

PXE Boot Deploy PE

Capture PE Deploy PE

Deploy Image to Target Device Install

Target Device Images

Masterimage

WDS Server

Wolfgang Unger BootImages

Warte PXE Boot Deploy PE

Capture PE Deploy PE

Deploy Image to Target Device Install

Target Device Warte Images

Masterimage

Target Device Warte WDS Server

Transfering Target Device Wolfgang Unger Wolfgang Unger • Script to create a Boot Image containing Image Build Wizard

• Possibility to install Windows Embedded Standard 7 via PXE

Wolfgang Unger Wolfgang Unger Wolfgang Unger Development Machine Target Device

Retrieve Hardware Information

Build Image Target Designer

Deploy Image

Wolfgang Unger Target Device

Development Machine Optional

Create and Deploy Answerfile Build Image OPK

Answer XML File

Wolfgang Unger Target Device

Development Machine Optional

Create and Deploy Answerfile Build Image IBW

Image Configuration Editor

Wolfgang Unger Target Device

Development Machine Optional

Create and Deploy Answerfile Build Image OPK

Setup Image Manager

Wolfgang Unger Elbacom http://www.elbacom.com

Product Information http://www.posready.cz

Elbacom Techblog http://www.elbacom.com/blog/

Windows Embedded Blog http://wunger.wordpress.com

Microsoft http://www.windowsembedded.com

Wolfgang Unger Your Embedded Distributor

Wolfgang Unger

Wolfgang Unger - MVP