Create a Windows 10 Bootable USB Stick using PowerShell

In this article I’ll show you how to create a Windows 10 bootable USB stick using PowerShell. PowerShell has a lot of cmdlets, that are useful for system management and administrative tasks such  copying and moving files, network configuration etc. etc.

Mount the Windows 10 ISO image

Start PowerShell with administrator privileges in order to create a Windows 10 bootable USB drive.

To determine the USB drive, run the following PowerShell command:

In my case drive number 3 is the USB drive.

To mount the Windows 10 ISO, just run the following command:

When the ISO image is mounted, just verify it in the File Explorer. In my case is the ISO image is mounted on drive G:

Note: Keep in mind that a Windows 10 ISO  is around 4.5 GB. So get a USB stick with a least 8 GB space.

Prepare the USB drive

As I show you above my USB drive number is 3. First we format the USB drive with the following PowerShell command:

To create a new  partition on the USB drive, just run the following command:

To format the new USB volume, in my case drive letter F, just run the following command:


Make the USB stick bootable

Bootsect is a utility that updates the master boot code for hard disk partitions. It makes our USB bootable by adding a bootstrap code.

To make the USB stick bootable, just run the following command:


Copy all files from the ISO to the USB drive

To copy all files from the ISO to the USB drive, just run the following command:

In a nutshell

When the above process is done, your USB stick is ready to be booted to install Windows 10.

So if you somewhere where is no Internet and you need a utility to create a bootable USB stick, PowerShell is your friend 😀

I really like to hear what you have to say about this article:

  • Was this article helpful for you or do you have any questions?
  • Do you have additions, suggestions or any other ideas?
  • Just let me know by leaving a comment below.

Thank you for spending some time at my site and in my blog. I hope you come to visit again soon 😉

About Lex van der Horst 192 Articles

Be the first to comment

Leave a Reply