Windows 8 To Go - Setup on a USB Flash Drive or USB Disk

How to Setup "Windows 8 To Go" on a USB Flash Drive or USB Disk in any Windows 7 and Windows 8

information   Information
This tutorial will show you how to manually setup Windows 8 To Go from any Windows 7 or Windows 8 (except Windows 8 RT) to be able to install and run Windows 8 from a USB flash drive or external USB disk. The procedure for the USB stick is discussed in Chapter A, the procedure for the USB attached disk is shown in Chapter B.

You should expect the whole process to take about 3 hours elapsed time if you do not have the WAIK on your system and about 1 hour if the WAIK is installed on your system.

If you install on a stick, it is very important to choose a fast USB stick of at least 16GB size. For the USB attached disk it is preferable to use a USB3 attachment, but USB2 should also work. In addition, you need a program to create a virtual CD and the Windows 8 .iso. The rest is done in Command Prompt.

For more information and details about Windows To Go workspaces, see: Windows To Go: Feature Overview

Note   Note
Those of you who have an Enterprise edition of Windows 8, you can also explore this option which is built into the Enterprise edition.

How to Create a "Windows To Go" Workspace on a USB Flash Drive in Windows 8 Enterprise

Tip   Tip
It is highly recommended to use a USB 3.0 flash drive or disk. Otherwise it will run like a snail from it.






Chapter A - Installation on a stick


Step 1 - Check the speed of your USB stick


To measure the speed of your stick I recommend Atto Disk Benchmark. It will produce a benchmark result like this picture.

2012-03-28_1947.png


It is the example of a 32GB USB2 stick that is not very fast. Especially the 4K read/write speeds are pretty slow. It is important to focus on the 4K size because that is the blocksize that the system uses most of the time. The large blocksizes are unimportant.

Loading the system (appr. 600MB to 1GB) at boot time will take over 3 minutes at a read speed of 4.7MB/sec. But, since there are also other activities going on at this time, the boot is even longer.A stick with characteristics like this one is not recommended.


2012-03-28_1951.png


This is a USB3 stick which runs Windows 8 fluently. The initial system setup still takes a bit more time than on a fast disk, but it is not really out of the ordinary.

On this stick I have loaded the 64bit Windows 8 and I am very pleased with both the boot time and the execution of programs and system facilities.


Step 2 - Download the WAIK and extract the imagex file

If you do not have the WAIK (Windows Automated Installation Kit) on your system, then you have to download from this Microsoft site. This will be a bit lengthy because the WAIK is 1.7GB - figure a 2-hour download.

When you are done downloading the KB3AIK_EN.iso file, mount this .iso, open and run the StartCD.exe file to install WAIK on your system.

WAIK.jpg

Then you have to copy the imagex.exe. You find that in C:\Program Files\Windows AIK\Tools. There is a 32bit version and a 64bit version.


2012-03-28_1953.png


You choose 32bit when you install a 32bit version of Windows 8 on your stick - 64bit when you install the 64bit version. Copy the one that corresponds to your Windows 8 .iso to the desktop. You can copy it to any other folder, but then you have to change the path in the installation command that we will run later in Command Prompt.

I have tried both the 32bit version (on the slow USB2 stick) and the 64bit version (on the fast USB3 stick). Both work as far as I can tell although there is a significant difference in performance.


Step 3 - Mount the Win8 .iso in a virtual BD ROM

We first have to create a virtual BD ROM with theVirtual Clone Drive Program. Download, install and run this program. It is very simple. When you start the program, you get this window. Just click OK and you are done.

You then go to Computer and you find your BD ROM.

Note: If you are working in Windows 8, you can mount the .iso directly from File Explorer. Just right click on the .iso and you will find a mount option. See: ISO Images - Mount or Unmount



2012-03-28_1955.png


To mount the .iso in the BD ROM, follow the instructions in the next picture. Make sure you remember the drive letter of the BD ROM (in my case 'H:') because you will need that later.


2012-03-28_1959.png




Step 4 - Prepare your USB stick

We now have to define a primary active partition on the USB stick. For that we open an elevated Command Prompt (run as administrator). Type or paste each of the following commands (one by one) and hit Enter after each command.

Diskpart
List disk
Select disk n
(where n is the number that was given for your stick in List disk)
Clean
Create partition primary
Format fs=ntfs quick
Assign
Active
Exit


Your stick is now ready for the installation of Windows 8.


Step 5 - Install Windows 8 on the stick

This is very easy now with a command in Command Prompt. It may take a little while to transfer the whole system, so be patient. The Command is:

"C:\Users\Your Name\Desktop\imagex.exe" /apply H:\sources\install.wim 1 F:\

Your Name is the name of your system. H: is the letter of my BD ROM (step 3). If your BD ROM has another letter, you have to change that accordingly. F: is the drive letter of my stick (step 4). Here you also have to replace it if your stick is on another letter.

As last step you have to run a command to install the boot files. If you are installing on a Windows 7 system, use this command. You have to be aware that this installs a Win7 BCD which works but is slower than the Win8 UEFI BCD.

bcdboot F:\windows /s F:

If you are installing on a Windows 8 system, use this command below. This is the preferred BCD because it is faster for boot and shutdown. You can rerun this command in a Win8 system even if you already installed the Win7 BCD in a Win7 system. It will 'upgrade' the BCD to the Win8 (UEFI) level.

bcdboot F:\windows /s F: /f ALL

Here again F: is the letter for my stick which you may have to adjust.


Step 6 - Run Windows 8 from your USB stick

You are done with the installation and can now run Windows 8 off your stick. For that you have to change the boot sequence in the BIOS pointing at the USB stick as first boot device.

I run the stick version on my laptop and have made the USB #1 in the boot sequence. That way it loads Windows 8 from the stick when the stick is plugged in and Windows 7 from the SSD when there is no Windows 8 stick.

As I said earlier, a USB stick is no SSD - although the technology is similar. So be patient, especially with the initial setup where the system has to do a lot of write operations which are slow on a stick. But once the system is in full swing, it is quite some fun.

Warning: In Windows 7, I usually keep my bootmgr on the C: partition. With that setup I had some problems running Windows 8 from the stick. Each time it would corrupt my bootmgr. I then created a separate 400MB partition and moved the bootmgr there. That seems to cure the problem.



Chapter B - Installation on a USB attached disk


The procedure is very similar to what I described for the USB stick with a few exceptions.

Step 1 - Check the speed of the USB attached disk

This is the HDD I run in a USB3 open enclosure. It is a 5400RPM disk that I had recovered from my laptop when I installed the SSD.

The R/W speeds at the 4K blocksize are very similar to my USB3 stick. The R/W speed at the bigger blocksizes is slower because the disk can only spin so fast.

Performance wise it felt slower than the performance on the USB3 stick but was still very acceptable.


2012-03-28_2002.png



Step 2 - Download the WAIK and extract the imagex file

This step is exactly the same as described for the stick.

Step 3 - Mount the Win8 .iso in a virtual BD ROM

This step is exactly the same as described for the stick. Make sure you apply the correct device letters for the BD ROM and the HDD.

Step 4 - Prepare your USB disk

Here I went a different route. I used Partition Wizardon my Windows 7 system to define a primary active partition on the HDD. That is easier than working with Command Prompt on a multi partition disk.

Note: There have been reports of problems when using Partition Wizard - although I did not encounter any problems myself. The report was that the final system did not boot. In such a case you might want to go back and use Command Prompt as the safer method.

Step 5 - Install Windows 8 on the disk

That is again the same procedure as for the stick. I did the installation step on my Windows 7 system but copied the BCD on my Windows 8 in Virtual Box.

Step 6 - Run Windows 8 from your USB disk

Change the boot sequence in the BIOS to boot from USB and off you go. The setup of Windows 8 took appr. 20 minutes (in the USB3 enclosure). During that setup, there is one reboot where you have to change the boot sequence again - else the system will boot into the first boot device it finds which is probably your default OS. When that was done, operation was as one would expect from a slow HDD.

I then tried it on my desktop in an eSata enclosure. The system first made some automatic adjustments for the different hardware. Then it ran flawlessly. The performance was about the same as from the USB3 enclosure. But both are slower than my USB3 stick.

If you have a USB disk with 20 to 25GB of free space lying around, it is certainly an alternative to run the Windows 8 CP from that. If nothing else, it is a lot of fun making the installation and seeing that it works.



 

Attachments

  • Windows_to_Go.png
    Windows_to_Go.png
    10.1 KB · Views: 477
Last edited by a moderator:
Nice! i spent 226 mins applying the image to USB, and spent another 3 hours waiting the OS to start booting up. It's barely finished booting now, with "Getting Device Ready at 20%" for like 60 mins. So, i gave up trying to boot windows 8 from USB 2.0.:doh:
 
Hello MrShowdown,

Yeah, unless it's USB 3.0, it really is to slow to want to use. :(
 
Hi,

I am hoping that someone here can help me. I am using Windows To Go, with great satisfaction, for sometime now.
I have created a lot of WTG without any problem, except one thing: ESATA

I can't get it to boot from an eSATA attach (HD) device, all others - USB2/3 - work flawlessly

Is there anyone who could explaining why I am having this issue, and is there any solution/fix for this?

Appreciate your help/answer!
 
Hi,

I am hoping that someone here can help me. I am using Windows To Go, with great satisfaction, for sometime now.
I have created a lot of WTG without any problem, except one thing: ESATA

I can't get it to boot from an eSATA attach (HD) device, all others - USB2/3 - work flawlessly

Is there anyone who could explaining why I am having this issue, and is there any solution/fix for this?

Appreciate your help/answer!

Simply put, eSATA does not support booting.
 
Hi Casey,

Thanks for replying, but are you really sure. I have been "googling" about this issue, and i had the impression, that some ppl out there where able to boot WTG from an eSATA attached HD
 
Hi Casey,

Thanks for replying, but are you really sure. I have been "googling" about this issue, and i had the impression, that some ppl out there where able to boot WTG from an eSATA attached HD

Well WTG was meant for USB only. If it were meant to work with eSATA, there would be official documentation.
 
Given the Solution

Hello Admin, I also done all the procedures from 1 t 5 steps but I was unable to do that..the error of cmd is given below. I used path
C:\Users\Jahirul Islam\Desktop\imagex.exe" /apply N:\sources\install.wim 1 L:\

I notice that after mount the KB3AIK_EN.ISO file there is no source file that would be the problem.
 

Attachments

  • Untitled.jpg
    Untitled.jpg
    57 KB · Views: 173
  • Untitled1.jpg
    Untitled1.jpg
    41.4 KB · Views: 155
Hello Admin, I also done all the procedures from 1 t 5 steps but I was unable to do that..the error of cmd is given below. I used path
C:\Users\Jahirul Islam\Desktop\imagex.exe" /apply N:\sources\install.wim 1 L:\

I notice that after mount the KB3AIK_EN.ISO file there is no source file that would be the problem.

Untitled.jpgUntitled1.jpg
 
Hello Admin, I also done all the procedures from 1 t 5 steps but I was unable to do that..the error of cmd is given below. I used path
C:\Users\Jahirul Islam\Desktop\imagex.exe" /apply N:\sources\install.wim 1 L:\

I notice that after mount the KB3AIK_EN.ISO file there is no source file that would be the problem.

The KB3AIK_EN.ISO is the Automated Installation Kit (AIK) for Windows 7.
Download The Windows® Automated Installation Kit (AIK) for Windows® 7 from Official Microsoft Download Centre

Not a Windows 8 ISO.
 
Awesome guide thank you.

When running the command (through command prompt with admin rights) for installing Windows 8.1 pro onto the stick i'm receiving a 'access denied' on a particular file

screeny.jpg

Has anyone else seen this error?
 
Being a Microsoft MVP I have access to MSDN and Windows 8.1 Enterprise. I have made a Windows To Go on an external USB connected hard rive. What I want to do is transfer it to a USB 3 thumb drive. The Windows To Go utility in the control panel will not use the drive as it isn't a Windows To Go certified drive. It's a Kingston HyperX 64 GB USB 3.0 drive. Why its so picky about USB drives I don't know. The hard drive it did except is an old 5400 RPM laptop drive. Go figure. What I would like to do is clone my legal official WTG setup from the external hard drive to the USB thumb drive. I tried the free Macrium Reflect but it won't clone to a removable USB drive. The external hard drive shows up but the thumb drive doesn't. If anybody knows how to get Windows To Go to use a non certified drive or an easy way to clone my setup to the thumb drive let me know, Thanks
 
Being a Microsoft MVP I have access to MSDN and Windows 8.1 Enterprise. I have made a Windows To Go on an external USB connected hard rive. What I want to do is transfer it to a USB 3 thumb drive. The Windows To Go utility in the control panel will not use the drive as it isn't a Windows To Go certified drive. It's a Kingston HyperX 64 GB USB 3.0 drive. Why its so picky about USB drives I don't know. The hard drive it did except is an old 5400 RPM laptop drive. Go figure. What I would like to do is clone my legal official WTG setup from the external hard drive to the USB thumb drive. I tried the free Macrium Reflect but it won't clone to a removable USB drive. The external hard drive shows up but the thumb drive doesn't. If anybody knows how to get Windows To Go to use a non certified drive or an easy way to clone my setup to the thumb drive let me know, Thanks

There are many of workarounds online but, honestly it's not worth the effort as you can only use it on one machine & it may very well break the installation if you make too different of hardware changes. Then you'll have to start all over again. To be perfectly blunt, I wouldn't bother with WTG at all as it isn't an actual all around solution. However, if this limitation does not bother you, let us know.
 
Right, Macrium does not deal with flash drives. They confirmed that to me in an email. Someone said that Acronis would image flash drives (and I guess restore them), But I have never explored that.

I use this tool ti image and restore flash drives.
alex's coding playground
 
Hi there

A much more USEABLE system is to use a bootable Linux system with VMware player installed on it --then have a Windows virtual machine running on the Linux system. People including myself and whs have made several posts on how to do this.

The Windows VM is likely to work on a LARGE number of different laptops too without activation since the VM relies essentially on hardware defined in the "Virtual Bios" - which is relatively the same on pretty well any laptop you care to name.

In a rare number of cases you *might* get asked to re-activate Windows but not normally.

Note though your INITIAL VM will need a Windows valid licence - either as a separate retail copy or by a LEGITIMATE move from one machine to another.

You don't need W8 Enterprise to do this either -- W8/ W8.1 / VISTA/ W7 / XP / or even W2003 server will all work. The whole kybosh boots and runs entirely from the external device.

For decent performance use either an SSD (even connected to a standard USB2 device via SATA==>USB2 adapter or a USB3 stick / USB3 HDD connected to a USB 3 port.

If using Linux then it's easy to image the flash drive -- simply use dd

dd if=/dev/inputdevice of=/dev/outputdevice there are some optional parameters but that's basically it -- will copy the partition exactly so long as the output device is the same size or larger.

You can use gparted to shift / re-size partitions if you need to.

Cheers
jimbo
 
Being a Microsoft MVP I have access to MSDN and Windows 8.1 Enterprise. I have made a Windows To Go on an external USB connected hard rive. What I want to do is transfer it to a USB 3 thumb drive. The Windows To Go utility in the control panel will not use the drive as it isn't a Windows To Go certified drive. It's a Kingston HyperX 64 GB USB 3.0 drive. Why its so picky about USB drives I don't know. The hard drive it did except is an old 5400 RPM laptop drive. Go figure. What I would like to do is clone my legal official WTG setup from the external hard drive to the USB thumb drive. I tried the free Macrium Reflect but it won't clone to a removable USB drive. The external hard drive shows up but the thumb drive doesn't. If anybody knows how to get Windows To Go to use a non certified drive or an easy way to clone my setup to the thumb drive let me know, Thanks

There are many of workarounds online but, honestly it's not worth the effort as you can only use it on one machine & it may very well break the installation if you make too different of hardware changes. Then you'll have to start all over again. To be perfectly blunt, I wouldn't bother with WTG at all as it isn't an actual all around solution. However, if this limitation does not bother you, let us know.

Mine is a Real WTG created from Windows 8.1 Enterprise. It doesn't suffer from the limitations of the home built versions. It's meant to be used on multiple PC's.
 
Right, Macrium does not deal with flash drives. They confirmed that to me in an email. Someone said that Acronis would image flash drives (and I guess restore them), But I have never explored that.

I use this tool ti image and restore flash drives.
alex's coding playground

Will that let me transfer the install that's on the USB hard drive to the USB thumb drive?
 
Hi there

A much more USEABLE system is to use a bootable Linux system with VMware player installed on it --then have a Windows virtual machine running on the Linux system. People including myself and whs have made several posts on how to do this.

The Windows VM is likely to work on a LARGE number of different laptops too without activation since the VM relies essentially on hardware defined in the "Virtual Bios" - which is relatively the same on pretty well any laptop you care to name.

In a rare number of cases you *might* get asked to re-activate Windows but not normally.

Note though your INITIAL VM will need a Windows valid licence - either as a separate retail copy or by a LEGITIMATE move from one machine to another.

You don't need W8 Enterprise to do this either -- W8/ W8.1 / VISTA/ W7 / XP / or even W2003 server will all work. The whole kybosh boots and runs entirely from the external device.

For decent performance use either an SSD (even connected to a standard USB2 device via SATA==>USB2 adapter or a USB3 stick / USB3 HDD connected to a USB 3 port.

If using Linux then it's easy to image the flash drive -- simply use dd

dd if=/dev/inputdevice of=/dev/outputdevice there are some optional parameters but that's basically it -- will copy the partition exactly so long as the output device is the same size or larger.

You can use gparted to shift / re-size partitions if you need to.

Cheers
jimbo

No disrespect intended but I'm not really interested in playing around with Linux at this point. I'd just like to transfer my official legal WTG from my external hard drive to my USB thumb drive. Thanks anyway though.
 
Back
Top