How to rebuild a custom Windows To Go device with recovery environment (RE) partition
- Getting the Windows 10 DVD
- Acquire latest ISO image from Microsoft for Windows 10. This can be done with the Media Creator Tool (Microsoft did temporarily revert this tool back to the July RTM version, but it's now back to the latest November one) or from MSDN
- Run the Media Creation Tool. Preferably download Windows 10 Pro, x64, English United Kingdom
- Choose ISO file
- Let it download and save the ISO with a useful name e.g. 'Windows_10_Pro_x64_en-gb_November2015_10586.iso'
- Format SSD with 3 partitions using Disk Management
- First partition: 500MB FAT32 "System"
- Second partition: remaining space minus 500MB NTFS "Windows 10"
- Third partition: 500MB NTFS "Recovery"
- Get and run EasyUEFI WinToUSB (need licence for Pro version of Windows)
- System partition: First 500MB one
- Boot partition: Second partition (where Windows will be booted from)
- Wait for completion until 100% (will take about 45 minutes for 256GB)
- Reboot and boot into SSD
- Complete all setup steps - use custom settings
- Do not enter serial key if you already have a computer associated with your Microsoft account
- Configure for SSD
- Install drivers
- Run "winsat formal" to identify disks as Solid state drives
- Run Defrag and Optimise drives to trim space and verify correct identification
- Disable write caching on the disk using Device Manager
- Disable Windows Search using Indexing Options in Control Panel. Windows Search can also be disabled from services.msc
- See more recommendations here
- Setup apps
- Install Classic Shell
- Compare with previous installation using Beyond Compare
- Change Power Options in Control Panel
- Maximum performance for Graphics and Link State Power Management
- Do not let hard drive go to sleep
- Do not let computer sleep after 10/20 minutes
- Critical battery action should be Shutdown
- Change System Restore settings to use 25% of the disk size. Delete all existing points and create a new one.
- Setup recovery environment
- Create the "winre.wim" and related files
by using the ISO image (does not provide all the files you need) by creating a VM in Oracle VirtualBox (install the addons too)
- Create a new Windows 10 VM with at least 15GB space recommended 30GB dynamically expanding, and use VHD as the disk format
- Change Input device from USB Tablet to PS/2 Mouse
- Set Network to Bridged Adapter
- Mount ISO image and proceed with fresh install of Windows inside the VM
- Shutdown VM after install complete
- Close VirtualBox
- Use Disk Management to Attach VHD of the VM
- Use AOMEI Backupper to backup mounted 'System Reserved' Partition
- Detach VHD
- Use AOMEI Backupper to 'Restore' the System Reserved Partition to Partition 3 on the SSD, choose to Align for SSD
- Follow instructions to deploy WinRE - just step 2 as we have just done step 1
- 'Reagentc /setreimage /path R:\Recovery\WindowsRE' (where R is the third partition on the SSD)
- 'Reagentc /enable' and then 'Reagentc /info' to check it is enabled
- Update settings in This PC > Properties > Advanced > Startup and recovery > Settings > Tick both boxes at top
- Use EasyBCD (free version) to Edit Boot Menu
- Untick Use Metro Bootloader
- Choose Countdown from 30 seconds
- Save Settings
- Verify recovery environment is setup correctly
- When OS boots you will get Windows 10 option. The 'Windows' option at the bottom is just the memory test. To get to the recovery environment, press F8, then when you get to the menu, press F10 to get other options, then press 1 to Launch recovery environment
- Go to Troubleshoot, then System Restore, and login as your username. Confirm you can see the System Restore point you made earlier.
- Get on with the rest
- Backup Disk with AOMEI Backupper
- Install drivers
- Use Ninite or FileHippo as a reminder to install apps
- Use CCleaner or Task Manager to clean up startup apps