MSDN Archive Home
Help and FAQs
Windows Embedded CE DiskPrep PowerToy
All Resource Updates
Change History (all pages)
Resource Page Description
DiskPrep can prepare any hard disk that can be attached to your development PC so that it can boot your X86-based Windows CE OS Design.
USB disks (including disk "keys"), Compact Flash Cards, and SD cards all work if your system bios can boot from that type of media.
FAT16, FAT32, and exFAT all supported.
DOS is not used - the program prepares the bios loader on the disk and only uses that.
If you use Windows Vista or Windows 7, you can use VHD files for VirtualPC. This allows for rapid prototyping of a self-booting system.
Mar 26 2010 at 4:36 PM
, version 3
Apr 16 2010 at 9:52 PM
This utility sounds great!
You would not want to know the lengths one goes to make a usb key WinCE bootable now 8-).
* Quick question, is there a WinXP or WinCE version of disk prep in the plans?
May 11 2010 at 3:46 PM
I used the disk prep tool in Windows Vista and it worked great. Thanks alot!
When you have time, can you let me know if a WinXP or WinCE port is on
May 13 2010 at 11:21 PM
The Tool Works great. I would like to be able to use my bsect.img and my bldr. Can I get access to the source code for DiskPrep so I can modify it to browse for a bsect.img and bldr? Thanks!
Jul 22 2010 at 11:22 PM
Hi Kurt and Mike,
Is there a repository for the MBRs? I am wondering where this MBR originated. There
doesn't seem to be as much information about WinCE MBRs.
Is the diskpreptool part of opensource? If so, getting the source code would be great!
Nov 30 2010 at 10:43 AM
Great tool, the important thing is to set IMGNOKITL=1, otherwise the OS will not boot (possibly IMGNODEBUGGER=1 too? I don't know - that one was already set by default for my release build).
Can we get access to the source code? I'd love to see what it's doing, I'd love to give it a command line interface, and I'd love to have something like that that runs on Windows XP. This could probably be done using .NET DiscUtils, but having the DiskPrep source would help to see what needs to be done in order to construct a bootable hard disk.
Jan 21 2011 at 5:08 PM
Great - this utility saved my butt!
Was going down the road of first formatting, using CESYS, etc. -- but DiskPrep did all this for me. After formatting I had to copy over my specific BLDR and BOOT.INI files and then VIOLA! Can now boot my WINCE SBC from a 1Gig CF.
Feb 27 2011 at 3:18 PM
Whatever. I managed to replace this by Windows 7 diskpart and dd, giving me a simple, reliably working solution.
janthony: Most likely the MBR is created by the Virtual Disk Service. At least in my solution the MBR comes from diskpart. The bootsector that is written into the bootable partition is supplied with Windows CE. Search for *bsect* in your Windows CE installation directory and you'll find a bunch of images.
Sep 7 2012 at 5:23 PM
I have a working VHD which runs under Virtual PC. What do I need to do to get it running under Hyper-V in Windows 8? I've tried and I get the splash screen then just a black screen.
Nov 6 2012 at 10:31 AM
Thanks for nice little tool. Is there anyway this utility prepare SSD to boot from.
Other question is this utility loads BLDR at 0000:01000h but loads 68 (512 bytes) sectors that is roughly 34 kb while the bldr is 20 kb.
Apr 2 2013 at 4:00 PM
Please share the source. Or, at least your methodology so this can be extended, like to prepare a multi-partition SSD.
Sign in to add a comment
Fri Mar 26 2010 at 7:00 AM
More Tags ...
Visual Studio 2005
Visual Studio 2008
Visual Studio 2010
Manage Your Profile
MSDN Flash Newsletter
© 2008 Microsoft Corporation. All rights reserved.