
W:\Windows\System32\Reagentc /Setreimage /Path R:\Recovery\WindowsRE /Target W:\Windows :rem = Register the location of the recovery tools = Xcopy /h W:\Windows\System32\Recovery\Winre.wim R:\Recovery\WindowsRE\ W:\Windows\System32\bcdboot W:\Windows /s S: /f UEFI Rem = Copy boot files to the System partition = Rem = Apply the image to the Windows partition =ĭism /apply-image /imagefile:C:\WIN2GO\install.wim /index:1 /ApplyDir:W:\ Rem = Set high-performance power scheme to speed deployment =Ĭall powercfg /s 8c5e7fda-e8bf-4a96-9a85-a6e23a8c635c Rem Example: ApplyImage E:\Images\ThinImage.wim = Rem image file to the Windows partition, and configure Rem = These commands deploy a specified Windows In your C drive, create a new folder named WIN2GO.Ĭopy the text below as ApplyImage.bat and launch it as admin Recovery tools partition =įormat quick fs=ntfs label="Recovery tools"

Rem ** NOTE: Update this size to match the Rem ** NOTE: For Advanced Format 4Kn drives, Rem Adjust the partition sizes to fill the drive Rem = These commands are used with DiskPart to

Take note of the disk you want to select (#7 in my case) thenĬopy the text below in green and save it a pendrive as CreatePartitions-UEFI.txt Launch it by typing in an elevated cmdĭiskpart /s L:\CreatePartitions-UEFI.txt where L is my pendrive letter where the script was saved as CreatePartitions-UEFI.txt Worked flawessly with a USB Inateck FEU3NS-1E & EVO 850 combo Restart Your system, and now USB Drive works as Virtual RAM.Inspired by yjchua95 method and researching a little bit in Msoft, I've used a little bit more complete method to partition and implement W10 on my 13" rMBP mid14 using two simple scripts. Now Add same Value in both boxes and click on Apply button. Then in Custom Size field, add your USB Drive size.

Uncheck the box of Automatically Manage Paging file size of all drives. The Performance Option window will appear, Click on Advance Tab.Ĭlick on the Change Button under Virtual Memory. In the Advance Tab under Performance click on Settings. On the left side on the Properties Window, Click on Advanced system settings. Insert the USB Drive > Now Right click on My Computer (This Computer) and Open Properties. Then click on Use this device then select the correct memory size to use. Insert the USB Drive > Now Right click on the USB Drive and Open Properties. Note: If you want to change back USB Drive to normal then click Don’t use a device in ReadyBoost tab.
