Open ajaeger opened 11 years ago
Interesting. Which version of Windows was this tested on?
Apparently with any version that was tried, so seems to be a 32 GB limit somewhere...
Yes, I had forgotten that the 16GB limit is hardcoded. When I wrote it originally, 16GB was a pretty clear sign that the device was a hard drive rather than a USB stick and I couldn't find another way to distinguish them. I'll remove the limit.
I actually wouldn't completely remove it, but maybe show a hint for bigger disks. It's very helpful that ImageWriter is protecting the user to not overwrite harddisks. It would be a pity to complete remove this protection.
you can hex edit the exe file to remove or change this limit. search for the 16bit unicode string around offset 0x5ed9: "SELECT * FROM Win32_DiskDrive WHERE InterfaceType = "USB" AND Size <= 17179869184"
Then alter the value "17179869184" (ie 16GB) to be a larger value. Out of simplicity I just changed it to be 97179869184 which easily allowed me to use my 32gb sd card.
Imagewriter for windows is used to burn Studio appliance raw files to USB flash drives. We have experimented with larger drives and have found imagewriter will not see anything larger than 16GB.
Steps to Reproduce: 1.open any version of windows 2.insert USB flash drive larger than 16GB 3.Imagewriter will not see the drive Actual Results:
cannot burn usb stick
Expected Results:
usb drive should show up and imagewriter should burn the raw file.