Creating Windows 8 To Go on a 16 GB USB-Stick

[German version]Here I have described, how to create a Windows 8 To Go installation on a USB hard disk. The solution had a few disadvantages. First of all, it requires an old Windows 8 Build (I used Portable Workspace Creator, which was removed from Build 8102). And I wasn’t able to test my procedure with an 16 GB USB thumb drive,  because the minimum is a 32 GB USB memory stick. Now I found a simpler way, to bring the Windows 8 Developer Preview as Windows 8 To Go-Version to a 16 GByte USB-Stick (work’s also with USB hard disks).


Werbung


Wrong paths …

My first approach was, to install Windows 8 in a virtual machine, using a 16 GB virtual disk. Then I tried to clone this virtual disk to a 16 GB USB thumb drive using the Linux-Tool GParted. But I failed, because GParted terminated during copy operation with errors. The USB memory stick was bootable, but Windows 8 couldn’t load.

One other idea, I have had, was: create a 350 MB boot partition and a 2nd 5,3 GB Windows partition using GParted and format that as NTFS drives (diskpart won’t support that). This approach offers the possibility to use the WAIK (Windows Automated Installation Kit)program imagex.exe to copy the Windows files to the 2nd Windows partition. But I also failed.

At least I discussed my toughts about imagex on German forum WinVistaSide.de. User hoschi80 cited the following from a BUILD presentation.

The same APIs used to deploy desktops and laptops can be used with Windows To Go
imagex /apply N:\Images\my-windows-partition.wim 1 W:\
Bcdboot.exe w:\windows /s X: /f ALL

After reading that cite, I rembered this arcticle, that should point to the right direction. A few hours later, user hoschi80 directs me to a second article, that confirmed my thoughts.  

Step by Step: Windows 8 To Go on a 16 GB USB memory stick

First of all, we need to boot the Windows 8 Developer Preview (for instance in a virtual machine). Then it is mandatory, to mount the ISO file of a Windows 8 Developer Preview (I have used the 32 bit version). We also need the Windows Automated Installation Kit (for Windows 7), because the WAIK file imagex.exe from the Tools folder is required. I have copied the recommended 32 or 64 bit version to my Windows 8 machine. 

After connecting the USB memory stick to Windows 8, we need to create a NTFS-formated primary partition on the USB memory stick. This can be done using Computer Managment-Console (branch disk management). Or you can invoke the command prompt windows using Run as administrator. Then you can use the following diskpart-commands to create the ntfs partition.

diskpart
select disk 1
select partition 1
delete partition
create partition primary
format fs=ntfs quick
active
exit

You can use list disk to query all drives, and list partition shows all partitions on a drive. The select command selects the drive and the required partition. Above I used disk 1 and then I deleted an existing partition on the memory stick. Afterward I created a primary partition and formats it with ntfs. The active command made the stick bootable.

After terminating diskpart, we need to copy Windows files to the USB thumb drive using imagex.exe. This can be done, using the following command in a administrative console window.

imagex.exe /apply d:\sources\install.wim 1 f:\

Here I launched imagex.exe from the currect directory of my Windows 8 drive. D: was the DVD drive (containing the setup media with the file install.wim) and F: was the drive letter of my USB memory stick. The number 1 defines, that only on Windows 8 edition should be copied.

After copying Windows successful to the thumb drive (on my system it took nearly 3 hours to finish), we have to copy also the boot files to the media. This can be done using the following command:

bcdboot.exe f:\windows /s f: /f ALL

within an administrative console windows. Drive f: is my USB memory stick. The command writes the boot files from the current Windows directory to the boot area of the target media.

Executing the commands above sucessfully, the USB memory stick should contain the files shown below. After unmounting the USB thumb drive the media can be used to boot a system.

To force a boot from USB memory stick (pen drive), it is required to invoke the BIOS boot menu (pressing a key like ESC, F8, F11, depends on BIOS version and vendor) and select the boot device. After selecting the USB media as boot device, Windows 8 should boot and starts configuring the system. The screen below shows the setup page to enter the computer’s network name.

During first setup, some reboots are necessary. Keep your attention to invoke the BIOS boot menu and select USB media to boot (otherwise the OS installed on the system disk will be booted). After configuring your Windows 8 To Go, the login screen should be visible. Below is my MSI Wind 100 netbook, showing Windows 8 start screen (I have used Windows 8 To Go on a 300 MB USB 2.0 hard disk).

Remarks: Using the steps described above brings Windows 8 Developer Preview to a 16-GB-USB thumb drive (or a USB hard disk) as Windows 8 To Go. The advantage against my 1st solution: we don’t need a Windows 8 Build containing Portable Workspace Creator, and we can keep existing partitions on a USB hard disk. The disadvantages are: We don’t have a 2nd partition “system reserved”, that is needed to set up bitlocker.

For my tests I have had only a 16 GB USB 2.0 thumb drive. I was able to boot my system with this memory stick. But the solution wasn’t really useable. Whilst I was able to use my USB 2.0 hard disk with Windows 8 To Go in a reasonable way, the USB 2.0 thumb drive took a long time to boot – more than 5 minutes – and setup the system for the first time. After entering the password in login screen, I waited 10 minutes. I could see activities on the USB thumb drive, but I still have had a black desktop with mouse pointer – and no start-screen. This is too long and I terminated my test.

Recommendation: If you intent do experiment a bit with Windows 8 To Go, I strongly recommend a 32 GB USB 3.0 thumb drive (or USB hard disc) and a computer with USB 3.0 support.



Schlagworte: ,

82 Kommentare zu „Creating Windows 8 To Go on a 16 GB USB-Stick“

  1. Sawyer sagt:

    If you mean with this the imagex install then yes.
    I: is the 32GB USB stick and I did imagex from a virtualCDrom drive to this I: USB stick.

    I also tried with an 40GB external usb drive and got exactly the same problem.

  2. Günter Born sagt:

    @Sawyer: I have used the approach several times – it worked. If you try to use the command in Windows 7, I get the same issue. Here are a few questions:

    - Did you invoke your command prompt windows unter Windows 8?
    - Did your command prompt windows runs with administrator privileges?
    - Is your target drive NTFS formatted and the partition is active?

    Some “basic requirement” to execut the command successful is obviosly missing – but I can’t see what it is.

    If you have the opportunity, to access M2 or M3 build 7989 – try pwcreator.exe – maybe that works.

  3. HP sagt:

    Installs OK using W8 in Virtualbox. Target is 16GB Kingston. Booting for a while, get first startup screens. Then stops with error UNMOUNTABLE BOOT VOLUME.

    Tried twice. This stick used to have ubuntu and was working OK. Cleaned and installed all according to this instructions.

  4. Sawyer sagt:

    No I did it under Windows 7.
    I guess thats the mistake then.

    On a side note.
    I managed to install windows 8 on my USB hard drive with the other method where you first install the old leaked version of windows 8 witch has a portable workspace creator, then you just change the CD for the development build. Its running great now.

    However I really like to have Windows 8 on my small USB key so I guess I will try again under 8 now.

  5. Sawyer sagt:

    Yeah I did the above steps under Windows 7 :\

    Tried it now under 8 and it works there just fine.

    I also made my first portable disk with the other leaked build method.
    But Since my USB stick is little bit to small for that method 14GB I will try yours again now. Already copying.

  6. Günter Born sagt:

    @Sawyer: Thanks for feedback.

    BTW: Here is a YouTube video showing Windows 8 To Go on a slate (but my comments are in German).

  7. Sawyer sagt:

    Worked fine on my small usb 14GB which wouldnt work with Portableworkspace creator. It also worked fine with my stupid 32GB Jetflash 3.0 key which also doesnt work with pwc.exe due to it being incompatible.

    However the USB key version is slow like hell but my 40GB old portable USB 2.0 hardware version is suprisedly fast. Almost native speeds.

  8. Günter Born sagt:

    @Sawyer: Thanks for feedback – you confirmed my personal experience. As far as I understood, the USB key Microsoft handed out at BUILD 2011 was a modified one (it is identified as a hard disk from firmware).

  9. [...] 8 on flash it is still possible with a little work. Despite being aimed at enterprise users, Born city has step-by-step instructions that will guide you through the process of creating a “Windows to Go” setup that will use your [...]

  10. [...] 8 on flash it is still possible with a little work. Despite being aimed at enterprise users, Born city has step-by-step instructions that will guide you through the process of creating a “Windows to Go” setup that will use your [...]

  11. Günter Born sagt:

    Update: At least I found a thread [1] in MyDigitalLife-Forum, where Windows 8 To Go is also discussed.

    1: http://forums.mydigitallife.info/threads/29248-Running-Windows-from-an-external-USB-drive-with-Windows-To-Go/page2/

  12. Brian sagt:

    Can you use a 8gb flash drive?

  13. Günter Born sagt:

    @Brian: I fear 8 GB is far below the space Win 8 needs as a minimum. Also I wrote that USB 2.0 thumb drives are to slow for practical use. A USB 2.0 hard disk up and above 32 GB will be a good choose. Here I use a 320 GByte USB 2.0 hard disk, that contains two primary partitions, each 40 GB in size, hosting a 32 and a 64 bit Windows 8 To Go. I’m using dual booting to switch between both versions.

  14. Thanks for this guide! Helped me alot.

    In the steps there are a few minor things missing:

    - When you are in diskpart you have to call “assign” to assign a drive letter to the created partition (At least I had to do that)
    - You have to use the bcdboot.exe from the Windows 8 installation (call it from c:\Windows\System32), the bcdboot.exe from the WAIK folder doesn’t support the /f option.

  15. Günter Born sagt:

    @Chis: Thanks for your comments. Assign is right, if the volume isn’t associate with a drive letter (I guess, I have made this in computer management).

    The bcdboot.exe thing: thought it will be clear, because I’m stating that you have to boot with Windows 8 and execute the commands. But thx too for clarification – maybe it will help others to be succcessful.

    Have fun with Windows 8 To Go

  16. AndreaR sagt:

    I have a 32 GB Corsair USB 3 flash drive. It’s very slow to load the system and it’s pratically unusable (also on USB 3 motherboards). The drive is rapid for reading/copying files, but slow for boot Windows 8. What can i do?

  17. Günter Born sagt:

    @Andrea: Thx for feeback. I havn’t USB 3.0 enabled hardware, so your information is new for me. My suggestion: Just use a cheap USB 2.0 hard disk – these drives seems to be fast enough. I run Windows 8 To Go from a 320 GByte USB 2.0 hard disk – and it’s fast enough.

    HTH

    What I’ve read (after I published the article) is, that Microsoft has used a modified USB 3.0 flash drive handed to the BUILD participants. The firmware of this stick was modified in a way that it reports a hard disk to operating system.

  18. AndreaR sagt:

    @Günter Born: Do you know if there are some tricks to run faster Windows To Go in my USB stick?

    Another thing: Windows To Go created with Portable Workspace is the same of extracting install.wim?

  19. Günter Born sagt:

    @AdreaR: I don’t know a trick how to run Win 8 To Go faster on a USB stick.

    Concerning to your 2nd question: Yes, Portable Workspace creator do the same trick as I described it in my article using imagex.

  20. franz99 sagt:

    Hello again

    It is not sure at all that this Windows To Go feature is going to be present in the beta (by end of february 2012) and in the final ‘client’ versions of Windows 8.
    That’s what a lot of well informed people think, like said here:
    http://social.msdn.microsoft.com/Forums/en-US/windowsdeveloperpreviewgeneral/thread/5c4ff9ac-65a6-49f5-a87d-33851746effe

    The expiring date of the actual Windows 8 Developer Preview is 3/11/2012 (as shown in winver.exe)
    So I think that this means that the USB drives that we created with WTG will stop fonctionning on the 12th of march 2012 !
    Is this correct ?

    So if this feature is not anymore in the future client versions (beta, RC, RTM, …) it means that experimenting with WTG will be finished for the “grand public” and reseved to Enterprise versions.
    What a pity !
    That destroys most of my intesterest in Windows 8 as a new OS … Because I am no going to play with my fingers and the tiles of Metro

  21. Günter Born sagt:

    @franz99: I agree with your thoughts – but in moment, it is a nice feature I’m using to run test drives of Windows 8 on different machines (slates, desktops, netbooks). No need, to set up Windows 8 on a foreign machine – just boot up my USB 2.0 disk on a machine let me do my tests.

    Concerning “it is not sure …” we have to wait, what the beta will bring (I have seen screen shots of further Win 8 builds containing portable workspace creator again).

    Concerning “an in the final ‘client’ version” – well, my guess is, that according to licensing issues this feature will be available only in Windows 8 Enterise clients at all.

    But we have to wait and see – also with the metro stuff ;-) .

  22. AndreaR sagt:

    Has someone had good results with a USB 3.0 stick?

  23. Günter Born sagt:

    @AndreaR: My last comment “What I’ve read (after I publihed the article) is, that Microsoft has used a modified USB 3.0 flash drive handet to the BUILD participants. The firmware of this stick was modified in a way that I reports a hard disk to operating system.” is still valid.

    Using a USB 2.0 hard disk gives me reasonable results.

  24. franz99 sagt:

    “ The firmware of this stick handed out by Microsoft to the BUILD participants was modified in a way that I reports a hard disk to operating system “

    Do you know WHY is it important to have this modified firmware on a USB stick so it reports a hard disk to operating system ?

    Does this modification influence :
    - the booting capability
    - the speed of the booting
    - or the way it operates AFTER re-booting and getting all the nexessary drivers ?

  25. Günter Born sagt:

    @Franz99: Unfortunately I haven’t any information, why Microsoft decided it this way. Booting capability should bei (in my opinion) no issue – also the speed of booting should not be influenced – because this depend in my opinion on read access speed. I guess it has something to do with “after boot process and driver loding” – but I’m not really sure.

    For my own, I enjoyed my USB 2.0 disk with the Windows 8 To Go dual boot configuration (32/64 bit) I have set up. But we have to wait and see, if Windows 8 To Go remains in Beta (my information is, that the portable workspace creator wizard was removed in the last pre-beta builds).

  26. vasu sagt:

    i tried the steps on usb 2 16gb memory disk and there is mountable boot disk error can you please let me know how to solve that

  27. Günter Born sagt:

    @vasu: Sorry, I have no clue, what went wrong.

  28. krish sagt:

    bcdboot.exe f:\windows /s f: /f ALL
    I see the letter f three times here is there something wrong

  29. Günter Born sagt:

    @krish: I don’t now, whether there is something wrong. The /f All is an option, whilst f: is a drive letter (could also be D: or G: – depends on your system).

    I found also another article at [1] which seems that the author already has tried out. Most of the other articles dealing with Win 8 To Go (like [2]) are copy cats of my article above.

    1: http://www.intowindows.com/how-to-run-windows-8-from-usb/
    2: http://techeblog.in/tag/bcdboot-exe-fwindows-s-f-f-all/

  30. Niksavoy sagt:

    Cris !
    +100 REP Dude

    After i used you`s advice all finished 100 %
    I have working USB HDD booting Win 8 :)

    **********************
    Christiaan Veeningen sagt:
    2. Dezember 2011 um 12:32
    Thanks for this guide! Helped me alot.

    In the steps there are a few minor things missing:

    - When you are in diskpart you have to call “assign” to assign a drive letter to the created partition (At least I had to do that)
    - You have to use the bcdboot.exe from the Windows 8 installation (call it from c:\Windows\System32), the bcdboot.exe from the WAIK folder doesn’t support the /f option.
    ************************

  31. Günter Born sagt:

    @Niksavoy: Thanks for feedback – it has been a while since I tempered with Win 8 To Go. Hope it will be supported in Consumer Preview at all.

  32. AndreaR sagt:

    Has anybody reached good results with USB sticks?

Kommentieren

*