How to unlock bootable CD ?

  • Thread starter Thread starter Emanuil ACHIM
  • Start date Start date
E

Emanuil ACHIM

Hi all !


I habe a bootable CD, allways is perfect, it runs, it boots and ... no
error. But for some purposes I want to take th CD out of the device and I
cannot, because it is physicaly locked. It must be possible to unlock it,
but how ? If I boot from the first CD of the Windows XPE, I can take the CD
out of the device.

Thanks for any help,
Emanuil
 
Hi Emanuil,

First CD of XPe actually contain Win PE image not XPe, there are differences in loader binaries and registry settings that can't be
used with XPe.
Also with WinPE you can use boot switch "/inram" which should load files to memory.

Why don't you place all files on that you need from second CD on second part of CD?

If you must change CD's then the best way for you would be to make an ram boot image in SDI file and to boot it from CD. This way
XPe will boot from ramdisk and you can change CD without problems.

Best regards,
Slobodan
 
Why don't you place all files on that you need from second CD on second
part of CD?

I did this, I copy the files to the HDD and now I want to give a message
like "Remove the CD and floppy and restart the computer", but I cannot
remove the CD. If I shutdown the computer e.g. "fba -shutdown", I stil
cannot remove it. I do not remove it until I restart the PC.
If you must change CD's then the best way for you would be to make an ram
boot image in SDI file and to boot it from CD. This way
XPe will boot from ramdisk and you can change CD without problems.

I don't need to change the CD, but the user must remove the CD from device
to let the computer boots from the HDD second time. If there is no other
solution I will try your suggestion, but I think its a complicated solution
for a simply needs.

Thanks a lot,
Emanuil
 
Uh I understand problem that you are facing.

Look in msdn for:
IOCTL_STORAGE_EJECTION_CONTROL
IOCTL_STORAGE_EJECT_MEDIA

This might work, so you can make a simple application that will unlock and autoeject CD after the copy is done. And it can give you
choice to reboot your device.

Best regards,
Slobodan

PS:
Let us know if this works.
 
Back
Top