Thursday Night

Paul Betts’s personal website / blog / what-have-you

Converting a Win8 Install Directory to an ISO

As part of the BUILD conference, attendees got a USB key packed with all of the latest preview software: copies of Win8 client and server, as well as an installer for Visual Studio 11. However, they distributed the Windows installers as folders instead of standalone ISOs to make it easier to upgrade.

Can I make an ISO out of a Windows install directory? Definitely!

Here’s how to take any Windows Install directory from Vista onward and turn it into a DVD ISO:

  1. Download oscdimg.exe from here, which I’m certainly hosting illegally. Don’t tell anyone in Redmond. (This is a public tool, just normally wrapped in a huge download; I’m hosting it solely for convenience sake)
  2. Open up cmd and copy oscdimg.exe to the *parent* directory of the Windows install (i.e. if it’s in E:\Windows8, copy it to E:\)
  3. Cd to inside the Windows directory (i.e. the folders should be “Boot”, “Efi”, “Sources”, etc)
  4. Run the following command:
  5. ..\oscdimg.exe -u2 -h . -bboot\ ..\MyCoolNewImage.iso

That’s all there is to it! Now you’ve got a shiny new bootable ISO that you can load into a VM or burn to DVD.

Written by Paul Betts

September 17th, 2011 at 4:15 pm