A quick way to update windows from 11 21H2 to 22H2 using a batch file in installationn media created from Microsoft official website.


E

e4rr0o

Guest
Please note :- 1. Replace every D: letter in batch file with your installation media usb drive letter .
2. To do this , right click autoexe.bat file>show more options>edit, make changes and save and then move to root drive of your installation media usb drive .
3. To run autoexe.bat file, right click on it, select Run as administrator within installation media usb drive.
4. Click Yes in Notepad prompt and close(x) it.
5. Proceed, Select Keep files and data.
6. It restarts and update goes on.
7. Backup of data is suggested, though not necessary .
NOW ABOUT autoexe.bat file, to make this file , follow these simple commands.
1. Search for CMD, Run as administrator.
2. C:\windows\system32>copy con autoexe.bat (press enter)
Now type all commands one by one and press enter after each command.
3. D:(replace with your installation media usb drive letter)
4. cd sources
5. ren appraiserres.dll appraiserres.dll.old
6. Notepad appraiserres.txt
7. cd\
8. reg add "HKLM\SYSTEM\Setup\LabConfig" /v "BypassTPMCheck" /t REG_DWORD /d 1
9. reg add "HKLM\SYSTEM\Setup\LabConfig" /v "BypassRAMCheck" /t REG_DWORD /d 1
10. reg add "HKLM\SYSTEM\Setup\LabConfig" /v "BypassSecureBootCheck" /t REG_DWORD /d 1
11. reg add "HKLM\SYSTEM\Setup\LabConfig" /v "BypassCPUCheck" /t REG_DWORD /d 1
12 reg add "HKLM\SYSTEM\Setup\LabConfig" /v "BypassStorageCheck" /t REG_DWORD /d 1
13. cd sources
14. ren appraiserres.txt appraiserres.dll
15. del appraiserres.txt
16. cd\
17. setup
18. Control+Z (Press Enter after Ctrl Z)

You will get message 1file copied.
Move this file from c:\windows\system 32 to installation media usb drive letter, attached.
Right click autoexe.bat and Run as administrator.
Keep personal files and data , proceed.
 
Windows Build/Version
Windows 11 v22H2 OS build v22H2

My Computer

I am attaching the files, please see.
 

Attachments

  • autoexe.bat
    618 bytes · Views: 9
  • IMG-20220929-WA0000.jpg
    IMG-20220929-WA0000.jpg
    69.5 KB · Views: 9

My Computer

Ramesh Sharma,​

You mentioned on the thread title a Microsoft official website.
Could you please give us the link?
 

My Computers

System One System Two

  • OS
    Windows 7 HP 64 - Windows 11 Pro - Lubuntu
    Computer type
    PC/Desktop
    Manufacturer/Model
    custom build
    CPU
    i5 6600K - 800MHz to 4400MHz
    Motherboard
    GA-Z170-HD3P
    Memory
    4+4G GSkill DDR4 3000
    Graphics Card(s)
    IG - Intel 530
    Monitor(s) Displays
    Samsung 226BW
    Screen Resolution
    1680x1050
    Hard Drives
    (1) -1 SM951 – 128GB M.2 AHCI PCIe SSD drive for Win 11
    (2) -1 WD SATA 3 - 1T for Data
    (3) -1 WD SATA 3 - 1T for backup
    (4) -1 BX500 SSD - 128G for Windows 7 and Lubuntu
    PSU
    Thermaltake 450W TR2 gold
    Keyboard
    Old and good Chicony mechanical keyboard
    Mouse
    Logitech mX performance - 9 buttons (had to disable some)
    Internet Speed
    500 Mb/s
    Browser
    Firefox 64
  • Operating System
    Windows 7 Pro
    Computer type
    Laptop
    Manufacturer/Model
    Asus Q550LF
    CPU
    i7-4500U 800- 3000MHz
    Motherboard
    Asus Q550LF
    Memory
    (4+4)G DDR3 1600
    Graphics card(s)
    IG intel 4400 + NVIDIA GeForce GT 745M
    Sound Card
    Realtek
    Monitor(s) Displays
    LG Display LP156WF4-SPH1
    Screen Resolution
    1920 x 1080
    Hard Drives
    BX500 120G SSD for Windows and programs
    & 1T HDD for data
    Internet Speed
    350 Mb/s
    Browser
    Firefox 64
I thought upgrades do not check tpm status etc. If I am correct, all you need to do is download iso, mount as a drive and run setup.exe.

As an aside, your posts will get lost over time. Why not produce tutorials like those in tutorial section and submit for inclusion? You do not have to get exact format - the management team will polish it off.
 

My Computer

System One

  • OS
    Windows 10 Pro + others in VHDs
    Computer type
    Laptop
    Manufacturer/Model
    ASUS Vivobook 14
    CPU
    I7
    Motherboard
    Yep, Laptop has one.
    Memory
    16 GB
    Graphics Card(s)
    Integrated Intel Iris XE
    Sound Card
    Realtek built in
    Monitor(s) Displays
    N/A
    Screen Resolution
    1920x1080
    Hard Drives
    1 TB Optane NVME SSD, 1 TB NVME SSD
    PSU
    Yep, got one
    Case
    Yep, got one
    Cooling
    Stella Artois
    Keyboard
    Built in
    Mouse
    Bluetooth , wired
    Internet Speed
    72 Mb/s :-(
    Browser
    Edge mostly
    Antivirus
    Defender
    Other Info
    TPM 2.0
I thought upgrades do not check tpm status etc. If I am correct, all you need to do is download iso, mount as a drive and run setup.exe.

As an aside, your posts will get lost over time. Why not produce tutorials like those in tutorial section and submit for inclusion? You do not have to get exact format - the management team will polish it off.
Sir, I am just a student, You all are my teachers.
 

My Computer

5. ren appraiserres.dll appraiserres.dll.old
6. Notepad appraiserres.txt
14. ren appraiserres.txt appraiserres.dll
15. del appraiserres.txt

There is no appraiserres.txt to delete (you renamed to appraiserres.dll).

The reg keys are not necessary to do an in place upgrade.
They have to be added to WinPE after you begin setup on a clean install

 

My Computers

System One System Two

  • OS
    Windows 7 HP 64 - Windows 11 Pro - Lubuntu
    Computer type
    PC/Desktop
    Manufacturer/Model
    custom build
    CPU
    i5 6600K - 800MHz to 4400MHz
    Motherboard
    GA-Z170-HD3P
    Memory
    4+4G GSkill DDR4 3000
    Graphics Card(s)
    IG - Intel 530
    Monitor(s) Displays
    Samsung 226BW
    Screen Resolution
    1680x1050
    Hard Drives
    (1) -1 SM951 – 128GB M.2 AHCI PCIe SSD drive for Win 11
    (2) -1 WD SATA 3 - 1T for Data
    (3) -1 WD SATA 3 - 1T for backup
    (4) -1 BX500 SSD - 128G for Windows 7 and Lubuntu
    PSU
    Thermaltake 450W TR2 gold
    Keyboard
    Old and good Chicony mechanical keyboard
    Mouse
    Logitech mX performance - 9 buttons (had to disable some)
    Internet Speed
    500 Mb/s
    Browser
    Firefox 64
  • Operating System
    Windows 7 Pro
    Computer type
    Laptop
    Manufacturer/Model
    Asus Q550LF
    CPU
    i7-4500U 800- 3000MHz
    Motherboard
    Asus Q550LF
    Memory
    (4+4)G DDR3 1600
    Graphics card(s)
    IG intel 4400 + NVIDIA GeForce GT 745M
    Sound Card
    Realtek
    Monitor(s) Displays
    LG Display LP156WF4-SPH1
    Screen Resolution
    1920 x 1080
    Hard Drives
    BX500 120G SSD for Windows and programs
    & 1T HDD for data
    Internet Speed
    350 Mb/s
    Browser
    Firefox 64
Sir, I am just a student, You all are my teachers.

I siggest you look in the excellent tutorial sections here and on tenforums to see how the pros do it. Also check if any posts you are making has been already covered.
 

My Computer

System One

  • OS
    Windows 10 Pro + others in VHDs
    Computer type
    Laptop
    Manufacturer/Model
    ASUS Vivobook 14
    CPU
    I7
    Motherboard
    Yep, Laptop has one.
    Memory
    16 GB
    Graphics Card(s)
    Integrated Intel Iris XE
    Sound Card
    Realtek built in
    Monitor(s) Displays
    N/A
    Screen Resolution
    1920x1080
    Hard Drives
    1 TB Optane NVME SSD, 1 TB NVME SSD
    PSU
    Yep, got one
    Case
    Yep, got one
    Cooling
    Stella Artois
    Keyboard
    Built in
    Mouse
    Bluetooth , wired
    Internet Speed
    72 Mb/s :-(
    Browser
    Edge mostly
    Antivirus
    Defender
    Other Info
    TPM 2.0
I just updated windows 11 v21H2 to v22H2 on one partition running windows 11 pro v21H2.
Please the image attached herewith.
 

Attachments

  • IMG_20220929_192030_777.jpg
    IMG_20220929_192030_777.jpg
    523.1 KB · Views: 4

My Computer

5. ren appraiserres.dll appraiserres.dll.old
6. Notepad appraiserres.txt
14. ren appraiserres.txt appraiserres.dll
15. del appraiserres.txt

There is no appraiserres.txt to delete (you renamed to appraiserres.dll).

The reg keys are not necessary to do an in place upgrade.
They have to be added to WinPE after you begin setup on a clean install

Without any error windows 11 upgrade took place.
 

My Computer

5. ren appraiserres.dll appraiserres.dll.old
6. Notepad appraiserres.txt
14. ren appraiserres.txt appraiserres.dll
15. del appraiserres.txt

There is no appraiserres.txt to delete (you renamed to appraiserres.dll).

The reg keys are not necessary to do an in place upgrade.
They have to be added to WinPE after you begin setup on a clean install

You are correct. But sometimes it remains in D:\sources as appraiserres.txt
Nevertheless, close notepad. And further commands run automatically. You may have to press Y till each registry change takes place.
TPM and other requirements may block upgrades when setup.exe is run , particularly on unsupported hardware as it is in my case.
 

My Computer

I siggest you look in the excellent tutorial sections here and on tenforums to see how the pros do it. Also check if any posts you are making has been already covered.
He wants us to be his beta testers. It does not matter that there are usually much easier ways of doing things than what he posts.
 

My Computers

System One System Two

  • OS
    Windows 11
    Computer type
    PC/Desktop
    Manufacturer/Model
    Homebuilt
    CPU
    AMD Ryzen 7 3800XT
    Motherboard
    ASUS ROG Crosshair VII Hero (WiFi)
    Memory
    32GB
    Graphics Card(s)
    EVGA GeForce GTX 1080 Ti
  • Operating System
    Windows 11 Education
    Computer type
    Laptop
    Manufacturer/Model
    Dell Inspiron 7773
    CPU
    Intel i7-8550U
    Memory
    32GB
    Graphics card(s)
    Nvidia Geforce MX150
    Sound Card
    Realtek
    Monitor(s) Displays
    17"
    Screen Resolution
    1920 x 1080
    Hard Drives
    Toshiba 512GB NVMe SSD
    SK Hynix 512GB SATA SSD
    Internet Speed
    Fast!
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.

Back
Top Bottom