MediaCreationTool.bat icon indicating copy to clipboard operation
MediaCreationTool.bat copied to clipboard

PSA: How to install Windows 11 22H2

Open GeekCornerGH opened this issue 2 years ago • 3 comments

Hi everyone. I'll be explaining how I managed to install Windows 11 22H2 on an unsupported device.

  1. You have first to download this script. You can copy paste it in notepad, then save the file as bat.
  2. Run the script. Just double click it. The script will prompt for admin mode, just accept. The script should said it got installed. If it shows it was removed, run the script one more time
  3. Download a Windows 11 22H2 iso file. Make sure to download an actual iso, and not the upgrade assistant. Make sure you also choose the right language.
  4. Mount the iso (right click --> Open with --> Windows Explorer) then double click the Setup.exe file.
  5. The Installer will act as if it was installing Windows Server, but don't worry, it means the script worked and you will get Windows 11 22H2.
  6. Follow the on-screen instructions
  7. After reboot, just login and enjoy

Bonus: run the following command in an admin cmd prompt to be able to get back to your previous version even after 10 days:

DISM /Online /Set-OSUninstallWindow /Value:XX

where XX is a number. Eg: you put 20: your restore point will last 20 days Instead of 10

GeekCornerGH avatar Oct 05 '22 07:10 GeekCornerGH

I need to replace appraiserres.dll too. see https://github.com/AveYo/MediaCreationTool.bat/issues/194#issuecomment-1272302512.

liudonghua123 avatar Oct 08 '22 13:10 liudonghua123

This worked for me without replacing the .dll just following the steps and disabling antivirus on Dell OptiPlex 3050. Thanks!

hugalafutro avatar Oct 16 '22 10:10 hugalafutro

I need to replace appraiserres.dll too. see #194 (comment).

@liudonghua123 I didn't had to

GeekCornerGH avatar Oct 18 '22 07:10 GeekCornerGH

Does this also work to upgrade to 22h2 from 21h2 on a unsupported device?

DigiNL avatar Oct 19 '22 05:10 DigiNL

Does this also work to upgrade to 22h2 from 21h2 on a unsupported device?

I installed 22h2 from 21h2 on an unsupported device using the above methods I mentioned.

liudonghua123 avatar Oct 19 '22 06:10 liudonghua123

Does this also work to upgrade to 22h2 from 21h2 on a unsupported device?

I installed 22h2 from 21h2 on an unsupported device using the above methods I mentioned.

so you upgraded and retained all settings and apps?

DigiNL avatar Oct 19 '22 06:10 DigiNL

Thanks a lot! This was very easy and kept all my apps and files and settings!

ghost avatar Oct 19 '22 08:10 ghost

Does this also work to upgrade to 22h2 from 21h2 on a unsupported device?

I installed 22h2 from 21h2 on an unsupported device using the above methods I mentioned.

so you upgraded and retained all settings and apps?

Yes, upgraded and retained all settings and apps.

liudonghua123 avatar Oct 19 '22 08:10 liudonghua123

it also keeps the same win 11 version while updating or do you have to select that during the process? i use win 11 enterprise.

DigiNL avatar Oct 19 '22 09:10 DigiNL

Quick question - what are the long term implications of using this script for installation purposes? Would this possibly break future updates?

AT-StephenDetomasi avatar Oct 21 '22 02:10 AT-StephenDetomasi

I had luck just running the skip TPM script and running Windows Update. I don't know why I was getting 0x80888002 errors and it didn't happen after I ran the script and installed completely. Patching appraiser.dll should be a red flag to anyone trying that method and was completely unnecessary with my (fairly new) system.

ctipper avatar Oct 25 '22 13:10 ctipper

Thanks, the script allowed the 22H2 upgrade to run, no need to do anything else.

Quick question - what are the long term implications of using this script for installation purposes? Would this possibly break future updates?

It doesn't. After upgrading, I checked for updates and installed them all without issues.

TheHacker66 avatar Oct 26 '22 11:10 TheHacker66

the installation keeps failing at 22%

Ben569483 avatar Oct 26 '22 14:10 Ben569483

the installation keeps failing at 22%

No error?

GeekCornerGH avatar Oct 26 '22 15:10 GeekCornerGH

the installation keeps failing at 22%

No error?

it just says "Windows server installation has failed" with no more info

Ben569483 avatar Oct 26 '22 15:10 Ben569483

i got "sorry we're having trouble determining if your pc can run windows server" pls help

kiraje avatar Oct 30 '22 10:10 kiraje

i got "sorry we're having trouble determining if your pc can run windows server" pls help

Not sure why actually

GeekCornerGH avatar Nov 01 '22 15:11 GeekCornerGH

the installation keeps failing at 22%

No error?

it just says "Windows server installation has failed" with no more info

Update on this, it only shows this error if I have enough storage on my C drive, if I use external media for the install it doesn’t give me the error. But, when it reboots into the install it takes forever. I left it for around half an hour and was only on 3%

Ben569483 avatar Nov 01 '22 19:11 Ben569483

Upgrading from 21H2. This worked for me without replacing the .dll just following the steps. Thank you ❤️

matheusrizzo1 avatar Nov 10 '22 14:11 matheusrizzo1

Upgrading from 21H2. This worked for me without replacing the .dll just following the steps. Thank you ❤️

You're welcome!

GeekCornerGH avatar Nov 12 '22 12:11 GeekCornerGH

i used the method trying to update my 21h2 to 22h2 but it did not work and had this error: we can't tell if your pc is ready to continue installing windows server (11 it means) try restarting setup.

coud any one help me i should explain that, i could not install windows update KB5021234 whit error code 0x800f0988 ,even if i try to install as an stand alone it dose not work

anjexe avatar Dec 29 '22 13:12 anjexe

TYSM. worked on my 21H2 MacOS MacBook Pro Mid-2015 in Boot Camp. Got stuck on 74% forever so just let it go overnight.

hb-webdev avatar Feb 15 '23 23:02 hb-webdev

Worked 100% - I didn't realize I didn't get the update but now I got it with this helpful tip. Thanks 👍

optimizegeek avatar Feb 19 '23 04:02 optimizegeek

It is not working for me. Any step I might be missing?

VanChapel avatar Jun 10 '23 05:06 VanChapel

Hi, after running the installer the "keep files, configuration and apps" option it's dissabled is it safe to continue only with de "keep personal files" option?? TIA

biigyuyo avatar Jun 27 '23 13:06 biigyuyo

If you're okay with WSL then I've just made a similar project called Mido: https://github.com/ElliotKillick/Mido

It's minimalist in that it's only for downloading the ISOs. Very clean and readable shell script. :)

Just an alternative for those who want something a bit simpler for VMs and such. Doesn't replace this amazing project in any way.

ElliotKillick avatar Aug 06 '23 20:08 ElliotKillick

So all it takes is to run Skip_TPM_Check_on_Dynamic_Update.cmd, mount the 2h22 ISO, and run Setup.exe? Is it no longer required to do the whole workflow with running MediaCreationTool.bat?

e-t-l avatar Aug 22 '23 21:08 e-t-l

For upgrades and repairs it's the set-it-and-forget-it way, no need to patch & re-author iso's, but keep them original with verifiable hashes and whatnot.
It has been shadowed by the kick-ass feature to run insider builds from windows update directly, but it was always supported. MCT is for not downloading a whole fat ISO (5GB+) but a compressed ESD of 3GB and less, and author the iso locally (guaranteed to be compatible with fat32 usb sticks)

AveYo avatar Aug 22 '23 22:08 AveYo

@AveYo I ran MCT.bat and selected auto upgrade but I can't find the ISO. Does anyone know where the ISO gets saved?

1bilal avatar Nov 19 '23 13:11 1bilal

@1bilal look at the dowbkiads directory for windows.iso

pacav69 avatar Nov 19 '23 21:11 pacav69