Credits: Endermanch
-
Press Shift + F10 to open CMD on the installer
-
Follow these commands to format our partition:
- diskpart
- sel disk 0
- convert gpt
- create part efi size=500
- format fs=fat32 quick
- assign letter w
- create part primary
- format fs=ntfs quick
- assign letter c
- exit
-
Type “cd /d D:\sources”
-
Type “dism /apply-image /imagefile:install.wim /index:1 /applydir:C:” to copy Windows over to C:
-
Type “bcdboot C:\Windows /s W:” to create MBR
-
Goto regedit and do this:
-
Load hives in C:/Windows/system32/config “SOFTWARE” and “SYSTEM”
-
Go to HKEY_LOCAL_MACHINE/SoftwareHiveName/Microsoft/Windows/CurrentVersion/Policies/System
-
Create “VersboseDefault” DWORD and set it to 1
-
Edit “EnableCursorSurpression” and set it to 0
-
Go to HKEY_LOCAL_MACHINE/SystemHiveName/Setup
-
Modify CmdLine and set it to “cmd.exe”
-
Exit Regedit
-
Go to CMD and type “wpeutil reboot” to reboot
-
When we get into CMD in the bootscreen, we will type “oobe\windeploy” to finish some stuff
-
When it says “Getting Ready” create a Admin user with:
- net user /add “your name”
- net localgroup /add users “your name”
- net localgroup /add administrators “your name”
- Open regedit and to this
- Goto HKEY_LOCAL_MACHINE/SYSTEM/Setup
- Set OOBEInProgress to 0
- Set SetupType to 0
- Set SystemSetupInProgress to 0
- Exit regedit
-
Exit CMD
-
Wait several minutes
Now when we reboot everything must be up and running, and we skipped OOBE too