How To Use a USB Stick to Install Windows Home Server or anything else for that matter

Continuing the “How To….” guides, this guide looks at using a USB key to install Windows Home Server, either on a machine that doesn’t have a DVD Drive or just because you can use a USB stick.

WHS USB Key

In fact, once you have configured the USB Stick, you could use it to install or run anything – Windows Home Server, the WHS Client Restore disc, Windows 7, anything!

All you need for this is a USB Stick with enough space for whatever you need (in the case of Windows Home Server you could get away with a 1GB stick) and a copy of Windows Home Server (or whatever it is you want to install or run).

There are three stages to the process – preparing the USB stick, copy the files to the USB stick and installing the software from the USB stick.

PREPARING THE USB STICK

Plug in the USB stick to your computer/

You need to open a command prompt, but you will need to be acting as an “administrator” to perform these functions. There are two ways of doing this.

The first is to click Start, click Accessories and hover over Command Prompt.

Starting a command prompt

Press the right mouse button and click Run as administrator.

Running as administrator

The other way is to click Start, type in CMD and hold down CTRL and SHIFT together and press Enter.

When you are at the Command Prompt, type diskpart.

This will start the built in Windows disk partitioning software.

diskpart 1

The next thing you need to do is determine which disk is your USB Stick, so type list disk. In my case I used an 8GB USB Stick so it is showing as Disk 7.

listing disks

You need to specify that disk, so type select disk 7 (or whatever number the USB Stick is for you).

disk selected

You then need to clean the USB Stick, so type clean.

clean disk

You need to create a primary partition so type create partition primary.

create partition primary

You then have to select this partition, and as it is on the only partition on the USB Stick it will be the 1st one, so type select partition 1.

select partition 1

You now need to make that partition active, so type active.

active

Nearly there – so it’s time to format the USB Stick, and for speed and compatibility reasons its best to go with FAT32 rather than NTFS, so type format fs=fat32.

format the drive

Depending on the size of your USB Stick this may take a few minutes, so be patient.

format completed

The last thing you need to do is assign a drive letter to the USB Stick, so type assign.

assign

Autoplay will also probably kick in at this point and tell you Windows has round a removable disk, in my case Drive M.

autoplay new drive

Just type exit to finish and then close the command prompt window.

exit diskpart

COPYING THE FILES TO THE USB STICK

Put the DVD into your computer and then copy the files from the DVD to the USB Stick (in my case it is the M drive).

WHS disk contents

INSTALLING THE SOFTWARE FROM THE USB STICK

So now that you have your USB Stick with the relevant software on, it’s time to plug it into the machine you want to install Windows Home Server (or whatever) on. You will need to tell that computer when it power’s up to boot from the USB drive, so check the manual that came with the computer to see how to do that (it is often ESC, or F12, or something similar), you could also change the boot priority in the BIOS, but they you may need to set it back again afterwards so it is often easier just to select the drive at boot time.

And if all goes well you should now be starting the Windows Home Server installation. Just follow the onscreen steps to continue the installation. Good luck!

Similar posts you might be interested in:

  1. How To Install Windows Home Server
  2. Are You Having Problems Restoring a Windows 7 Computer from Windows Home Server?
  3. How To Perform a Server Reinstallation of Windows Home Server
  4. How to install or remove an Add-in for Windows Home Server
  5. How to Install or Remove the Windows Home Server Connector Software
Twitter Digg Delicious Stumbleupon Technorati Facebook Email

44 Responses to “How To Use a USB Stick to Install Windows Home Server or anything else for that matter”

  1. Great instructions … EXCEPT that they don’t work under Vista/32 Ultimate OR on the WHS Desktop. even in Administrator mode. “List”, “Select”. etc. are “not recognized as an internal or external command,
    operable program or batch file.”

    What version of Windows were you running?

    (FYI, I do see the logic behind the command mode steps so I can probably actually do this. But it would have been nice to do it so simply in a command window.

    • John – I used Windows 7 for the walk through, but it certainly works fine under Vista, I use it all the time, and in fact I just created a new USB stick on Vista/32 Business Edition. I am not sure why this is not working for you. What are the exact steps you performed on your Vista machine? Also I dont understand your last comment? Everything is done from the command prompt.

  2. John – nothing to do with Windows version, diskpart has been around since Win98. Pretty sure you’re getting unrecognized commands because you’re not in the
    Disk Partitoner utility.
    Run command prompt as Admin & type “DISKPART”
    before anything else – everything after that will work.

  3. Thanks Andrew. I’ve seen a lot of sites with this information but none have it as concise and well laid out. Bookmarked for future use!

  4. What if i dont have vista? how can i do this in xp, please answer fast.

  5. All my usb sticks are not listed in “list disk” becouse my usb pstick is “take away disk”. how can i change this?

  6. If List Disk doesn’t work and doesn’t show your USB stick you can try List Volume, then Select Volume 2 or whatever number your volume is.

  7. Now to make this even easier in the future. Go download nLite and slipstream your windows key into whs and select unattended install and go watch some tv.

    • If you try nLite you would have the same problem… Booting from a CD. We are talking about an USB Solution

  8. This doesn’t work in Windows XP. Windows XP cannot see USB disks as drives in DISKPART.

  9. it works not in XP. I have do it in VirtualBox with Vista

  10. Can someone say that i am possible to boot from USB?
    My motherboard is a asus cusl2-m: http://support.asus.com/download/download_item.aspx?product=1&model=CUSL2-M&SLanguage=en-us

  11. Thanks! Great instructions ;-)

    Best regards!

  12. Do you know if it is possible to install Windows Server 2003 ON an usb stick?

    I am running several Ubuntu server on HP Thinclients (1Ghz CPU, 1GB RAM, 16GB-usb sticks) without any problems for years…

    • Peter

      You should be able to install Win 2003 from a memory stick, but I cant say I have tried to install it to a memory stick, but I assume you meant from?

      Andrew

  13. First thanks for your quick answer.

    And: no, I meant installing Win Server 2003 ON a USB stick.

    As far as I have googled there had been guys succesfully installing it on a USB stick, but got blue screens after the first system restart.

    Do u have any more hints?

  14. Well, XP (SP3, SP2, others?) does have DISKPART, but it’s version of DISKPART will not list USB memory sticks, and DISKPART under XP does not have a FORMAT command.

  15. try this site for an all-in-one solution…

    http://wintoflash.com/home/en/

    If it works for you, let the world know!

  16. Will just copying an ISO image of WHS to the flash drive work for this purpose? If I set my bios to boot from USB (mine only has the USB FDD, USB ZIP, and USB HDD options), with that ISO on the drive will this work?

  17. This worked like a charm for me. I’d tried a few other sites how to in doing this but totally forgot about having to run as administrator and they never mentioned it. You reminder worked like a charm. Thanks!

  18. Mmm, when I try this my computer says cannot book from this disk (when trying to boot from the USB).

    No boot partition on the USB I guess. The USB drive does show as USB-HDD (and not ZIP)

    Any ideas? How to get a boot parition on.

  19. Bravo Andrew, many thanks for a job well done.

    Jon

  20. You’re telling me you can install things from a USB stick WITHOUT using Bootsec?

  21. I tried following the described steps, but still ran into a problem.

    I did the following on a Vista 64 system. Find my USB stick.

    diskpart
    list disk

    My USB stick was disk #1.

    select disk 1
    clean
    create partition primary

    At this point I got the following error message. “There is insufficient free space to create a partition at the specified size and offset. Specify different size and offset or don’t specify either to create the maximum sized partition.”

    However, after doing the following commands.

    select vol 1
    clean
    create partition primary

    It succeeded in creating the partition and then I was able to format it. So it appears that the order of the commands should be (assuming that your USB stick is disk #1).

    select disk 1
    clean
    select vol 1
    create partition primary
    select partition 1
    active
    format fs=fat32
    assign
    exit

    Disclaimer: I didn’t go back and try this from scratch, but it’s an approximate recounting of what I did.

    • Paul

      I have followed my own steps countless times and never had a problem or needed to select a volume.

      In your steps you listed above (the last batch) how can you select vol 1 (3rd line) because at that point you shouldnt actually have a volume!

      Does your pen drive have any U3 software or partitions on it? Basically something that makes the drive have multiple volumes even after the clean?

      Andrew

  22. *

    Partition Wizard is a Windows based server partition manager software. Our server partition software supports both MBR and GUID partition table (GPT) format running on 32/64 bits Operating System including Windows XP, Vista, Windows Server 2000/2003/2008, and Windows 7. And our magic partition software supports all hard disks recognized by Windows such as IDE, SATA, SCSI, USB external disks, Fire wire disks and so on. Partition Wizard also supports RAID devices. All OS-recognized RAID devices can be handled by Partition Wizard. As a Partition Manager Server, Partition Wizard provides powerful and professional functions to manage partition including Move/Resize Partition, Copy Partition, Create Partition, Delete Partition, Format Partition, Convert File System, Hide/Unhide Partition, Explore Partition, Partition Recovery, Convert Dynamic Disk to Basic Disk and much more.

    Partition Wizard is a partition magic alternative. It allows home users, business users, and system administrators to easily perform partition operations safely and quickly. The Enhanced Data Protecting technology keeps your data safe even in cases of power outages or hardware failure.
    * Partition Wizard is absolutely FREE OF CHARGE for home and business users. Partition Wizard is optimized and divided into Home, Business, Server, Enterprise and Technician Edition.

  23. I’ve tried this on two laptops and I get the same blue screen. I’ve tried NTFS and FAT32 formatting. Both laptops have boot from USB Storage Device but I still get the blue screen. I’ve copied the files including folders from the WHS Restore cd to include “Bootmgr and Autorun.inf”. I can see the laptop reading from the usb drive (usb light activity) then the Microsoft Corporation GUI Progress bar comes up indicating that it’s not booting from usb but has moved to the HD to boot, then the blue screen. The blue screen is ” A problem has been detected and windows has been shut down to prevent damage to your computer”. Any ideas?

    • Rex

      Can you post your question in our forums please so that others have a chance to respond?

      thanks

      Andrew

  24. OK, first great article. Thank you.

    Second, where in the world did you get the cool looking Windows Home Server USB Stick?

  25. It seems that Windows XP makes this process very difficult. If I type list disk, it only shows disk 0. In order to see my USB drive, I have to type list volume. It shows my USB drive as volume 7, but I am unable to perform any of the commands on a volume, only a disk. Since it won’t show my USB drive as a disk, you can’t make it bootable. Any suggestions?

  26. Hi DAN i face the same problem .did u get any solution.please email me on jack_rosan@yahoo.com..
    regards
    jack

Trackbacks/Pingbacks

  1. VIA NSD-7800 Review « MS Windows Home Server - 20. Oct, 2009

    [...] With the monitor dutifully connected, the installation of Windows Home Server still presents a couple of challenges. For one thing, the lack of a built-in CD/DVD drive presents you with an initial hurdle of how to install the operating system. This is of course easily remedied with either a USB DVD drive or by transferring the WHS installation media over to a USB memory stick. [...]

  2. Acer Aspire Revo R3610 review « MS Windows Home Server - 20. Feb, 2010

    [...] little bit of work upfront. Firstly, as the R3610 has no optical device, so you will need to make a USB copy of your WHS installation CD or alternatively obtain a external USB CD ROM [...]

  3. Vail Installationsprozess unter die Lupe genommen : Home Server Blog - 15. May, 2010

    [...] Inhalt einfach auf einen USB Stick kopieren, den man vorher jedoch ein wenig präparieren muss. UsingWindowsHomeServer, eine andere Windows Home Server Community in englischer Sprache, hatte dazu mal einen [...]