

The second partition will be the remaining space on the drive formatted as NTFS.The first partition will be a 500 MB FAT32 partition that holds all of the boot files from windows setup media.The script will then wipe the USB key and do the following: It will ask you to double check you have select the correct drive as it will wipe out the whole thing. Select the drive number of the one you want (probably will be drive 1 as drive 0 is your internal disk). The script will search for available USB drives and present you a list. In my case in will be “F:\”Īt the beginning of the script, press enter to continue. Right click the ISO and mount it with explorer so that it gets a drive letter assigned.


Once download, right click and then “Run with Powershell” (this will self elevate and run “as administrator”).īefore continuing with the script, ensure you have downloaded the appropriate Windows 10 media from MS Volume License site, MSDN, or used the MediaCreationTool to create an ISO (I touch more on this tool at the end) For those unfamiliar with downloading a script from Github, click on the script and then “raw” and then right-click the page and “save as”. Go to the Github repo and download the “Create-Win10-Media.ps1” script. Laptop running Windor newer (this is so you can actually see the multiple partitions on the USB key) Main Script.Windows 10 or 11 Setup media downloaded from MS Volume license site or MSDN.I recommend using a fast drive such as Sandisk Extreme or an external SSD via USB 3.0 If you are interested in that, check out my OSDCloud Video here! Pre-reqs: The absolute best method is deploying this completely from the cloud. The process I’ll document here will enable a simple way to create a zero-touch USB key for installing Windows 10 that supports UEFI (and legacy) booting on the widest range of hardware. The downside is that the Win10 media can’t fit onto FAT32 because of the install.wim file is over 4GB. The UEFI standard is most commonly implemented with FAT32 support. Not only that, using a third-party tool such as Rufus to make a Windows 10 ISO bootable to a USB drive can often not work due to varying hardware support for NTFS UEFI booting. This could be due to hard drive failure., SSD upgrade, or the OS is too far corrupted to do a full PC reset. Just download the Windows 11 ISO instead! You can check out my other blog for details.Īs you move to more modern deployment methods and get away from traditional imaging, there still comes a time when you as an IT admin need to cleanly install Windows 10 on a device. This process works exactly the same for Windows 11.
