This is a good time to double-check that you have the correct disk number! $usb | Clear-Disk -RemoveDataĬreate a Bootable USB Drive for Windows Server 2019 Installation (Image Credit: Russell Smith) $volume = $usb | New-Partition -UseMaximumSize -AssignDriveLetterĬlose the Format USB Drive dialog once formatting is complete. Type y and press ENTER to confirm you want to delete all data on the drive. Now, we’re going to delete all the data on the USB drive using Clear-Disk. $usb = Get-Disk | Where-Object Number -eq 2 You should replace -eq 2 with the number of your USB drive. Let’s create an object ($usb) for disk ‘2’. I know that my USB drive is called ‘Patriot Memory’, so it is disk number ‘2’. Run the command below to list all the USB drives attached to your device: Get-Disk | Where-Object BusType -eq USB | Format-Table -AutoSize Now let’s put the full path of the downloaded file into a variable ($isopath): $isopath = 'C:\Users\Public\Downloads\WindowsServer2019.iso'īefore we can format the USB drive, we need to establish the disk number Windows has assigned it. Make sure the file is called ‘windowsserver2019.iso’ and not ‘’. To rename a file, select it in File Explorer (WIN+E) and then press F2. iso file in C:\Users\Public\Downloads and rename it WindowsServer2019.
Format external hard drive windows 7 efi how to#
As most modern server hardware comes without a DVD drive, in this article, I’ll show you how to create a bootable USB drive containing the Windows Server 2019 media. Boot media generally comes in two forms: as a DVD or USB drive.
Format external hard drive windows 7 efi install#
Before you can install Windows Server 2019 on physical hardware, you’ll need boot media that contains all the files necessary to install Windows Server.