Microsoft has published the Community Technical Preview of the next version of Windows Embedded POSReady 2009.
Windows Embedded POSReady 7 is based on Windows 7 and is specially designed for Point of Service solutions with an easy installation wizard.
The new version comes with enhancements for security and manageability and additional embedded features such as a keyboard filter.
To download and test the CTP go to Microsoft Connect and add “Windows Embedded POSReady” to your dashboard.
DISMUI allows you to alter your Windows Embedded Standard 7 image graphically.
With it you get an interface similar to the Image Build Wizard which will guide you through the whole image changing process.
However DISMUI needs to have the Microsoft .NET Framework 2.0 installed on your image.
Unfortunately the Microsoft .NET Framework is not portable either – but the Mono Framework is portable!
The Mono Framework is an Open Source implementation of Microsoft’s .NET Framework and DISMUI is also running with the Mono Framework.
I will describe two scenarios how you can use the Mono Framework to make DISMUI run on any Windows PC.
To make DISMUI portable you need to download the Mono Framework first.
“MonoDirectory”\bin\mono “DISMUIDirectory\DISMUI.exe”
Now DISMUI will run on any Windows PC regardless .NET Framework is installed or not.
The Mono Framework also allows running DISMUI under Windows PE.
If you build a Windows PE USB key you can also start and run DISMUI directly from Windows PE to modify your images on the device even if they are offline.
These are the steps needed to create an USB key with Windows PE on it.
The DISMUI Tool has been updated with the following new features
On Microsoft Connect you can already download the Customer Technical Preview of Service Pack 1 for Windows Embedded Standard 7.
New features in SP1 are Remote FX which is a set of RDP technologies that allows rich graphics experience directly from the server.
Additional features specifically for Windows Embedded Standard 7 are
The CTP is available in different versions:
To send feedback you can use the Microsoft Connect platform.
On ECE you can now download Silverlight 4 for Windows Embedded Standard 2009 and Windows Embedded Standard 7.
Silverlight is a free .NET powered plug-in for browsers, devices and operating systems which allows to create powerful and interactive user experiences.
Download for Windows Embedded Standard 2009
Download for Windows Embedded Standard 7
The Keyboard Filter Driver allows you to block any unwanted key combination or even single keys. This is done by a kernel mode filter driver which filters out the key presses before they are processed by the system.
Examples for unwanted key combinations on an embedded system are: Ctrl+Alt+Delete, Ctrl+Shift+Esc, Win+E, etc. All these key combinations can be filtered with this driver.
The driver is available for Windows Embedded Standard 7 only and ships can be installed easily with a single setup file.
The configuration is done via the command line tool kbfmgr.
Usage:
/enable Enables the filter driver
/disable Disables the filter driver
/addset <+|->scancode[,<+|->scancode[,...]] Creates a new set of filtered scancodes
/modifyset <setid> <+|->scancode[,<+|->scancode[,...]] Modifies a new set of filtered scancodes
/deleteset <setid> Deletes a set
The scancodes for the keys must be entered in decimal format.
A full list of all scancodes of the English keyboard layout can be found here: http://www.win.tue.nl/~aeb/linux/kbd/scancodes-1.html
To block LCtrl + LShift + Esc please run the following command:
kbfmgr /addset +1,+29,+42
After you have entered the command restart the device to apply the settings.
Run Setup.exe directly on the target device and follow the instructions of the wizard.
To enable the filter driver run
kbfmgr /enable
After running the command restart the device to apply the settings.
Microsoft has published a template for the Microsoft .NET Framework 4.0 and .NET Framework 4.0 Client Profile.
The template can be used with the Image Configuration Editor. It will add all required packages automatically to ensure that the framework works properly.
To download this template and also other templates for Microsoft and 3rd party applications visit the Microsoft Windows Embedded Standard 7 Compatible Applications website.
Microsoft has released the .NET Framework 3.5 SP1 component for XP Embedded.
.NET 3.5 SP1 is available as setup component that includes the installation and its required dependencies.
Customer should use the newest version of .NET to ensure the availability of support after April 12, 2011.
The Enhanced Write Filter is also shipped with Windows Embedded Standard 7. However it does not include the Disk mode known from earlier Embedded versions. The Disk Mode allowed to save all the changes on a separate hard drive.
There is an alternative approach available to create a scenario similar to the EWFs Disk Mode – you can use VHDs.
Because Windows 7 and also WES7 support to boot from VHDs (Virtual Hard Disks) you can make use of the differential VHD feature.
This feature allows you to create one master VHD file containing the operating system in the state it should stay and a differential VHD which stores all the changes made to the master image during runtime.
For example you can have your Master VHD file on a Compact Flash and the differential file on a hard disk to redirect all the writes away from the flash media.
One feature from EWF is to discard all changes made to the image on every reboot.
The solution for this is to create a new differential VHD file with the master as parent and use the new VHD as default boot entry.
After a reboot the system is back in its original state.
To automate this process you can use the following batch file. Please adapt the paths to your VHD location in the “Variables” section. Have a look below for the installation of the batch file.
The system works with 2 differential VHD files which will be swapped out on every boot.
On each boot the batchfile checks which differential VHD is active.
It will then delete the non-active differential VHD and recreates the non-active VHD.
By this all previous changes are undone. Then the batchfile will set the new non-active VHD as new default boot device.
On the next start the system will boot from the fresh created VHD.
@echo off
echo VHD Diff Resetter created by Wolfgang UngerREM #########################
REM Variables
REM #########################
set VHD_Drive=D:
set VHD_Parent=wes7.vhd
set VHD_DiffFile1=wes7diff1.vhd
set VHD_DiffFile2=wes7diff2.vhdset TempFile=D:\diskpart.txt
REM #########################REM Try to delete the second diff file. if successful image 1 is bootet.
del %VHD_Drive%\%VHD_DiffFile2%
if exist "%VHD_Drive%\%VHD_DiffFile2%" goto File2del %VHD_Drive%\%VHD_DiffFile2%
echo create vdisk file=%VHD_Drive%\%VHD_DiffFile2% parent=%VHD_Drive%\%VHD_Parent% > %TempFile%
echo exit >> %TempFile%diskpart /s %TempFile%
bcdedit /set {current} device vhd=[%VHD_Drive%]\%VHD_DiffFile2%
bcdedit /set {current} osdevice vhd=[%VHD_Drive%]\%VHD_DiffFile2%GOTO Done
:File2del %VHD_Drive%\%VHD_DiffFile1%
echo create vdisk file=%VHD_Drive%\%VHD_DiffFile1% parent=%VHD_Drive%\%VHD_Parent% > %TempFile%
echo exit >> %TempFile%diskpart /s %TempFile%
bcdedit /set {current} device vhd=[%VHD_Drive%]\%VHD_DiffFile1%
bcdedit /set {current} osdevice vhd=[%VHD_Drive%]\%VHD_DiffFile1%:Done
del %TempFile%
echo Done.
This solution can be helpful when