- Poll: How reliable are ChatGPT and Bing Chat? - Tue, May 23 2023
- Pip install Boto3 - Thu, Mar 24 2022
- Install Boto3 (AWS SDK for Python) in Visual Studio Code (VS Code) on Windows - Wed, Feb 23 2022
Update: If you have problems Windows 7 USB/DVD Download Tool you can try the free alternative Rufus. The most powerful tool for creating a bootable Windows setup flash drive is WinSetupFromUSB.
You might have heard of the stir that Microsoft's Windows 7 USB/DVD Download Tool (WUDT) caused last year when some Open Source watchmen recognized that the tool contained code that violated the GPL. Microsoft was then "forced" to release WUDT under GPLv2. Considering the upset in the media about this incident, I expected a luxurious tool that comes with lots of customization features. I was somewhat disappointed to discover it does nothing else but copy the contents of a Windows 7 install DVD to a USB stick and make it bootable.
The funny thing is that WUDT even failed to perform this simple task with my no-name USB stick. This message was the only thing that the Open Source tool could do for me:
We were unable to copy your files. Please check your USB device and the selected ISO file and try again.
At least, my cheap stick wasn't the cause because everything worked perfectly when I manually did the job (hopefully without violating any Open Source laws). So, I thought, I would write this post for those who might run into the same problems and think they need to buy another USB stick. After all, this is Microsoft software and there are not many options to integrate bugs in such a simple tool.
Anyway, here is what you have to do. Launch a command prompt with admin rights and run the diskpart tool. Note: Before you run these commands read the warning below!
select disk #
create partition primary
select partition 1
format quick fs=fat32
The "list disk" command will show you the connected drives and with "select disk", you can choose your USB stick.
WARNING: Be careful to select the right drive or else your day won't have a happy end because if you select the wrong drive you will lose all your data on this drive!
The crucial step here is the "clean" command. It overwrites the MBR and the partition table (thereby, deleting everything on the stick). My guess is that WUDT misses this step and only formats the flash drive. It appears my memory stick had some odd partitions (which is not uncommon). When I tried WUDT again with this prepared stick, the Open Source tool mastered its task without further murmur.
By the way, this is also the reason why you shouldn't use the Windows Disk Management applet to prepare the USB stick. This GUI doesn't offer a clean command.
After you prepare the stick, you have to copy the contents of your Windows 7 DVD to the thumb drive, and you are done. If you only have an ISO file, you can use Virtual CloneDrive to mount the Windows 7 install DVD first.
Instead of formatting the partition with FAT32, you can also use NTFS (like WUDT does), but then you need an extra step to make the drive bootable:
Bootsect.exe /nt60 X:
"X:" is the drive letter of your USB stick. Bootsect.exe can be found on the Windows 7 DVD in the boot folder. However, I can't really recommend using NTFS. My USB stick, at least, appeared to be slower with NTFS.
Want to write for 4sysops? We are looking for new authors.
thanks a lot 🙂
Really thanks bro it worked really well you save me a few hours in web =)
Excellent! I thought it was vmware causing issues at first!
but this now work in virtual machines too!
Thanks! This fixed an issue for me trying to get Windows Server 2012 on a bootable USB drive.
3 years later and this is still a useful tip. Thanks!
I guess I am one of the unlucky ones. I tried your diskpart steps, I disabled my virus checker, I installed the HP formatter (discussed in the comments) and I even installed Rufus. Nothing works.
Nothing crazy about the ISO. It comes from MSDN downloads. I even downloaded it twice.
HI, I have done the booting of computer before with the same usb drive. Now i am having this error problem and i have done all the step you have written. Still, it does not work for me. Please help me.
Any one trying to copy .iso file to USB and having problem then try to disable the antivirus which helped me to copy. sshhh at last I could copy.
Here’s an update to my post above. The WUDT kept failing with 99% completed. After giving up, I happened to notice all of the files were happily waiting on the USB drive. Just for fun, I ran the setup to see what would happen. Setup completed successfully!
George, yeah never trust an error message. Sometimes the message is the error. 😉
iT’s Done, Work Perfectly
Thank You So Much
Thanks too much 🙂
thank you very much.
Thanks Michael, works like a charm!
Thanks dawg. Worked a treat!
That fixed it – wouldn’t work with a USB3 stick, never had a problem before. Many thanks 🙂
TKS!! Work for me!!
Nice it works great! Thinking my usb device sucks, but this is the solution!
Thanks! This did the trick… you’d think Microsoft would just make a tool that actually works to let you install their software.
Thanks a lot Michael! This worked perfectly. I had the same problem as the first poster Luke, I had used a Kingston G2 flash drive several times with WUDT but today it just would not work. After following your instructions it worked the first time.
Works like a champ – thanks!!!
It worked, thanks !
Thanks! This worked wonderfully!
THANK YOU, THANK YOU, THANK YOU!! I could say it a MILLION time over THANK YOU!
If WUDT doesn’t work then check this, http://wudt.codeplex.com/workitem/22718.