From Windows 11 bootable USB, type ren and reg commands from NTFS partition to install windows 11 v22H2.


E

e4rr0o

Guest
Go to step 21 if you have already created
Bootable USB by using following commands.

1. Make bootable USB of Windows 11 by following commands.
2. CMD>RUN AS ADMINISTRATOR
3.c:\windows\system32>diskpart
4.DISKPART>list disk
5 DISKPART>select disk #
(It should be 1 or 2, depends upon peripherals attached, say disk 1)
6. DISKPART> clean
7. DISKPART>convert MBR
8. DISKPART>create partition primary size=2048
9. DISKPART> create partition primary
10. DISKPART>select partition 1
11. DISKPART> format fs=fat32 quick
12. DISKPART>assign letter=X
13. DISKPART>active
14. DISKPART>select partition 2
15. DISKPART>format fs=NTFS quick
16. DISKPART>assign letter=Y
17. Exit.
18. Mount windows 11 iso to virtual drive, copy all contents except sources folder to X: Manually create sources folder.
19. Copy all contents to Y:
20. Cut boot.wim from Y: \sources to paste into X:\sources.
21. Copy BypassTPMCheckSecureboot.org to Y: NTFS PARTITION.
22. Reboot pc and boot from bootable USB.
23. Press shift F10 at Install now scree.
24 . X:\sources>DISKPART
25. DISKPART>list volume
Suppose NTFS PARTITION letter is L:
26. DISKPART>exit
27. X:\sources>L:
28. L:\>BypassTPMCheckSecureboot.reg
Say yes to add information to registry.
29. L:\> cd sources
30. L:\ sources>ren appraiserres.dll appraiserres.dll.old
31. L:\sources> notepad
Click>file>new>save as>file type all >
appraiserres.dll
A blank file of size 0 KB wii be saved in L:\sources.
Now click on Install now tab.
Proceed to install windows 11 v22H2 on any partition of size more than 52 GB and having 24 GB free space.
 

My Computer

great info thank you, however it amazes the hoops people are willing to take to get the new version installed.
I personally will wait until it shows in my normal windows update list. To many things can happen and I dont want to Re-Install windows just to get it.
This methos however seems the best to me versus other methods being posted.
 

My Computer

System One

  • OS
    Windows 11 Pro Version 22H2(OS Build 22621.963)
    Computer type
    PC/Desktop
    Manufacturer/Model
    AMD
    CPU
    AMD Ryzen 7 5800X 8 Core
    Motherboard
    Gigabyte X570 Aorus Pro WiFi
    Memory
    32 GB
    Graphics Card(s)
    PCI Express 3.0 x16: PowerColor RX Vega 56 Red Dragon
    Sound Card
    Realtek ALC1220 and AMD Greenland - High Definition Audio Controller
    Monitor(s) Displays
    2 - 27 inch Westinghouse
    Screen Resolution
    1920 x 1080
    Hard Drives
    2 SSD - 2 TB each
    1 HDD - 2 TB
    Keyboard
    logitech
    Mouse
    logitech
    Internet Speed
    1 GB
    Browser
    Microsoft Edge
    Antivirus
    Avast Premium
This worked very well for the final phase of building the install media. I was attempting to upgrade Microsoft's flagship product (Surface Pro 8) to their flagship OS version (Win11 22H2)... which isn't compatible ?!?. For other folks that are trying to do this, download the SurfaceProUpdate drivers, install them on your system. Instead of Step 18, build a usb bootable install drive from the Windows Media Creator download. And follow along:

1. mkdir c:\offline
2. cd offline
3. Find your preferred version of windows from the USB Drive(if your USB is mounted as D:) D:\sources\install.esd using the command:
dism /Get-WimInfo /WimFile D:\sources\install.esd
4. look for the Index number for the version you intend to install. The default is Windows Home Edition (index 4).
5. Next extract the Wim file from it:
dism /export-image /SourceImageFile:d:\sources\install.esd /SourceIndex:{the index you found above} /DestinationImageFile:install.wim /Compress:max /CheckIntegrity
6. mkdir c:\mount
7. Mount the wim file:
Dism /Mount-Image /ImageFile:C:\offline\install.wim /MountDir:C:\mount
8. If you haven't already, install the SurfaceProDriverUpdate file found here: Download Surface Pro 8 Drivers and Firmware from Official Microsoft Download Center
9. copy "C:\Program Files\SurfaceUpdate" c:\offline\
10. Install the drivers into the WIM file we created. There are a number of sources that demonstrate that you can do this recursively. Trying that I was hit with the error, file not found. So we'll do it another way:
forfiles /p c:\offline\surfaceupdate /m:"*.inf" /c "cmd /c Dism /Image:C:\mount /Add-Driver /Driver:mad:path" *** instead of the mad face, try an colon - @. Though, I agree, Surface Pro8 should be able to run 22H2, fail Microsoft.
--- Be patient...
11. unmount the wim file:
Dism /Unmount-Image /MountDir:C:\mount /Commit
12. Export the wim file back into the install.esd file:
dism /export-image /SourceImageFile:"c:\offline\install.wim" /SourceIndex:1 /DestinationImageFile:"C:\offline\install.esd" /Compress:recovery /CheckIntegrity
13. Follow Step 19 above.
14. copy c:\offline\install.esd y:\sources
15. Follow the rest of the steps above.

Note: The surface drivers won't be present in the boot environment, I did try adding them to the boot.wim file, but that made no difference. Use a usb keyboard as a secondary keyboard to get through steps 22-31. Once the system reboots and finishes the install, all your drivers will be loaded. I have found no errors so far. (the current version of drivers on Microsoft's website has the updated intel drivers meant to fix the problematic ones.)
 
Last edited:

My Computer

System One

  • OS
    Windows 11
    Computer type
    Tablet
    Manufacturer/Model
    Microsoft / Surface Pro 8
Hey e4rr0o,

Showing gratitude is important in online communities. Use the "like" button to appreciate helpful content. This motivates people to keep sharing knowledge. A "like" gives 1 point, "Helpful" gives 5 points, and "Great support" gives 10 points for exceptional help.

Latest Support Threads

Back
Top Bottom