It could take one or two hours to complete the process depending on your computer and other variables. Use the Restore Disk Image to Drive dialog box to browse for the DMG file with the installation files for Mac OS X Yosemite in this case, and click OK to create a bootable USB of the operating system.On the left pane, you’ll see all the Windows PC drives listed, right-click the USB drive you’re intending to use to re-install Apple’s OS and click Restore with Disk Image.You’ll be prompted to Enter Key or Run, because we’ll be using it once, click Run.
Make sure you take off any important documents. Remember that all the data in the USB will be erased. (Though, if you want to support the developer, you can purchase the full version.) TransMac is a paid software, but it has a 15-day trial solution, that give us more than enough time to move the DMG files to the USB drive from Windows.