Copying over NON Scanstate Packages, if they exist WINDOWS\SYSTEM32\bcdboot.exe w:\WINDOWS /s s: /f uefi ::reg delete "HKLM\sft\Microsoft\Windows NT\CurrentVersion\ProfileList\%id%" /f ::reg unload HKLM\sft ::rd /s /q w:\users\administrator echo create partition msr size=16 >> x:\winpart.txt echo create partition primary >> x:\winpart.txt echo format quick fs=ntfs label="Windows" >> x:\winpart.txt echo assign letter="W" >> x:\winpart.txt echo shrink desired=1000 >> x:\winpart.txt echo create partition primary >> x:\winpart.txt echo format quick fs=ntfs label="Recovery" >> x:\winpart.txt echo assign letter="R" >> x:\winpart.txt echo set id="de94bba4-06d1-4d40-a16a-bfd50179d6ac" >> x:\winpart.txt echo gpt attributes=0x8000000000000001 >> x:\winpart.txt echo exit >> x:\WinPart.txt echo Winpart.txt now contains..... echo. type x:\winpart.txt echo. echo Image deployment COMPLETED. Type EXIT to shutdown. echo Type WPEUTIL to shutdown the system. echo **************************************************** goto END