Steps:
- Boot Windows installation from USB flash drive.
- Press Shift+F10.
- In console type diskpart.exe and press enter. In this program execute following:
- select disk=0. Disk 0 is your destination drive, so be careful, all information on this drive will be removed.
- create partition primary size=xxx, where xxx – is the size of new partition.
- select partition=1.
- active.
- format fs=ntfs quick.
- assign.
- exit, now you have bootable drive C.
Navigate to USB flash drive, in my case: cd d:.
Copy all files from USB drive to C: drive: xcopy d: c: /e /h /k.
Go to boot folder: cd boot.
Make you C: drive bootable with following command: bootsect /nt60 c:.
Put off USB flash drive from computer and restart them.
Install Windows.
Remove unnecessary menu item from bootscreen.
- Run cmd.exe as Administrator
- See boot menu list bcdedit
- Find Windows Setup and copy identifier
- Run bcdedit /delete {identifier}