Jump to content
Sign in to follow this  
HackrThon

Windows 8 To Go Step by Step

Recommended Posts

Hi All,

 

Sharing this wonderful step by step tutorial courtesy of Microsoft Technet.

 

I don't claim this material, I am just sharing what I have found to help others.

 

Reference:

Hidden Content

    Give reaction to this post to see the hidden content.

Windows To Go Step by Step

 

Introduction

 

Windows To Go workspace is an enterprise feature of Windows® 8 that enables users to boot Windows from a USB-connected external drive. Windows To Go drives can use the same image that enterprises use for their desktops and laptops, and can be managed the same way. Offering a new mobility option, Windows To Go workspace is not intended to replace desktops or laptops, or supplant other mobility offerings.

 

Before you begin

  1. Have a Windows To Go certified USB drive. See the Windows To Go Design Document Hardware Considerations

    Hidden Content

      Give reaction to this post to see the hidden content.
     
  2. Have a host system with Windows 8 Enterprise client installed (command line scripting will need any version of Windows 8 except for Windows RT and two free drive letters; the examples use S and W).
     
  3. A Windows 8 Enterprise sysprep generalized .WIM file (can be from install media or a captured custom Enterprise image). See Creating Images

    Hidden Content

      Give reaction to this post to see the hidden content.
     
  4. You may wish to review the Windows To Go Design

    Hidden Content

      Give reaction to this post to see the hidden content.

    Hidden Content

      Give reaction to this post to see the hidden content.

 

Hidden Content

    Give reaction to this post to see the hidden content.

 

In this guide we are creating the operating system image that will be used on the Windows To Go drive. The preferred method for creating a single WTG device is to use the Windows To Go Creator Wizard. Alternatively you can do this manually using a combination of Windows PowerShell and command-line tools.

! Note

The Windows To Go creator wizard is only available on Windows 8 Enterprise clients.

 

To create a Windows To Go workspace with PowerShell commands

 

The following Windows PowerShell cmdlets perform the same function as the preceding procedure. Enter each cmdlet on a single line, even though they may appear word-wrapped across several lines here because of formatting constraints. Ensure that only the USB drive you want to provision as a WTG device is connected.

  1. Launch an elevated Windows PowerShell prompt by pressing Win+Q, typing in powershell and then pressing Ctrl+Shift+Enter or right-clicking Windows Powershell and clicking Run as administrator.
     
  2. In the Windows PowerShell session type the following commands to partition a master boot record (MBR) disk for use with a FAT32 system partition and an NTFS-formatted operating system partition. This partition scheme can support computers that use either UEFI or BIOS firmware:
     
    #The following command will set $Disk to all USB drives with >20 GB of storage
     
    $Disk = Get-Disk | Where-Object {$_.Path -match "USBSTOR" -and $_.Size -gt 20Gb -and -not $_.IsBoot }
     
    #Clear the disk. This will delete any data on the disk. (and will fail if the disk is not yet initialized. If that happens, simply continue with ‘New-Partition…) Validate that this is the correct disk that you want to completely erase.
    #
    # To skip the confirmation prompt, append –confirm:$False
    Clear-Disk –InputObject $Disk[0] -RemoveData
     
    # This command initializes a new MBR disk
    Initialize-Disk –InputObject $Disk[0] -PartitionStyle MBR
     
    # This command creates a 350 MB system partition
    $SystemPartition = New-Partition –InputObject $Disk[0] -Size (350MB) -IsActive
     
    # This formats the volume with a FAT32 Filesystem
    # To skip the confirmation dialog, append –Confirm:$False
    Format-Volume -NewFileSystemLabel "UFD-System" -FileSystem FAT32 `
    -Partition $SystemPartition
     
    # This command creates the Windows volume using the maximum space available on the drive. The Windows To Go drive should not be used for other file storage.
    $OSPartition = New-Partition –InputObject $Disk[0] -UseMaximumSize
    Format-Volume -NewFileSystemLabel "UFD-Windows" -FileSystem NTFS `
    -Partition $OSPartition
     
    # This command assigns drive letters to the new drive, the drive letters chosen should not already be in use.
    Set-Partition -InputObject $SystemPartition -NewDriveLetter "S"
    Set-Partition -InputObject $OSPartition -NewDriveLetter "W"
     
    # This command toggles the NODEFAULTDRIVELETTER flag on the partition which
    prevents drive letters being assigned to either partition when inserted into a different machine.
    Set-Partition -InputObject $OSPartition -NoDefaultDriveLetter $TRUE
     
  3. Next you need to apply the operating system image that you want to use with Windows To Go on the operating system partition you just created on the disk (this will take up to 30 minutes or longer, depending on the size of the image and the speed of your USB connection). The following command shows how this can be accomplished using the -RemoveData
     
    # This command initializes a new MBR disk
    Initialize-Disk –InputObject $Disk[0] -PartitionStyle MBR
     
    # This command creates a 350 MB system partition
    $SystemPartition = New-Partition –InputObject $Disk[0] -Size (350MB) -IsActive
     
    # This formats the volume with a FAT32 Filesystem
    # To skip the confirmation dialog, append –Confirm:$False
    Format-Volume -NewFileSystemLabel "UFD-System" -FileSystem FAT32 `
    -Partition $SystemPartition
     
    # This command creates the Windows volume using the maximum space available on the drive. The Windows To Go drive should not be used for other file storage.
    $OSPartition = New-Partition –InputObject $Disk[0] -UseMaximumSize
    Format-Volume -NewFileSystemLabel "UFD-Windows" -FileSystem NTFS `
    -Partition $OSPartition
     
    # This command assigns drive letters to the new drive, the drive letters chosen should not already be in use.
    Set-Partition -InputObject $SystemPartition -NewDriveLetter "S"
    Set-Partition -InputObject $OSPartition -NewDriveLetter "W"
     
    # This command toggles the NODEFAULTDRIVELETTER flag on the partition which
    prevents drive letters being assigned to either partition when inserted into a different machine.
    Set-Partition -InputObject $OSPartition -NoDefaultDriveLetter $TRUE
     
  4. Next you need to apply the operating system image that you want to use with Windows To Go on the operating system partition you just created on the disk (this will take up to 30 minutes or longer, depending on the size of the image and the speed of your USB connection). The following command shows how this can be accomplished using the Booting your Windows To Go workspace
     
    Now that your workspace is ready you have two primary options for booting, using either the new Windows 8 startup options or configuring your machines firmware.
    <a name="Enable_the_Windows_To_Go_Startup_options">Enable the Windows To Go Startup options

    1. Click Win+W

    2. Type "Change Windows To Go startup options", click enter

    3. Select Yes

    4. Click Save Changes

Booting your Windows To Go workspace

 

Now that your workspace is ready you have two primary options for booting, using either the new Windows 8 startup options or configuring your machines firmware.

<a name="Enable_the_Windows_To_Go_Startup_options">Enable the Windows To Go Startup options

  1. Click Win+W

  2. Type "Change Windows To Go startup options", click enter

  3. Select Yes

  4. Click Save Changes

Set the firmware boot order to USB first.

  1. Reference your machines user manual for instructions.

Share this post


Link to post
Share on other sites

There is a good

Hidden Content

    Give reaction to this post to see the hidden content.
allows you to easily create, delete, format, convert or explore partitions on your hard drive. A few clicks and you can also resize, move, hide or unhide existing partitions - all without harming your data. Also included is a Copy Wizard. Upgrading from smaller disks to larger disks is easily accomplished with the help of the copy wizard.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...