MediaCreationTool.bat
MediaCreationTool.bat copied to clipboard
PSA: How to install Windows 11 22H2
Hi everyone. I'll be explaining how I managed to install Windows 11 22H2 on an unsupported device.
- You have first to download this script. You can copy paste it in notepad, then save the file as bat.
- 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
- 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.
- Mount the iso (right click --> Open with --> Windows Explorer) then double click the Setup.exe file.
- 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.
- Follow the on-screen instructions
- 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
I need to replace appraiserres.dll
too. see https://github.com/AveYo/MediaCreationTool.bat/issues/194#issuecomment-1272302512.
This worked for me without replacing the .dll just following the steps and disabling antivirus on Dell OptiPlex 3050. Thanks!
Does this also work to upgrade to 22h2 from 21h2 on a unsupported device?
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.
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?
Thanks a lot! This was very easy and kept all my apps and files and settings!
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.
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.
Quick question - what are the long term implications of using this script for installation purposes? Would this possibly break future updates?
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.
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.
the installation keeps failing at 22%
the installation keeps failing at 22%
No error?
the installation keeps failing at 22%
No error?
it just says "Windows server installation has failed" with no more info
i got "sorry we're having trouble determining if your pc can run windows server" pls help
i got "sorry we're having trouble determining if your pc can run windows server" pls help
Not sure why actually
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%
Upgrading from 21H2. This worked for me without replacing the .dll just following the steps. Thank you ❤️
Upgrading from 21H2. This worked for me without replacing the .dll just following the steps. Thank you ❤️
You're welcome!
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
TYSM. worked on my 21H2 MacOS MacBook Pro Mid-2015 in Boot Camp. Got stuck on 74% forever so just let it go overnight.
Worked 100% - I didn't realize I didn't get the update but now I got it with this helpful tip. Thanks 👍
It is not working for me. Any step I might be missing?
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
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.
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?
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 I ran MCT.bat and selected auto upgrade but I can't find the ISO. Does anyone know where the ISO gets saved?
@1bilal look at the dowbkiads directory for windows.iso