Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I created a recovery DVD that boots to Windows PE and automatically DiskPart the needed partitions and then installs the syspreped O/S found in a WIM image.

The recovery disk works great, everything happens without human interaction.

I want to add another feature to the recovery DVD where it scans the hard-drive and checks if an O/S is already installed before wiping and re-partitioning the hard-drive.. I will then add an optional action which I already know how to do, however I don't know how to make Windows PE scan and detect another O/S..

Is that possible?

share|improve this question
Which OSes do you plan on detecting? Just Windows? What about disks with multiple partitions/OSes? –  jscott Apr 27 '12 at 19:05
Hi jscott, the O/S is always the same: Windows Embedded 7 (on a 20-GB partition).. many thanks –  ToastMan Apr 27 '12 at 19:15

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.