cregx / mdt-cleanup-harddrive-winpe

Win32-based UI application to erase the primary hard disk as part of a Lite Touch installation (WinPE / Microsoft Deployment Toolkit (MDT)).
https://www.cregx.de/docs/mdt-cleanup-harddrive-winpe/
Other
34 stars 4 forks source link

Not enough Logical Drives were detected (Network PXE Boot) #6

Closed Harry3co closed 6 months ago

Harry3co commented 7 months ago

After starting up into WINPE and the GUI appears, it tells that it only detected 2 logical drives. We are staging our devices only with a C: Drive. Any Chance that we i can get it to work?

Thanks a lot for your work.

Cheers

cregx commented 7 months ago

Hello @Harry3co,

this sounds a bit peculiar. If you only see two drives: c:\ and x:\, that's too few, as these typically come from the USB boot medium being used. In this case, drive c:\ represents the boot medium itself, and drive x:\ represents a Windows directory explicitly mounted from the USB boot medium. At least, that's my recollection.

So, you need a minimum of three drives. The scenario you described reminds me of the problem where there's no hard drive installed in the affected computer. As I mentioned, in that case, you would only see the drives from the USB boot medium (c:\ and x:). If indeed there's no hard drive installed in the computer, "Cleanup" would self-destruct (delete/clean up). That's why you need at least three drives.

So, is it correct that your computer has at least one internal hard drive? Is there anything specific about your use case that you can provide more information on?

Otherwise, if you don't require a check for the minimum number of drives, I would suggest reverting to the second-to-last version of "Cleanup," which is version 1.1.6. With that version, you shouldn't encounter such problems, but there's also the risk of potentially deleting the USB boot medium.

Best regards

Harry3co commented 7 months ago

Hey @cregx Thanks for your quick respond! We are staging with network pxe boot and normal 0 Touch MDT afterwards. Yes our notebooks Dell XPS 9320/9350 have 1 physical hard drive which gets formatted only with a C: Partition, since our devices are enrolled into azure cloud, we don't need 2 partitions anymore. But if we are not booting on an usb media it shouldn't be a problem using the old version if i understand you right? Regards Harry

cregx commented 7 months ago

Hello @Harry3co,

yes, that's correct. The older version doesn't have this issue and should work within your PXE-based solution. Currently, I don't have a way to reliably verify whether the boot process is initiated via a boot media (USB) or via PXE. It will take some time to implement a fix and release an updated version of Cleanup. Apologies for the inconvenience. Please let me know if version 1.1.6 at least temporarily resolves your issue. Thank you.

Best regards

Harry3co commented 6 months ago

Hey man Thanks a lot for your help, i tested it with v1.1.6 and it works perfectly like this.

Really appreciate your tool.

Take Care