Document:Windows 10 build 15035 Installation on QEMU

1. Download and install QEMU 4.2.0 for Windows. 32-bit version. 64-bit version.

2. Download and install GTK2-Runtime 2.14.4-2008-10-22.

3. Download Linaro UEFI 15.10 32-bit and copy this file to the QEMU installation folder.

4. Download HxD Hex Editor.

5. Download ARM32 build of viostor driver.

6. Patch trustzone, for this open  in the HxD Hex Editor and replace the following hex string:   with:.

7. Add viostor driver to the. Extract  archive, then run Command Prompt as administrator and then run the following commands:

dism /mount-image /imagefile:\WIM\file\path\ /mountdir:\WIM\mount\path\ /index:1 dism /image:\WIM\mount\path\ /add-driver /driver:\path\to\viostor.inf\ dism /unmount-image /mountdir:\WIM\mount\path\ /commit

8. Create needed VHD files by using the  utility. For this, run the following commands. (Note that these files will be created in a directory on your C drive called "15035", and they will be mounted under the drive letters P and W).

create vdisk file="C:\15035\hdd.vhd" maximum=40000 type=expandable select vdisk file="C:\15035\hdd.vhd" attach vdisk convert gpt create partition efi size=100 format quick fs=fat32 assign letter=p create partition primary format quick assign letter=w exit

9. Apply the  to VHD, and then create boot files:

dism /apply-image /imagefile: /index:1 /applydir:W:\ bcdboot W:\Windows /s P: /f UEFI

After that, eject P or W. Once ejected, P remains and disappears after a reboot.

10. Run QEMU by going to your QEMU installation folder, saving the following text to a batch file, and then running it to start the emulator:

11. If you want to change screen resolution press F2 to enter EFI settings, enter  and then. Change the resolution to the desired one then commit the changes and exit. Choose  in the QEMU menu and then reset the emulator.

12. Select. Enter a drive letter (such as ) in the shell and run the following command:

efi\boot\bootarm.efi

(The above commands allow you to start the OOBE).

During the first launch, error  is possible. You must disable driver signature enforcement. To do this, press the F8 key and then press the 4 key.

13. Set testsigning on.

To do this press Shift + F10, then the command line will appear. Enter the following command:

bcdedit -set testsigning on

After the completion of the OOBE, you can boot into the system.

14. If OOBE fails.

If OOBE fails, then you must follow the steps below to bypass it and log in:

a. On the first screen of OOBE, press Shift + F10, a command prompt will appear.

b. Enter the  command, then you will open the Registry Editor.

c. Go to the following path:.

d. Change the value of the  parameter from   to.

e. Change the value of the  parameter from 1 to 0.

f. Change the value of the  parameter from 4 to 1.

g. Close Registry Editor and at the command prompt type the following command:  to reboot.

h. Now, if you did everything right, when you boot, you should automatically have a command line. You need to manually create an administrator account and delete the defaultuser0 account. To do this, run the following commands:

net user Administrator /active:yes net user defaultuser0 /delete

i. After that, launch the Task Manager. To do this, in the command line, enter the  command. Then end the  process.