Sunday, 11 February 2018

Make bootable USB of Windows Server 2012, 2016 or Technical Preview edition.

Making bootable USB of Microsoft Windows Server 2016, 2012 or technical preview edition is not so easy as making as other versions of OSs, what I have faced till now. It give error like "Windows cannot open the required file D:\Sources\install.wim. Make sure all file required for installation are available and restart the installation. Error code: 0x80070026" during the installation.



Let see how can get rid of this problem.

Requirements :- 

  • ISO file of OS.
  • USB pen drive (at least 8 GB).
  • WinRar or 7zip extraction tool.
Caution: The following commands will completely erase your disk without any warning, so be sure that you select proper disk. Disconnect other external drives and keep back up of all your data 

  1. Now keep ready your Windows ISO file.
  2. Insert your USB disk in computer system (Should not be less than 8 GB).
  3. Now open command prompt in elevated mode means "Run as administrator" (Right click on command prompt and select "Run as administrator").

4. Now type diskpart on command prompt. It will open diskpart utility.




5. Now type list disk. It will show all drives attached with your system.


6. Now type select disk ? (at ? put disk id like 0 or 1, you can identify your USB drive here by size). In  my case the complete command is select disk 1.
7. Again run list disk command to check  whether you have selected proper disk or not. Selected disk will be pointed by * mark.

8. Now run clean command (it will erase every thing on USB disk).
9. Now create partition primary

10. Then select partition 1


11. Make it active by typing active


12. Then format this disk using command
       format fs=ntfs quick label="2016server"
      label could be anything.


13. Now exit from DISKPART utility by typing exit.

After exit from DISKPART you will be again on command prompt. 
Now extract your Windows ISO image on USB drive by the help of WinRAR or any other tool.
(Right click on ISO then select Open with and select WinRAR. After that click on Extract to then select your pen drive path.)

After extracting ISO on USB Drive.

1. Go to USB drive by typing drive letter (in my case drive letter is F).
     F:
2. Now type cd boot
3. Then type bootsect /nt60 e:


output of this command should be look like "Bootcode was successfully updated on all targeted volumes".

4. Now run command xcopy F:\*.* D:\/E/H/G (F:\*.* - F is my USB drive letter, you put yours here).



Copy of install.wim file will take a long time. Please wait here, it is too large file.



After finishing copy, you will be able to install Windows server 2016.

Compiled from:- http://itproguru.com/expert/2016/05/create-bootable-windows-server-2016-usb-thumb-drive-for-installing-os/




No comments:

Post a Comment

Change image source dynamically on hyperlink

 Changing image source dynamically using JQuery. Here in this example I have created there hyperlink and stored all images in the same folde...