• Sign in to Neowin Faster!

    Create an account on Neowin to contribute and support the site.

Sign in to follow this  

Windows To Go UEFI & BIOS compatible Deployment Guide

Recommended Posts

TPreston    5,389
1 hour ago, WIRM.KJones said:

Okay, so I took the risk and went ahead with the rest of the guide. But I got to the point where it says "Complete OOBE" 

What does that mean? 

Enter the PC name etc and then install whatever programs you need.

Once you have that done its ready to use on the surface pro

Share this post


Link to post
Share on other sites
WIRM.KJones    1

Would it be possible to install windows on two drives in a striped (raid 0) array using this method?

Share this post


Link to post
Share on other sites
adnanbcs    0
On 7/3/2015 at 1:38 AM, TPreston said:

I was recently asked how to setup a Windows To Go installation that can boot from both UEFI and BIOS PCs with non certified devices.

 

All the guides I found to do this online are compatible with either BIOS or UEFI but not both.

 

The reason is because compatibly with both needs 2 partitions so most usb keys wont work

 

IC611726.gif

 

So you need either a USB HDD or a USB Key that shows up as a Fixed Disk.

 

If you cant get your device to pass-through into HyperV its not a Fixed Disk and wont work

 

http://blogs.technet.com/b/askcore/archive/2008/10/24/configuring-pass-through-disks-in-hyper-v.aspx

 

Im going to test this using HyperV the only difference between this and creating a real device is changing the drive letters and numbers in diskpart.

 

rWfK4VO.png

 

Start by creating two VMs a Gen 1 and a Gen 2 VM both with the same VHD File

 

xFKXZi3.png

 

Now boot from the Windows CD on the Gen1 VM as the Gen2 VM will complain about not installing to a GPT disk.

 

5abPIXS.png

 

At the install screen press shift + f10 to open command prompt and run notepad to get a GUI file explorer window when you select file > open

 

ZZP8DPI.png

 

Convert the disk to MBR format and create 2 partitions a Fat32 system partition marked as active and a NTFS windows partition.

 

llzrKsp.png

 

Apply any windows image to the windows partition

 

llzrKsp.png

 

Which creates the standard windows folder structure

 

crOgMNF.png

 

Use the BCDBOOT command to copy the boot files for both UEFI and BIOS computers from the Windows partition to the Fat32 system partition

 

MaFjsZG.png

 

Eject the windows iso and let the Windows To Go drive boot.

 

iQ4XcKU.png

 

Complete OOBE

 

G3R9clc.png

 

Install whatever software you need

 

ZeQGQk8.png

 

Shutdown to test the image on a UEFI Secure Boot PC

 

cueP5HG.png

 

Start-up the UEFI PC and the Windows To Go drive boots

 

NxL5f4A.png

 

The same user profile now starts up on an entirely different articheture.

 

Code used

 


diskpart
select disk 0
clean
convert mbr 
create partition primary size=350
format quick fs=fat32 label="System"
Active
assign letter="S" 
create partition primary
format quick fs=ntfs label="Windows To Go"
assign letter="W"
exit

Dism /apply-image /imagefile:E:\sources\install.wim /index:1 /ApplyDir:W:\

bcdboot w:\Windows /s S: /f ALL

Sources

https://technet.microsoft.com/en-ie/library/jj592685.aspx

https://technet.microsoft.com/en-ie/library/hh825677.aspx

So great post and thank you so much it is very help full and so easy.

i got stuck at this command with error 2

Dism /apply-image /imagefile:X:\sources\install.wim /index:1 /ApplyDir:W:\

 

then i noticed with new version of windows 10 install.wim is changed with install.esd

 

then the command is working for me is below

Dism /apply-image /imagefile:X:\sources\install.esd /index:1 /ApplyDir:W:\

 

Maybe it help someone

Thanks again

 

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.