AveYo / MediaCreationTool.bat

Universal MCT wrapper script for all Windows 10/11 versions from 1507 to 21H2!
MIT License
8.99k stars 3k forks source link

It doesns't work as of June 2023 #272

Closed DATEx2 closed 11 months ago

DATEx2 commented 1 year ago

It says Sorry we cannot determine at this time and then closes. This make your tool 100% useless image

JustFragger commented 1 year ago

+1 same behavior not working.

rpodric commented 1 year ago

https://github.com/AveYo/MediaCreationTool.bat/issues/252

AveYo commented 1 year ago

Sorry for being away for such a long time.
Dev builds have been rebased. 25xxx for Canary, 23xxx Dev, 22000 Beta
I did not anticipate a rebase, was thinking they are going to use 26xxx, so the code had this detection line: if %VER% == 11 findstr /r "P.r.o.d.u.c.t.V.e.r.s.i.o.n...1.0.\..0.\..2.[256]"
The fix is simple, just had to add the 23xxx builds to that findstr regex:
if %VER% == 11 findstr /r "P.r.o.d.u.c.t.V.e.r.s.i.o.n...1.0.\..0.\..2.[235]" Will update the script as soon as I can.

seaorbit commented 1 year ago

I was able to upgrade to Windows 11 (21H2) from Windows 10 (22H2) under Apple BootCamp environment on July 3.

AveYo commented 1 year ago

I was able to upgrade to Windows 11 (21H2) from Windows 10 (22H2) under Apple BootCamp environment on July 3.

Probably. The issue only affected upgrading to 23xxx Dev builds.

JustFragger commented 1 year ago

@AveYo Hi, fix worked, now it says Windows Server installation, but when I continue, It throws again we have a problem determining whether windows server can be run on your computer.

Any tips?

AveYo commented 1 year ago

Any tips?

run windows_update_refresh.bat

JustFragger commented 1 year ago

Any tips?

run windows_update_refresh.bat

Yeah I read readme in bypass11 and did that, but didn't worked. Same error.

My Windows 10 is bit broken, I can't fix my updates, after I download update and try to install it (restart and update) it throws we couldn't complete updates undoing changes. So maybe it's because of this I can't pass next.

AveYo commented 1 year ago

In that scenario an upgrade from 10 to 11 does not help.
What you need is a successful repair-install with the current OS version and only after try upgrading.

Some more tips:

I just upgraded a 10 to 11 22H2, then to 11 Dev via windows update (unsupported pc). First time it failed and undone it back to 11 22H2 - then I tried again with the steps above and 11 Dev went through (sometimes it fails because it can't estimate required disk space correctly, other times because compatibility check can cause a race-condition, rarely is a store app / registry / permissions that breaks setup)

ElliotKillick commented 1 year ago

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 project in any way.