What Will I Learn?
how to create Bootable USB Windows victimisation Windows PowerShell
Requirements
Windows PowerShell (available in Windows OS)
Windows ten or eight ISO Image File
Flashdrive 8GB or Higher
Difficulty
Basic
Tutorial Contents
Fire up the PowerShell as Administrator (by right-clicking and selecting run as administrator) and follow these steps so as to form a Windows-10 bootable USB drive:
Step #1: Mount the Windows OS ISO image
If you haven’t downloaded the Windows-10 disk image however, you'll be able to get the most recent build from here. Once you've got the iso image, mount it on the filing system like therefore,
Mount-DiskImage -ImagePath "OS image path"
Note that you simply have to be compelled to offer the proper and full path of the OS image for the command to be run with none errors.
Once ISO image gets mounted, you'll verify it within the Windows File person. build a note of the ISO’s DriveLetter that in my case is ‘H’.
Note: Windows-10 OS file is around four.5 GB. opt for AN USB stick whose capability is over that.
Step #2: Prepare the USB drive
We need to urge our USB prepared before we tend to be converted into a bootable medium. Perform the subsequent tasks so as.
i) Insert the USB pendrive and establish it from the disk list
Get-Disk
Note down the disk range representing the USB drive. Here it’s one. it should vary in your laptop.
ii) Format the USB Drive
Clear-Disk -Number "n" -RemoveData
The Number choice ought to match thereto of the USB we tend to obtained within the previous command.
Pay attention to the warning message and confirm it’s the correct disk (USB) you’re format before acknowledging [Y]es.
At most care ought to be taken once coming into the disk range ‘n’ (1 in my case), double checking that it extremely is that the USB drive ID that you bought within the previous step. Otherwise you'll find yourself format your magnetic disk partition and lose all the info it contains. None will get your knowledge back, not even Rajnikanth!
iii) produce a replacement partition on the USB
New-Partition -DiskNumber "n" -UseMaximumSize -IsActive:$true
Here the IsActive choice marks the USB drive bootable ought to it's a bootloader, one thing that can’t be done via user interface. and also the UseMaximumSize tells to partition the complete of USB into one partition. build a note of the DriveLetter (‘G’).
iv) Format the USB volume
Format-Volume -FileSystem NTFS -DriveLetter "USB_DRIVE_LETTER"
Paste your text here and click on "Next" to observe this text redact do it's factor.
don't have any text to check? don't have any text to check? Click "Select Samples".
bootsect.exe /NT60 "USB_DRIVE_LETTER"
Paste your text here and click on "Next" to look at this text editor in chief do it's issue.
don't have any text to check? don't have any text to check? Click "Select Samples".Bootsect could be a utility that updates the master boot code for fixed disk partitions. It makes our USB bootable by adding a bootstrap code. Learn a lot of concerning bootsect.
Step #4: Copy all files inside the ISO image into the USB drive
Copy-Item -Recurse "Mounted_ISO_Drive\*" "USB_DRIVE" -verbose
Do note that the mounted Windows ISO image DriveLetter ‘H’, the one that we have a tendency to got back step #1. The Windows-10 ISO is around four.5 GB which might take considerable quantity of your time to urge traced into our USB. Go prepare yourself a cup of low within the meanwhile.
Once it’s done, our USB is prepared to be shodden on a PC/Laptop to put in Windows-10 or to perform troubleshooting tasks.
Posted on Utopian.io - Rewarding Open Source Contributors
Thank you for the contribution. It has been approved.
You can contact us on Discord.
[utopian-moderator]
Hey @dany-alves I am @utopian-io. I have just upvoted you!
Achievements
Suggestions
Get Noticed!
Community-Driven Witness!
I am the first and only Steem Community-Driven Witness. Participate on Discord. Lets GROW TOGETHER!
Up-vote this comment to grow my power and help Open Source contributions like this one. Want to chat? Join me on Discord https://discord.gg/Pc8HG9x
Thansk
This should not have been approved. It is copied from https://windowswizardry.wordpress.com/2016/08/03/how-to-create-windows-bootable-usb-stick-using-powershell/
You can contact us on Discord.
[utopian-moderator]