Preparing and Installing Windows XP Embedded Images – Part I: Setting up the Environment
January 7, 2009 at 10:53 am | In Windows Embedded, Windows XP Embedded | 26 CommentsTags: Windows Embedded, Windows XP Embedded
Embedded operating systems have been present among us since a long time ago. Windows XP Embedded and several others have been a part of tons of devices for various reasons:
- Componentized version of the bigger operating system, with only the components that the user requires.
- Small footprint: Around 40mb at minimum for Windows.
- Secure operating systems; with selected features installed we can reduce at minimum the attack surface.
Payphone working with Xp Embedded. 
Microsoft recently released Windows Embedded Standard 2009 that will succeed Windows XP Embedded. This version it’s not actually the embedded version of Windows Vista. That embedded operating system is still in progress (expected for 2010) with the codename “Quebec” that will contain most of the Vista features, like Aero, Bit locker encryption, Windows Defender, etc.
Windows Embedded Standard contains basically the same kernel than XP Embedded with a few improvements: Silverlight, .Net Framework 3.5, Internet Explorer 7, NAP, among other features.
Diskless Operating System
These types of operating system have been designed for special cases and special type of devices (like the one shown on that payphone), most of them that need a “locked-down” operating system, the smaller and secure as possible.
That’s why the design it’s prepared to use this operating system on diskless devices, having a Remote Boot Manager server that contains the client operating system image and the device requires the image from that server and boots it directly from RAM or an USB device. We’ll see how it works.
Enough with the introduction, let’s start with this step-by-step guide for Windows XP Embedded.
You can find the other two parts of this guide, here:
Preparing and Installing Windows XP Embedded Images – Part II: Building Images
Preparing and Installing Windows XP Embedded Images – Part III: Using Remote Boot
Let’s start with the system requirements.
System Requirements
Remote boot server
- Windows Server 2003
o R2 and SP2 are optional but recommended
o DHCP role must be installed
- Windows XP Embedded Studio Tools
o Component Data Base Manager
o Component Designer
o SDI Loader
o Target Designer
o Target Analyzer
o Remote Boot Manager
Hardware Requirements
- Processor: Pentium III 800 MHz (Minimum)
- Memory: 256mb (Minimum)
- Hard Disk: Enough space to store XP Embedded images
Clients
Hardware Requirements
- Processor: Pentium III 800 MHz (Minimum)
- Memory: 512mb/1024mb
It must double the XP Embedded image size, so for 450mb images there should have 1 GB of memory available on the clients
Installing Windows XP Embedded
Installing the Embedded Studio Tools
We are considering using the installation of the Studio Tools with SP1 and then upgrade it SP2. This setup assumes that you are installing the tools in the computer that will act as a Remote Boot Server.
To install Windows XP Embedded SP2 tools, please follow these steps:
1. From the Disk 1 of the installation files, run SETUP.EXE
2. The installation Wizard starts. Select the Tools Setup tab, and click on Next

3. Accept the License Agreement terms, and click on Next.
4. Enter your user name, organization name and your license key number (a trial license number can be obtained from this site). Click on Next

5. On the Installation type select Typical. Click on Next

6. Now you will set the Windows Embedded Server as the local computer. To do this, leave the This Computer option marked and click on Next
Note: You can also change the default folder where the XP Embedded images will be stored when they are built.

7. Click on Install to complete the setup wizard.
After this installation completes, switch back to the Welcome to Windows XP Embedded installation window to install the remaining components.
Installing the Database Engine
To create Windows XP Embedded images, the Designer component requires that a database must be installed and set up. The current version requires that MSDE should be installed the local computer (or a remote computer). This setup assumes that you will install MSDE on a local computer.
1. To set up the database, the first step is to install the database server. To do this, point and click on the Database Engine Setup tab

The database engine will install without requiring user intervention.
2. Let’s install the database. To do this, point and click on the Database Setup tab
3. Click on Next and accept the License Agreement
4. Enter your Product Key and click on Next
5. Select the Typical installation option and click on Next
6. Click on Install to begin the installation. The following message will pop up. Answer Yes

Don’t worry; it just says that to create embedded images, a share folder will be created on the server with read-only permissions.
Upgrading the installation to Windows XP Embedded SP2
To complete the installation, you must access Disk 3 of the installation files and run setup from there. This will upgrade the components and tools to Service Pack 2 and will also install the Remote Boot Server from there.
1. Let’s update the database engine with the latest updates. To do this, point and click on the Database Engine Update tab on the left.

This process does not require user intervention.
2. Now let’s update the Windows XP Embedded Tools to SP2. To do this, point and click on the Tools Update tab on the left.

3. A wizard will pop up. Click on Next to proceed with the installation.
4. Before installing the “Database Update” you must first verify that the Engine is already running on the server. If you don’t reboot the computer after installing the database engine, the service is not yet started. To start it use the services snap-in, following these steps.
a. Click on the Start menu, select Run and type services.msc. Click OK
b. On the services console, locate the MSSQLSERVER service
c. Check that the Startup Type is set to Automatic
d. Check if the service is started. If not, right click on the service and select Start

Note: If the service is not started as it shows and if you try to update the database, this message will appear to you: "Cannot connect to the database – please check the database. Setup cannot continue"

5. Switch back to the installation window. Point and click on the Database Update tab on the left.

6. Before installing the update, a message will prompt with the warning that you should make a backup of the existing database before updating. This is an optional step. To continue, click the OK button.
7. A wizard window will open. Click on Next to continue.

8. The wizard will show the license agreement. Read and accept it, clicking on Install to continue.
The process will take several minutes, depending on your system characteristics. When the installation finishes, a summary will appear, including the modifications it performed on the installation. Click on Finish to close the dialog.

9. [Optional] To set up a development environment you can also use the libraries that are included to test the applications outside the run-time images: Enhance Write Filter API.


Installing the Remote Boot Server
The Remote Boot Server is in charge of providing remote computers the run time image of their OS. In this section you will install the associated component.
1. From the tab list on the left, click on Remote Boot Server.

2. An installation dialog will appear. Click on Next to continue. When the dialog prompts to accept a license agreement, read and accept it.
3. Enter the values in User Name and Organization and click on Next.
4. Select the Typical installation type, click on Next to advance a screen and finally click on Install to start the installation process.

When the process completes, you’ll have your environment ready for preparing Windows XP Embedded images.
Note: Remember that the DHCP server must be up and working on the remote boot server to actually achieve the Remote Boot with the prepared images.
We’ll be reviewing the next steps on two more posts.
Preparing and Installing Windows XP Embedded Images – Part II: Building Images
Preparing and Installing Windows XP Embedded Images – Part III: Using Remote Boot
Cheers!
Possibly related posts: (automatically generated)
26 Comments »
RSS feed for comments on this post. TrackBack URI
Leave a comment
About Me
Computer geek, totally fan of the latest's IT platform solutions. Since 2006 I've been mentioned as Microsoft Student Partner, I continue working with them, collaborating on different academic and technological events. On this blog, you'll find most of the experience I have evaluating, designing, implementing and managing those technologies.
Contact Me
Suggestions? Feedback? Contact? augusto@augustoalvarez.com.arTwitted
- I'm at Puerta Roja (Chacabuco 733, Buenos Aires). http://4sq.com/aVVPjj 2 days ago
- doubts are too expensive 3 days ago
- Noticing that depending on how confident I am about the mail I'm just about to send, I use either Outlook's Heading 1 or 2 as body titles 3 days ago
Visitors Map
-
Recent Posts
Category Cloud
Active Directory App-V Books Certifications Cool Stuff DNS Documentation Events Free Stuff GFI WebMonitor Hyper-V ISA Server Lenovo W500 Microsoft Deployment Toolkit (MDT) SCVMM Team Foundation Sever Twitter Uncategorized Virtualization WAIK Windows 7 Windows Deployment Services (WDS) Windows Embedded Windows Embedded 2009 Windows Server 2003 Windows Server 2008 Windows Server 2008 R2 Windows Vista Windows XP Embedded WSUS-
Top Posts in Last 24hs
- Microsoft Deployment Toolkit 2010 Beta 1: Using MDT to Prepare, Install and Capture customized Windows 7 Images – Part I
- Microsoft Deployment Toolkit 2010 Beta 1: Using MDT to Prepare, Install and Capture customized Windows 7 Images – Part III
- Installing and Configuring WDS (Windows Deployment Services): Full Images Deployment (Part I)
- Implementing App-V - Part II: Choosing and Preparing the Environment
- Installing and Configuring WDS (Windows Deployment Services): Full Images Deployment (Part III)
-
Recent Comments
Technorati
Blog at WordPress.com. | Theme: Pool by Borja Fernandez.
Entries and comments feeds.



[...] that the environment is ready as we’ve seen on the first part of these posts, let’s start on creating our own Windows XP Embedded image. There are involved [...]
Pingback by Preparing and Installing Windows XP Embedded Images - Part II: Building Images « Augusto Alvarez — January 7, 2009 #
[...] 7, 2009 After what we’ve seen on the previous posts: Setting up the environment (Part I) and building an Windows XP Embedded Image (Part II) we can complete the remote boot process with [...]
Pingback by Preparing and Installing Windows XP Embedded Images - Part III: Using Remote Boot « Augusto Alvarez — January 7, 2009 #
Win2003 is not required as a boot server — Windows XP Pro works fine. I have being using XP as my boot server for about 4 years.
Comment by Roger Levy — January 12, 2009 #
You imply that Windows 2003 Server is needed for DHCP. This is not true since any full-featured DHCP server can be used. Many kinds of blade computer systems include blade switches that have an embedded DHCP server. This DHCP server is usually the right choice for such systems. In other cases an existing “house” DHCP server that is not Win2003 might be preferred.
Comment by Roger Levy — January 12, 2009 #
Good to know about Windows XP. I wanted to test it also on Windows Server 2008 or Windows Vista, but I didn’t have the chance.
Thanks!
Augusto
Comment by Augusto Alvarez — January 12, 2009 #
[...] Preparing and Installing Windows XP Embedded Images – Part I: Setting up the Environment [...]
Pingback by Windows Embedded Standard 2009 Step-by-Step Deployment – Part I « Augusto Alvarez — March 29, 2009 #
[...] process it’s practically the same that we executed on XP Embedded (Post I, Post II and Post III). And again, as I mentioned before, this deployment is oriented to Embedded [...]
Pingback by Windows Embedded Standard 2009 Step-by-Step Deployment – Part II « Augusto Alvarez — April 21, 2009 #
Augusto, do you from Brazil ? I am a brazilian and my english is ‘bad’
Configuration DHCP ???? Help me please…. I am crazy…. Hahahahaha
Comment by Marc — May 5, 2009 #
Hello Marc,
I’m from Argentina, and my portuguese it’s no good, sorry.
But I can give you a hand with the DHCP configuration needed for remote boot, check my post about Windows Embedded 2009 Standard:
http://blog.augustoalvarez.com.ar/2009/03/29/windows-embedded-standard-2009-step-by-step-deployment-part-i/
Hope it helps,
Cheers!
Augusto
Comment by Augusto Alvarez — May 5, 2009 #
Hi Augusto,
I am Bi, from Viet Nam.
I have a problem with Installing the Database Engine.
The dialog shows “Time remaining: 5 seconds” but it seems be looped forever.
Could you tell me the reason why?
Thanks in advance
Bi
Comment by Bi — May 6, 2009 #
Hello Bi,
Did you check the event viewer for any events that are triggered in the installation?
Can you give me fore background, like operating system used?
Cheers
Augusto
Comment by Augusto Alvarez — May 6, 2009 #
Hi Augusto,
Thank you for your reply.
Because I am new in Embedded System, I don’t know exactly what is the event viewer. Sorry!!!
Is it the information in STARTCD.INI file?
Do I need to install something else before installing XP Embedded?
System info:
Windows XP Professional SP2.
Pentium(R) D CPU 3.4GHz
1G Ram
Thanks in advance
Bi
This is the information for Database Engine Setup in STARTCD.INI
—–
[Option3]
Caption=Database &Engine Setup
DataText1=Set Up the Database Engine
DataText2=Choose this option to install Microsoft SQL Desktop Engine (MSDE) locally on this computer.%NEWLINE%%NEWLINE%The component database can run on either of two database engines, MSDE or Microsoft SQL Server. MSDE is included on the Windows XP Embedded installation discs.%NEWLINE%%NEWLINE%If you already have MSDE or SQL Server installed, you can start Database Setup now.
Cmd=MSDE_INSTALLCHECK
Action=[hidden,sync] MSDE_INSTALLCHECK
ErrorSoln=A SQL Server or MSDE database engine is already installed.
Action1=[sync]OPEN
Cmd1=”%RootDir%\SQLMSDE\MSDELauncher.exe”
ErrorSoln1=Check to make sure that this file is accessible. If you still have problems, try opening the file from its original location.
Location=Volume0
—–
Comment by Bi — May 6, 2009 #
Hi Augusto,
Now, it works!
Thank you for your help
Bi
Comment by Bi — May 6, 2009 #
No problem.
Cheers
Augusto
Comment by Augusto Alvarez — May 6, 2009 #
hi i want to install Xp embedded on standalone machine but not able to do so by following the above steps please help
Comment by monal — September 2, 2009 #
Hello Monal,
Please explain a little bit more about the error that you are having, is there an error message? Which step you are not able to complete?
Remember that these posts are setting a remote boot image and not a stand alone media for installation.
Cheers
Augusto
Comment by Augusto Alvarez — September 2, 2009 #
hi Augusto,
by following your steps i successfully installed and boot the image thanks a lot for that
but i am not still able to add display and network drivers and at the same time i want to install ms office
on xp embedded please help
Comment by Monal — September 14, 2009 #
Hello Monal,
About the drivers: You will need the INF files for the devices that are not loaded correctly by XP Embedded and then import them using Component Designer, you’ll get an SLD file that you can add it to your image.
Regarding Windows XP Embedded and Microsoft Office: it’s not actually permitted by the license to install the Office suite on any XP Embedded installation.
Check the “Windows XP Embedded Licensing Requirements and Guidelines” at http://msdn.microsoft.com/en-us/library/ms940172.aspx
“Device Limitations/Limited Use of Product
License may not use or include Windows XP Embedded, the Windows XP Embedded run-time images, or any components thereof, in (i) the development of a general purpose computing device or (ii) any device or system in which a malfunction of the operating system would result in foreseeable risk of personal injury, death to the operator of the device or system, or to others, or severe physical or environmental damage.”
“Definition of General Purpose Device
A “general purpose device” is any computer device or system whose functionality allows unrestricted use of, or access to, “Office Automation and Personal Computing Functions.” Office Automation and Personal Computing Functions refer to consumer or business tasks or processes, including (but not limited to): e-mail, word processing, spreadsheets, database, network/Internet browsing, scheduling, and personal finance. Office Automation and Personal Computing Functions include features and functions derived from Windows XP Embedded, as well as features and functions derived from other software used on the device.”
Hope it helps!
Cheers!
Augusto
Comment by Augusto Alvarez — September 15, 2009 #
Hi Augusto,
i am getting an error while importing devices.pmq file in component designer the error is
Error-2147212504 occurred in CMI utilities1 : could not open
“C:\program files\windows embedded\utilities\devices.pmq
Comment by Monal — September 17, 2009 #
pls help
Comment by Monal — September 17, 2009 #
hi Augusto,
thanks for help i have installed and boot xp embedded
but finding the problem in cd rom
instead of cd rom its showing DVD Drive and when i inserted cd it gives error that format is not compatible with windows or disk is corrupted
pls help
with regards
Monal
Comment by Monal — September 23, 2009 #
Hola Augusto,
te pido disculpas sin es el post incorrecto para preguntar, pero:
es posible instalar algún editor de archivos office en un dispositivo XPe?
El XPe es compatible con Pen drives USB para abrir archivos word o Excel desde ahí?
Gracias por el aporte.
Saludos!
Juan Manuel
Comment by Juan Manuel — October 24, 2009 #
Juan Manuel,
Nada de lo incluido en el paquete Office es permitido por licencia. Todo esto está especificado en “Windows XP Embedded Licensing Requirements and Guidelines” http://msdn.microsoft.com/en-us/library/ms940172.aspx
Utilizar en XP Embedded algun componente de la suite de Office, recae en el concepto de “General Purpose Device”.
Saludos!
Augusto
Comment by Augusto Alvarez — October 24, 2009 #
hi
pls help
I want creat windows embedded imag but i can not
iam iranian
Comment by Anita — December 17, 2009 #
Hello Anita,
What seems to be the problem? Where are you blocked?
Cheers!
Augusto
Comment by Augusto Alvarez — December 18, 2009 #
سلام
لطفا بامن تماس بگیرید
9121938026
Comment by abbas — January 5, 2010 #