Sunday, August 18, 2013

Create Windows To Go on any edition of Windows 8

Create Windows To Go on any edition of Windows 8:

1. Launch an administrative level command prompt.

2. Make sure that your USB Drive is plugged in and then type in diskpart and hit Enter. 

3. List the available disks by running "list disk" and you should see your usb device.

4. Select your USB drive by typing "select disk #" and hit Enter. For example, “select disk 3”.

5. Clean the partitions on the disk by typing "clean" and hit Enter.

6. Now create the boot partition by running the following command:

create partition primary size=350

7. Now create the OS partition by running the following command to create a partition taking up all remaining space:

create partition primary

8. The boot partition needs to be formatted, configured and assigned a drive letter, run the following commands:

select partition 1
format fs=fat32 quick
active
assign letter=b

(if the b drive letter is already in use on your PC, substitute a different letter and replace b with your letter throughout the rest of this guide)

9. The same must be done for the OS partition, run the following different commands:

select partition 2
format fs=ntfs quick
assign letter=o

(if the o drive letter is already in use on your PC, substitute a different letter and replace o with your letter throughout the rest of this guide)

10. Exit Diskpart by typing Exit.

11. Extract the install.wim file from the \sources\ directory of the Windows 8 install ISO to c:\wim\. OnWindows 8 you can just double click an ISO to mount and then browse it. 

12. Use DISM to deploy the Windows 8 files to the OS partition of the USB device by running:

dism /apply-image /imagefile:c:\wim\install.wim /index:1 /applydir:o:\

13. The boot manager needs to be installed on the boot partition with the help of the bcdboot utility. Run the following command:

o:\windows\system32\bcdboot o:\windows /f ALL /s b:

14. Reboot your computer and test your new Windows 8 To Go device built on Windows 8. Make sure the PC is configured to boot to USB before your local hard drive.


Credit: Steve Sinchak