New
#30
OK, after checking this it seems ADK for Win10 was released 28th of January. I cannot understand why I did not find it this weekend when searching.
OK, after checking this it seems ADK for Win10 was released 28th of January. I cannot understand why I did not find it this weekend when searching.
Sorry about that...
One thing I noticed in the video, is that you use the sysprep command with the /shutdown parameter.
When I tried this at the weekend, using VirtualBox, in EFI mode, then it wouldn't let me press F12 to boot from a WinPE disk at the next startup and would always go back into Windows (which I didn't want).
It did this a few times until I came up with this theory... I think this might be because Windows 8 onwards default to a 'fast startup' which means a shutdown doesn't do a full shutdown, but instead is doing a form of hibernate. So instead I shutdown myself after the sysprep using this command in the command prompt, which seemed to work better as it is a full shutdown.
Code:shutdown /s /t 10
Thanks for letting me know that @David.
I use Hyper-V virtual machines in making the tutorials, the procedure as described works on Hyper-V. I will give the tutorial a "facelift" today and add alternative Sysprep command for scenarios like yours where the vm cannot be booted with WinPE / recovery disk afterwards.
In your case now before the tut has been updated, use the QUIT switch instead of SHUTDOWN:
This runs the Sysprep with your answer file but stays in Audit Mode desktop when done. Now shutdown or restart simply by pressing WIN+X to open Start system menu and select Shutdown or Restart.Code:%windir%\system32\sysprep\sysprep.exe /generalize /oobe /quit /unattend:X:\MyAnswerFile.xml
Thanks for that Kari,
Unfortunately I won't get a chance to try it again for a couple of days, but I suspect that Win-X then Shutdown will have the same problem. Restart is probably OK , as it doesn't do a hybrid hibernate. Again this is just my theory rather than something I've tested properly.
David, to boot from another disk in VirtualBox you can just shut down and add it to the top (by changing the SATA port numbers). For example I just did this this morning to use CentOS to delete junk left over from KB3001652 failed install that I couldn't delete using Windows. VirtualBox will boot the first thing it finds.
Attachment 12386
@Kari - here you go.
1. Create VM under VirtualBox like this..
Attachment 12403
2. Setting for storage are like this - boot from ISO.
Attachment 12404
3. Install Windows, download ADK, make PE ISO as per tutorial.
4. Shutdown windows from inside the VM (same as normal).
5. Select your VM (picture 1 above) and click on settings (yellow cog) and then storage tab.
6. Right click on the icon of the CD (on the RHS of the picture below) and change the ISO from Windows install ISO to the PE ISO that you created
Attachment 12405
7. Start the VM and you boot into PE.
Attachment 12402
Last edited by adamf; 11 Feb 2015 at 09:10.