Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Windows 11, version 22H2 #563

Closed
Penguin766 opened this issue Sep 27, 2022 · 18 comments
Closed

Windows 11, version 22H2 #563

Penguin766 opened this issue Sep 27, 2022 · 18 comments

Comments

@Penguin766
Copy link

Expected behaviour

Download the latest ISO of Windows 11.

Actual behaviour

Can't download, shows a error message saying: Download URL not leading to Microsoft CDN.

Steps to reproduce the behaviour

Trying to download Windows 11 using quickget and it doesn't download because of a error.
The reason of the issue is the new 22H2 release of Windows 11 where the ISO images for the old version are no longer available to download on the Microsoft website.

Quickemu output

Getting Windows 11 URL...
Download URL not leading to Microsoft CDN

Linux Distribution & Kernel

Run the following and paste the output.

LSB Version: n/a
Distributor ID: Arch
Description: Arch Linux
Release: rolling
Codename: n/a
Linux arch-pc 5.19.11-1-cachyos-bore #1 SMP PREEMPT_DYNAMIC Sat, 24 Sep 2022 08:57:55 +0000 x86_64 GNU/Linux

@github-actions
Copy link

Hello there 👋
Thanks for submitting your first issue to the Quickemu project 🐛 We'll try and take a look at your issue soon ⏲

In the meantime you might want to join the Wimpys World Discord 🗣 where we have a large community of Linux 🐧 enthusiasts and passionate open source developers 🧑‍💻

You might also be interested in following Wimpys World Twitch 📡 channel where Wimpy streams let's code video, including this project, several times a week. A back catalog of past live stream and other Linux related content is available on Wimpys World YouTube 📺 channel.

@feslerj
Copy link

feslerj commented Oct 5, 2022

I thought I was having a similar issue, but it turns out my brand new Linux installation just did not have curl installed.

Getting Windows 11 URL...
/usr/bin/quickget: line 1832: curl: command not found
Download URL not leading to Microsoft CDN

A simple
sudo apt install curl
fixed that for me.

@gnudoc
Copy link

gnudoc commented Dec 27, 2022

I have reproduced this bug on a fresh install of ubuntu 22.10.

As feslerj points out, the workaround is to install curl.

I would suggest that the correct solution is to make the ppa / aur package etc depend on curl, thereby ensuring that curl is installed.

Thanks.

@kocoman1
Copy link

kocoman1 commented Jan 6, 2023

i have curl installed on ubuntu but it give the error still ?
all 8 10 11 not work

I added
echo "${DOWNLOAD_URL}"
before the error and it says

HTTP/2 302
date: Fri, 06 Jan 2023 15:21:46 GMT
content-type: text/html
location: https://www.microsoft.com/en-us/download/
x-powered-by: PHP/5.4.16
strict-transport-security: max-age=31536000;
x-page-speed: 1.13.35.2-0
cache-control: max-age=0, no-cache
cf-cache-status: DYNAMIC
report-to: {"endpoints":[{"url":"https://a.nel.cloudflare.com/report/v3?s=ws46we1F%2FICffpCUhV8SpMmc2XP5Cwy%2Fp6cbppuy9nBU4rjDi%2BijBbaAkPOiPkq4OGDvdpLZKSky4wzugEobjshBbhADY16xfRTzGlOLnBjlZcHvyCkExupWfVM7npVoeXYrug%3D%3D"}],"group":"cf-nel","max_age":604800}
nel: {"success_fraction":0,"report_to":"cf-nel","max_age":604800}
server: cloudflare
cf-ray: 785571ff9998c425-EWR
alt-svc: h3=":443"; ma=86400, h3-29=":443"; ma=86400

https://www.microsoft.com/en-us/download/

@66schoollane
Copy link

On Nobara Linux 36 (Thirty Six)
can't download windows

 [justin@derp-x8664 quickemu]$ ./quickget windows 11
Getting Windows 11 URL...
Download URL not leading to Microsoft CDN
[justin@derp-x8664 quickemu]$ 

any advice

@bert1fegg
Copy link

bert1fegg commented Jan 7, 2023

Ditto 66schoollane. Pop_OS! host system for me. Fab project though. Don't want to sound ungrateful.

@skythomp16
Copy link

I am having the same issue on Linux Mint 21.1 and curl is installed. Gives the same "Download URL not leading to Microsoft CDN" for both Windows 10 and 11.

@Alons21
Copy link

Alons21 commented Jan 8, 2023

Having the same issue with curl installed on Ubuntu 22.04.1 LTS both for windows 10 and 11.

@blconway
Copy link

I was able to get the script to continue by commenting out the 4 lines after 'MS_BASE_URL="https://software.download.prss.microsoft.com/"' as shown below. Maybe their CDN changed or they are using multiple CDNs?


#    if [[ ! ${DOWNLOAD_URL} =~ ^${MS_BASE_URL} ]]; then
#        echo "Download URL not leading to Microsoft CDN"
#        exit 1
#    fi

After running the quickget command again I got:

quickget windows 10 "English"
Getting Windows 10 URL...
Downloading Windows 10, Version 22H2 (build 19045.2006)...
ERROR! Failed to download https://www.microsoft.com/en-us/download/ with wget. Try running 'quickget' again.

@givtrah
Copy link

givtrah commented Jan 10, 2023

This is a problem with the site https://tb.rg-adguard.net/public.php and/or the microsoft download server.

Upon choosing a windows version in the drop down menus I get told that: "File is not available for download".

It seems like quickget need another way to download windows isos... and/or let us use an already downloaded iso.

@skythomp16
Copy link

I agree with @givtrah , we need to be able to use an already downloaded ISO which would be very easy - just download the ISO yourself and use it instead so it doesn't get broken every time the CDN changes.

@blconway
Copy link

In quickget, I commented out:
# web_get "${DOWNLOAD_URL}" "${VM_PATH}" "${FILE_NAME}"
in addition to the previous 4 lines mentioned above. I then downloaded the same windows 10 iso (Win10_22H2_English_x64.iso) from the Microsoft website and dropped it in the windows-10 folder that quickget created. The rest of the command finished as normal since there was no need to grab the iso and the script didn't try.

Obviously that isn't a viable solution currently, but maybe we can rework the script/command to allow an existing iso as input?

@givtrah
Copy link

givtrah commented Jan 10, 2023

@blconway excellent suggestion, I just tried and that workaround worked for me as well.

@snis
Copy link

snis commented Jan 10, 2023

With DEBUG enabled. I get this output (funny with .ru mail address):

quickget windows 11 Swedish                                                                                
Getting Windows 11 URL...                                        
[                                                                                                                                       
  {                                                                                                                                     
    "name": "Windows 10, Version 22H2 (build 19045.2006)",                                                                              
    "version_id": "149"                                                                                                                 
  },                                                                                                                                    
  {                            
    "name": "Windows 11 [22H2] [22621.525]",
    "version_id": "148"  
  },                                                                                                                                    
  {                      
    "name": "Windows 11 [22H2] [22621.382]", 
    "version_id": "147"
  },                                                                                                                                    
  {                                      
    "name": "Windows 11 [22000.318]",    
    "version_id": "146"                                                                                                                                                                                                                                                          
  },                                                 
  {
    "name": "Windows 10, Version 21H2 (build 19044.1288)",
    "version_id": "144"
  },
  {
    "name": "Windows 11 [22000.194]",
    "version_id": "138"
  },
  {
    "name": "Windows 10, Version 21H1 (build 19043.928)",
    "version_id": "136"
  },
  {
    "name": "Windows 10, Version 2009 - 20H2 (build 19042.631)",
    "version_id": "129"
  },
  {
    "name": "Windows 10, Version 2009 - 20H2 (build 19042.508)",
    "version_id": "127"
  },
  {
    "name": "Windows 10, Version 2004 - 20H1 (build 19041.264)",
    "version_id": "122"
  },
  {
    "name": "Windows 10, Version 1909 - 19H2 (build 18363.418)",
    "version_id": "119"
  },
  {
    "name": "Windows 10, Version 1903 - 19H1 (build 18362.356)",
    "version_id": "117"
  },
  {
    "name": "Windows 10, Version 1903 - 19H1 (build 18362.30)",
    "version_id": "110"
  },
  {
    "name": "Windows 10, Version 1809 - Redstone 5 [March 2019] (build 17763.379)",
    "version_id": "108"
  },
  {
    "name": "Windows 10, Version 1809 - Redstone 5 [Oct 2018] (build 17763.107)",
    "version_id": "105"
  },
  {
    "name": "Windows 10, Version 1809 - Redstone 5 [Sept 2018] (build 17763.1)",
    "version_id": "104"
  },
  {
    "name": "Windows 8.1 with Update 3 (build 9600)",
    "version_id": "11"
  }
]
{"name":"Windows 11 [22H2] [22621.525]","version_id":"148"}
Windows 11 [22H2] [22621.525]
148
2262122
226212236
{"archs":[{"name":"Win11_22H2_Swedish_x64v1.iso","arch_id":"40299"}]}
Win11_22H2_Swedish_x64v1.iso
40299
<p class="buttond" style="text-align:center;"><txt style="text-decoration: none; padding:15px 100px; color:#ff0000; background-color:inherit; border-radius:30px; border: 2px solid #001fff;">File is not available for download</txt></p><br><b><p style="padding-left: 30px;">F
ile upload: </b>09/29/2022 16:39:04 GMT<br><b>File size: </b>5163.96 MB (5414805504 bytes)<br><b>Download:</b> 266<br><b>SHA1:</b> 932c58c70526a220e5a7d55099c2009cd0d6460d</p>
<center><script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<ins class="adsbygoogle"
     style="display:block"
     data-ad-client="ca-pub-5673155074567935"
     data-ad-slot="3471227069"
     data-ad-format="auto"
     data-full-width-responsive="true"></ins>
<script>
     (adsbygoogle = window.adsbygoogle || []).push({});
</script></center><script type="text/javascript">
var _tmr = window._tmr || (window._tmr = []);
_tmr.push({id: "2550699", type: "pageView", start: (new Date()).getTime()});
(function (d, w, id) {
 if (d.getElementById(id)) return;
 var ts = d.createElement("script"); ts.type = "text/javascript"; ts.async = true; ts.id = id;
 ts.src = (d.location.protocol == "https:" ? "https:" : "http:") + "//top-fwz1.mail.ru/js/code.js";
 var f = function () {var s = d.getElementsByTagName("script")[0]; s.parentNode.insertBefore(ts, s);};
 if (w.opera == "[object Opera]") { d.addEventListener("DOMContentLoaded", f, false); } else { f(); }
})(document, window, "topmailru-code");
</script><noscript><div style="position:absolute;left:-10000px;">
<img src="//top-fwz1.mail.ru/counter?id=2550699;js=na" style="border:0;" height="1" width="1" alt="Рейтинг@Mail.ru" />
</div></noscript>
<script>
  (adsbygoogle = window.adsbygoogle || []).push({
    google_ad_client: "ca-pub-5673155074567935",
    enable_page_level_ads: true
  });
</script>
<script type="text/javascript">
    (function (d, w, c) {
        (w[c] = w[c] || []).push(function() {
            try {
                w.yaCounter33969180 = new Ya.Metrika2({
                    id:33969180,
                    clickmap:true,
                    trackLinks:true,
                    accurateTrackBounce:true,
                    webvisor:true,
                    trackHash:true
                });
            } catch(e) { }
        });

        var n = d.getElementsByTagName("script")[0],
            s = d.createElement("script"),
            f = function () { n.parentNode.insertBefore(s, n); };
        s.type = "text/javascript";
        s.async = true;
        s.src = "https://mc.yandex.ru/metrika/tag.js";

        if (w.opera == "[object Opera]") {
            d.addEventListener("DOMContentLoaded", f, false);
        } else { f(); }
    })(document, window, "yandex_metrika_callbacks2");
</script>
<noscript><div><img src="https://mc.yandex.ru/watch/33969180" style="position:absolute; left:-9999px;" alt="" /></div></noscript>
<script type="text/javascript">
var _top100q = _top100q || [];
_top100q.push(['setAccount', '3148524']);
_top100q.push(['trackPageviewByLogo', document.getElementById('Rambler-counter')]);

(function(){
 var pa = document.createElement("script"); 
 pa.type = "text/javascript"; 
 pa.async = true;
 pa.src = ("https:" == document.location.protocol ? "https:" : "http:") + "//st.top100.ru/top100/top100.js";
 var s = document.getElementsByTagName("script")[0]; 
 s.parentNode.insertBefore(pa, s);
})();
</script>
<script>
  (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
  (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
  m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
  })(window,document,'script','https://www.google-analytics.com/analytics.js','ga');

  ga('create', 'UA-89270471-1', 'auto');
  ga('send', 'pageview');

</script>


https://tb.rg-adguard.net/dl.php?go=
https://www.microsoft.com/en-us/download/
Download URL not leading to Microsoft CDN

@kocoman1
Copy link

back in the day there was some windriver site to download those but they said they won't renew the domain , now what is this new one https://tb.rg-adguard.net/public.php

@LightningRhino
Copy link

Same problem here with Nixos 22.11.
"Download URL not leading to Microsoft CDN".

@glantucan
Copy link

Same problem here, pop_os! 22.04. curl is installed

@takov751
Copy link
Contributor

Yes this conversation goes on in #612 for some reason rg-adguard.net site does not able to produce download link.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests