Overclock.net › Forums › Software, Programming and Coding › Operating Systems › Windows › Convenient Utility to Install Windows from USB
New Posts  All Forums:Forum Nav:

Convenient Utility to Install Windows from USB

post #1 of 10
Thread Starter 
I posted this in the programming section as well, but I think a lot of people browsing here would find it useful.

Looking for some people to test this little application I wrote for us to use around the office. We have numerous versions of Windows Vista and 7 around and so instead of making (and losing...) tons of DVDs, I copied all the disks to an external drive and wrote this application to format a USB drive and copy the files over. Should be working, but I do not have a USB drive at home to test with (copying and format functions work, but I cannot test the bootcode update...).

Anyway, I hope someone can test that part of it for me so I can trouble shoot it if it doesn't work, and maybe someone here will even find it useful!

Simple to use, just select the folder containing the install files (could be your DVD drive), select your USB drive, and go!

The 32bit bootsect file is for situations in which you are using a 32bit OS and are preparing to install a 64bit OS, in which case the bootsect included with the install files will not work, so you must select a 32bit version of bootsect.

Let me know what you think!
Edited by fball922 - 3/12/11 at 8:05pm
    
CPUMotherboardGraphicsRAM
Phenom II X6 1055T Asus M5A97 EVO 2 x Radeon 5870 2x4GB, 2x8GB 
Hard DriveHard DriveOSMonitor
120GB SSD 500GB WD 7300RPM x 2 Windows 7 Pro x64 2 x 23" Dell IPS 
PowerCase
750w OCZ A Desk 
  hide details  
Reply
    
CPUMotherboardGraphicsRAM
Phenom II X6 1055T Asus M5A97 EVO 2 x Radeon 5870 2x4GB, 2x8GB 
Hard DriveHard DriveOSMonitor
120GB SSD 500GB WD 7300RPM x 2 Windows 7 Pro x64 2 x 23" Dell IPS 
PowerCase
750w OCZ A Desk 
  hide details  
Reply
post #2 of 10
Nice work I don't have a spare flash drive, especially not one big enough for a Windows install, but I saw it on the latest discussion list and it sounded interesting. Subb'd for possible future use/testing
Proteus
(17 items)
 
 
Ordinary Toaster
(10 items)
 
CPUMotherboardGraphicsRAM
i5 2500k P67 Extreme 4 Gen 3 GTX 780 16GB Kingston HyperX Beast 
Hard DriveOptical DriveCoolingCooling
Crucial BX200 Cheap something that writes DVD-RW Hyper 212 Evo Cooler Master SickleFlow 120 
OSMonitorKeyboardPower
Windows 10 Pro 2x Asus VW246H Corsair Strafe MX Brown Corsair HX650 
CaseMouseMouse PadAudio
Thermaltake Commander MS-I Epic Edition SteelSeries Sensei RAW SteelSeries QCK Altec Lansing BXR1221 
Audio
Sentey Symph GS-4531 
CPUMotherboardGraphicsRAM
Intel Core 2 Duo T9550 ASUS Nvidia GTX 260m 4 GB 
Hard DriveOSMonitorMonitor
Scorpio Blue 750GB Windows 7 1366x768 Epson projector 
Mouse
Logitech M305 
CPUMotherboardRAMHard Drive
I5 650 Intel DH57JG 8gb generic 750gb Scorpio Blue 
Hard DriveCoolingCoolingOS
3tb Caviar Green Cooler Master SickleFlow 120 Stock Intel Cooler Debian 8 
PowerCase
Cheap generic 450w Some cheap junk I had lying around 
  hide details  
Reply
Proteus
(17 items)
 
 
Ordinary Toaster
(10 items)
 
CPUMotherboardGraphicsRAM
i5 2500k P67 Extreme 4 Gen 3 GTX 780 16GB Kingston HyperX Beast 
Hard DriveOptical DriveCoolingCooling
Crucial BX200 Cheap something that writes DVD-RW Hyper 212 Evo Cooler Master SickleFlow 120 
OSMonitorKeyboardPower
Windows 10 Pro 2x Asus VW246H Corsair Strafe MX Brown Corsair HX650 
CaseMouseMouse PadAudio
Thermaltake Commander MS-I Epic Edition SteelSeries Sensei RAW SteelSeries QCK Altec Lansing BXR1221 
Audio
Sentey Symph GS-4531 
CPUMotherboardGraphicsRAM
Intel Core 2 Duo T9550 ASUS Nvidia GTX 260m 4 GB 
Hard DriveOSMonitorMonitor
Scorpio Blue 750GB Windows 7 1366x768 Epson projector 
Mouse
Logitech M305 
CPUMotherboardRAMHard Drive
I5 650 Intel DH57JG 8gb generic 750gb Scorpio Blue 
Hard DriveCoolingCoolingOS
3tb Caviar Green Cooler Master SickleFlow 120 Stock Intel Cooler Debian 8 
PowerCase
Cheap generic 450w Some cheap junk I had lying around 
  hide details  
Reply
post #3 of 10
Thread Starter 
Thanks! However, just to clarify, this is for loading the install files onto a flash drive and installing from there, rather than from a DVD, not installing Windows to a flash drive.
    
CPUMotherboardGraphicsRAM
Phenom II X6 1055T Asus M5A97 EVO 2 x Radeon 5870 2x4GB, 2x8GB 
Hard DriveHard DriveOSMonitor
120GB SSD 500GB WD 7300RPM x 2 Windows 7 Pro x64 2 x 23" Dell IPS 
PowerCase
750w OCZ A Desk 
  hide details  
Reply
    
CPUMotherboardGraphicsRAM
Phenom II X6 1055T Asus M5A97 EVO 2 x Radeon 5870 2x4GB, 2x8GB 
Hard DriveHard DriveOSMonitor
120GB SSD 500GB WD 7300RPM x 2 Windows 7 Pro x64 2 x 23" Dell IPS 
PowerCase
750w OCZ A Desk 
  hide details  
Reply
post #4 of 10
Thread Starter 
Updated to check flash drive size before doing everything.
    
CPUMotherboardGraphicsRAM
Phenom II X6 1055T Asus M5A97 EVO 2 x Radeon 5870 2x4GB, 2x8GB 
Hard DriveHard DriveOSMonitor
120GB SSD 500GB WD 7300RPM x 2 Windows 7 Pro x64 2 x 23" Dell IPS 
PowerCase
750w OCZ A Desk 
  hide details  
Reply
    
CPUMotherboardGraphicsRAM
Phenom II X6 1055T Asus M5A97 EVO 2 x Radeon 5870 2x4GB, 2x8GB 
Hard DriveHard DriveOSMonitor
120GB SSD 500GB WD 7300RPM x 2 Windows 7 Pro x64 2 x 23" Dell IPS 
PowerCase
750w OCZ A Desk 
  hide details  
Reply
post #5 of 10
sounds interesting. i will give it a go sometime this weekend to provide some feedback.
Gamer
(10 items)
 
Home Server
(13 items)
 
 
CPUMotherboardGraphicsRAM
Core i5 2500k ASUS P8Z68-V LX Galaxy 780 HOF Hyper-X@1600 
Hard DriveHard DriveCoolingOS
Crucial MX300 Crucial M4 Thermaltake Frio Windows 10 Pro 
PowerCase
EVGA SuperNova GQ 650W Haf 922 
CPUMotherboardRAMHard Drive
AMD A4-5300 FM2-A75MA-E35 2 x 2 gb HyperX WD Velociraptor 
Hard DriveCoolingOSMonitor
WD Red Stock Windows Server 2012 R2 none 
KeyboardPowerCaseMouse
none 650 w Rosewill 4U none 
Mouse Pad
none 
  hide details  
Reply
Gamer
(10 items)
 
Home Server
(13 items)
 
 
CPUMotherboardGraphicsRAM
Core i5 2500k ASUS P8Z68-V LX Galaxy 780 HOF Hyper-X@1600 
Hard DriveHard DriveCoolingOS
Crucial MX300 Crucial M4 Thermaltake Frio Windows 10 Pro 
PowerCase
EVGA SuperNova GQ 650W Haf 922 
CPUMotherboardRAMHard Drive
AMD A4-5300 FM2-A75MA-E35 2 x 2 gb HyperX WD Velociraptor 
Hard DriveCoolingOSMonitor
WD Red Stock Windows Server 2012 R2 none 
KeyboardPowerCaseMouse
none 650 w Rosewill 4U none 
Mouse Pad
none 
  hide details  
Reply
post #6 of 10
Does it do all this? If so your good I used this process with an old lap top HD now I have a convenient 7 emergency plan

Follow the below steps to create bootable Windows 7/Vista USB drive using which you can install Windows 7/Vista easily.

1. Plug-in your USB flash drive to USB port and move all the contents from USB drive to a safe location on your system.

2. Open Command Prompt with admin rights. Use any of the below methods to open Command Prompt with admin rights.

*Type cmd in Start menu search box and hit Ctrl+ Shift+ Enter.

Or

*Go to Start menu > All programs > Accessories, right click on Command Prompt and select Run as administrator.

3. You need to know about the USB drive a little bit. Type in the following commands in the command prompt:

First type DISKPART and hit enter to see the below message.

Bootable USB Drive

Next type LIST DISK command and note down the Disk number (ex: Disk 1) of your USB flash drive. In the below screenshot my Flash Drive Disk no is Disk 1.

4. Next type all the below commands one by one. Here I assume that your disk drive no is “Disk 1â€.If you have Disk 2 as your USB flash drive then use Disk 2.Refer the above step to confirm it.

So below are the commands you need to type and execute one by one:

SELECT DISK 1

CLEAN

CREATE PARTITION PRIMARY

SELECT PARTITION 1

ACTIVE

FORMAT FS=NTFS

(Format process may take few seconds)

ASSIGN

EXIT

Don’t close the command prompt as we need to execute one more command at the next step. Just minimize it.

Bootable USB Drive

5. Next insert your Windows7/Vista DVD into the optical drive and check the drive letter of the DVD drive. In this guide I will assume that your DVD drive letter is “D†and USB drive letter is “H†(open my computer to know about it).

6. Maximize the minimized Command Prompt in the 4th step.Type the following command now:

D: CD BOOT and hit enter.Where “D†is your DVD drive letter.

CD BOOT and hit enter to see the below message.

7. Type another command given below to update the USB drive with BOOTMGR compatible code.

BOOTSECT.EXE /NT60 H:

14

Where “H†is your USB drive letter. Once you enter the above command you will see the below message.

8. Copy your Windows 7/Vista DVD contents to the USB flash drive.

9. Your USB drive is ready to boot and install Windows 7/Vista. Only thing you need to change the boot priority at the BIOS to USB from the HDD or CD ROM drive. I won’t explain it as it’s just the matter the changing the boot priority or enabling the USB boot option in the BIOS.
Arrowslinger
(14 items)
 
  
CPUMotherboardGraphicsRAM
i5 2500k Gigabyte Z68AP-D3 Gigabyte 5870 HD Kingston HyperX 8GB 
Hard DriveOptical DriveCoolingOS
Western Digital Caviar Blue LG UH12LS28 Super Multi Blue Corsair Hydro Series H60 High Performance Liqui... Windows 7 Home Premium (64-bit Edition) 
MonitorKeyboardPowerCase
LG Flatron W2600H 26" LCD Razer Lycosa Raidmax RX-1000AE 80 Plus Gold Zalman Z9 Plus  
MouseAudio
Razer Lachesis Realtek Onboard 
  hide details  
Reply
Arrowslinger
(14 items)
 
  
CPUMotherboardGraphicsRAM
i5 2500k Gigabyte Z68AP-D3 Gigabyte 5870 HD Kingston HyperX 8GB 
Hard DriveOptical DriveCoolingOS
Western Digital Caviar Blue LG UH12LS28 Super Multi Blue Corsair Hydro Series H60 High Performance Liqui... Windows 7 Home Premium (64-bit Edition) 
MonitorKeyboardPowerCase
LG Flatron W2600H 26" LCD Razer Lycosa Raidmax RX-1000AE 80 Plus Gold Zalman Z9 Plus  
MouseAudio
Razer Lachesis Realtek Onboard 
  hide details  
Reply
post #7 of 10
Why not use the official Windows 7 USB Tool?
My System
(13 items)
 
  
CPUMotherboardGraphicsRAM
Intel i5 2500K gigabyte z68x-ud3h-b3 2 x Sapphire 6950 (unlocked to 6970) 12Gb Gskill Ripjaws 
Hard DriveOSCase
Intel X25 SSD, 6TB WD Greens Windows 7 Ultimate x64 Soldam Windy Alcadia FX2000R SOJ 
  hide details  
Reply
My System
(13 items)
 
  
CPUMotherboardGraphicsRAM
Intel i5 2500K gigabyte z68x-ud3h-b3 2 x Sapphire 6950 (unlocked to 6970) 12Gb Gskill Ripjaws 
Hard DriveOSCase
Intel X25 SSD, 6TB WD Greens Windows 7 Ultimate x64 Soldam Windy Alcadia FX2000R SOJ 
  hide details  
Reply
post #8 of 10
Thread Starter 
Quote:
Originally Posted by Arrowslinger View Post
Does it do all this?
Yep, this is essentially what the tool does.
    
CPUMotherboardGraphicsRAM
Phenom II X6 1055T Asus M5A97 EVO 2 x Radeon 5870 2x4GB, 2x8GB 
Hard DriveHard DriveOSMonitor
120GB SSD 500GB WD 7300RPM x 2 Windows 7 Pro x64 2 x 23" Dell IPS 
PowerCase
750w OCZ A Desk 
  hide details  
Reply
    
CPUMotherboardGraphicsRAM
Phenom II X6 1055T Asus M5A97 EVO 2 x Radeon 5870 2x4GB, 2x8GB 
Hard DriveHard DriveOSMonitor
120GB SSD 500GB WD 7300RPM x 2 Windows 7 Pro x64 2 x 23" Dell IPS 
PowerCase
750w OCZ A Desk 
  hide details  
Reply
post #9 of 10
Quote:
Originally Posted by fball922 View Post
Yep, this is essentially what the tool does.
Well then that will cut down the time it takes, at the moment I do not have a PC to test it with
Arrowslinger
(14 items)
 
  
CPUMotherboardGraphicsRAM
i5 2500k Gigabyte Z68AP-D3 Gigabyte 5870 HD Kingston HyperX 8GB 
Hard DriveOptical DriveCoolingOS
Western Digital Caviar Blue LG UH12LS28 Super Multi Blue Corsair Hydro Series H60 High Performance Liqui... Windows 7 Home Premium (64-bit Edition) 
MonitorKeyboardPowerCase
LG Flatron W2600H 26" LCD Razer Lycosa Raidmax RX-1000AE 80 Plus Gold Zalman Z9 Plus  
MouseAudio
Razer Lachesis Realtek Onboard 
  hide details  
Reply
Arrowslinger
(14 items)
 
  
CPUMotherboardGraphicsRAM
i5 2500k Gigabyte Z68AP-D3 Gigabyte 5870 HD Kingston HyperX 8GB 
Hard DriveOptical DriveCoolingOS
Western Digital Caviar Blue LG UH12LS28 Super Multi Blue Corsair Hydro Series H60 High Performance Liqui... Windows 7 Home Premium (64-bit Edition) 
MonitorKeyboardPowerCase
LG Flatron W2600H 26" LCD Razer Lycosa Raidmax RX-1000AE 80 Plus Gold Zalman Z9 Plus  
MouseAudio
Razer Lachesis Realtek Onboard 
  hide details  
Reply
post #10 of 10
Quote:
Originally Posted by Arrowslinger View Post
Well then that will cut down the time it takes, at the moment I do not have a PC to test it with
It seems to have worked for me. Thanks
mITX
(11 items)
 
  
CPUMotherboardGraphicsRAM
Intel Core i7 4770K ASRock Z97E-ITX/ac ASUS GeForce GTX 970 Crucial 8GB (4GB x 2) 
Hard DriveHard DriveOptical DriveCooling
SanDisk Extreme II - 240GB Western Digital RAID0 - 1TB LITE-ON iHAS124 CORSAIR Hydro H100i 
OSPowerCase
Windows 10 Pro Corsair TX750 Corsair Obsidian 250D 
  hide details  
Reply
mITX
(11 items)
 
  
CPUMotherboardGraphicsRAM
Intel Core i7 4770K ASRock Z97E-ITX/ac ASUS GeForce GTX 970 Crucial 8GB (4GB x 2) 
Hard DriveHard DriveOptical DriveCooling
SanDisk Extreme II - 240GB Western Digital RAID0 - 1TB LITE-ON iHAS124 CORSAIR Hydro H100i 
OSPowerCase
Windows 10 Pro Corsair TX750 Corsair Obsidian 250D 
  hide details  
Reply
New Posts  All Forums:Forum Nav:
  Return Home
  Back to Forum: Windows
Overclock.net › Forums › Software, Programming and Coding › Operating Systems › Windows › Convenient Utility to Install Windows from USB