Wednesday, 4 July 2018

How to Make Bootable USB with PowerShell?

Make Bootable USB with PowerShell

First you need to connect your USB drive to your computer. Windows 10 is more than 4GB, so try to use a USB flash drive that has at least 8GB capacity.
1. Press Windows button and type PowerShell then press Ctrl+Shift and press enter to run PowerShell as administrator.
2. Type “Get-Disk” and press enter to see the connected USB flash drive and your system hard disk.


Get-Disk - Make Bootable USB with PowerShell
Get-Disk – Make Bootable USB with PowerShell
3. To format a USB, type “Clear-Disk 1 -RemoveData” and press enter. It will remove the USB files. Make sure that assign the USB number not your hard disk.



Clear-DIsk - Create Bootable USB with PowerShell
Clear-DIsk – Create Bootable USB with PowerShell
4. The this cleaned successfully. Now type “New-Partition -DiskNumber 1 -IsActive:$true” and press enter to create the partition and activated as active disk.


Create a new partition and active it
Create a new partition and active it
5. Now type “Get-Volume” and press enter to list all volumes or drives. Find the exact drive you want to format.


Get-volume to display all drives
Get-volume to display all drives
6. So, type “Format-Volume -DriveLetter K -FileSystem NTFS” and press enter to format the drive.


Format Drive with PowerShell
Format Drive with PowerShell
Finally the USB drive has formatted successfully. To install Windows with this USB, you must copy the contents of Windows image or DVD to this Bootable USB drive.
If you don’t have  download the Windows image yet, try to download from download Windows 10. Hope you get something new form this post.

No comments:

Post a Comment