News, tips, advice, support for Windows, Office, PCs & more. Tech help. No bull. We're community supported by donations from our Plus Members, and proud of it
Home icon Home icon Home icon Email icon RSS icon
  • .Bat file download any Windows 10 version ISO from Microsoft

    Posted on Alex5723 Comment on the AskWoody Lounge

    Home Forums AskWoody support Windows Windows 10 .Bat file download any Windows 10 version ISO from Microsoft

    Topic Resolution: Not a Question
    Viewing 9 reply threads
    • Author
      Posts
      • #2308465 Reply
        Alex5723
        AskWoody Plus

        https://www.ghacks.net/2020/10/31/here-is-how-you-download-any-windows-10-version-iso-from-microsoft/

        When you use Microsoft’s official Media Creation Tool, it is the latest version of Windows 10 that you get when you use it to download a Windows 10 ISO image to the system or make an USB device bootable using the operating system. While that is often the desired version to get, it may sometimes be necessary to get an earlier version of Windows 10….

        What if I told you that there is a way using Microsoft’s own tool? All you need is this Windows batch file and the latest version of the official Microsoft Media Creation Tool. …

        3 users thanked author for this post.
      • #2308469 Reply
        Microfix
        AskWoody MVP

        Read that earlier today..nice workaround to get older versions 🙂
        2 viable options now, Heidoc and now this script in conjunction with MCT
        Downloaded – before it disappears – but haven’t tried it YET.

        No problem can be solved from the same level of consciousness that created IT - AE
        1 user thanked author for this post.
      • #2308477 Reply
        Alex5723
        AskWoody Plus

        2 viable options now, Heidoc and now this script in conjunction with MCT
        Downloaded

        It maybe that downloading using this method will get an updated Win 10 version.

        • #2308478 Reply
          Microfix
          AskWoody MVP

          I get the feeling that using either will result in the same build numbers, I’d like to be wrong on that though 😉
          Had a good scan at the script – impressive!

          No problem can be solved from the same level of consciousness that created IT - AE
      • #2308507 Reply
        SuzyQ777
        AskWoody Plus

        I must be doing something wrong…went to the site to download, but the bat file looks like this:

        ![Preview1](https://i.imgur.com/EEQbC2k.png)
        ![Preview2](https://i.imgur.com/wSd1DlZ.png)
        
        `
        2018.10.10: reinstated 1809 [RS5]! using native xml patching for products.xml; fixed syntax bug with exit/b
        2018.10.12: added data loss warning for RS5
        2018.11.13: RS5 is officially back! + greatly improved choices dialog - feel free to use the small snippet in your own scripts
        2019.05.22: 1903 [19H1]
        2019.07.11: 1903 __release_svc_refresh__ and enable DynamicUpdate by default to grab latest CU
        2019.09.29: UPDATED 19H1 build 18362.356 ; RS5 build 17763.379 and show build number
                    added LATEST MCT choice to dinamically download the current version (all others have hard-coded links)
        2019.11.16: 19H2 18363.418 as default choice (updated hard-coded links)
        2020.02.29: 19H2 18363.592
        2020.05.28: 2004 19041.264 first release
        2020.10.29: 20H2 and aniversary script refactoring to support all MCT versions from 1507 to 20H2!!!
        2020.10.30: hotfix utf-8, enterprise on 1909+
        <code></code>`
        and is saved as: %20MediaCreationTool.bat%20.md.txt to my computer.
        Not sure what to do with it, can someone help?
        • #2308510 Reply
          PKCano
          Da Boss

          That’s the script that shows the demo of the choices.
          Move down the page till you see the full script that has just “MediaCreationTool.bat” in the top line.

          • #2308512 Reply
            SuzyQ777
            AskWoody Plus

            Okay…got that one, and it runs, I pick 2004 from the list…but then nothing else happens…you can tell I’m a novice at this, I guess.

            • #2308516 Reply
              PKCano
              Da Boss

              Have you ever used the Media Creation Tool? It downloads the files from MS and either does an install on the machine you are using or creates an ISO, depending which you choose. It takes a while to do it’s job.
              If you have the Media Creation Tool and the batch file in the same folder, then execute the batch file, the batch file is supposed to initiate the Media Creation Tool and feed it the correct version to download that you ask for.

              • #2308518 Reply
                SuzyQ777
                AskWoody Plus

                Yes, I have used the tool before, but the problem seems to be that the batch file runs, I pick 2004 but it doesn’t initiate the Media creation tool which I just downloaded from Microsoft(20H2).  Both files are in the same folder.  I have tried it numerous times and nothing happens.  I wanted to download both 1909 and 2004 to keep for later use on a couple of my older laptops.

              • #2308521 Reply
                PKCano
                Da Boss

                I just tried it  with the same results as you have. Suggest you look through the comments on the GitHub site and see if there is an answer.

                1 user thanked author for this post.
              • #2308523 Reply
                SuzyQ777
                AskWoody Plus

                Okay, thanks for your help, I’ll see what I can find there and let you know.

      • #2308552 Reply
        SuzyQ777
        AskWoody Plus

        Well, unfortunately, I can’t find an answer on the Git Hub site about this batch file not working.  Has anyone else had a problem with it?

        • #2308561 Reply
          Kirsty
          Da Boss

          I was able to get it to work through to the point of selecting an ISO download, at which point it informed me I wasn’t logged in as administrator.

      • #2308579 Reply
        Paul T
        AskWoody MVP

        2 viable options now, Heidoc and now this script in conjunction with MCT

        3 options.
        Rufus will download the ISO as well.

        cheers, Paul

        • This reply was modified 3 weeks, 3 days ago by Paul T.
        2 users thanked author for this post.
      • #2308659 Reply
        wavy
        AskWoody Plus

        This seems similar (to me) to Fido used with Rufus to make an ISO of choice.
        Recently updated:

        Add Windows 10 20H2 19042.508 builds
        e0c1015
        Oct 21, 2020

        https://github.com/pbatard/Fido

        Been around for a while see’
        https://www.askwoody.com/forums/topic/whats-the-best-way-to-upgrade-from-windows-7-to-windows-10/#post-2036692

        🍻

        Just because you don't know where you are going doesn't mean any road will get you there.
        • This reply was modified 3 weeks, 3 days ago by wavy.
        • This reply was modified 3 weeks, 3 days ago by wavy. Reason: added info
      • #2308716 Reply
        SuzyQ777
        AskWoody Plus

        Hello again.  Went back to the Git Hub site, followed the link “Windows Batch File” and downloaded the Media Creation Tool Bat “zip” file at the top of the page on the right ‘Download ZIP”.  Unzip it to a new folder, place the Microsoft Media Creation Tool in the same folder and ran the Batch file.  It worked like a charm!

        1 user thanked author for this post.
      • #2308725 Reply
        SuzyQ777
        AskWoody Plus

        Somebody must have fixed the files, because I downloaded the ‘raw’ file as per the instructions on ghacks site, and it also now works perfectly.  Thanks to whoever made the fix, and thanks to those who answered my questions here on Ask Woody.  SuzyQ777

      • #2311806 Reply
        glnz
        AskWoody Plus

        This is the both the wrong and right place to ask, but I need to repair my Win 10 Pro 64-bit v 1909 because its Windows Defender isn’t running.

        (For details why my Win Def isn’t running, see my posts at  < Ten Forums Thread >  and   < MS Answers thread >  .  I got into this mess by going back to a Restore Point from six weeks ago for an unrelated reason.  Apparently, that did not bring back the missing Win Defender folder I describe.)

        Now, thanks to Ask Woody (to which I am a contributor),  I have an .iso of 1909 from May 13, 2020.   How exactly do I use my .iso of 1909 to do the vaunted “repair only by inplace upgrade” without actually upgrading to 2004 or later?  I am hoping that the “repair only by inplace upgrade” will fix this Windows Defender issue and leave me with 1909 and (very important) all my apps and files.

        The alternative would be to upgrade ONLY to v 2004, but I do NOT have THAT .iso.  How can I get it and then use it?  The posts above are a bit daunting.

        I don’t need long instructions here if you can give me links that answer most of my questions.

        Many thanks!!!!!

        • This reply was modified 1 week, 4 days ago by glnz.
        • This reply was modified 1 week, 4 days ago by glnz.
        • #2311812 Reply
          anonymous
          Guest
          • #2311858 Reply
            glnz
            AskWoody Plus

            Anonymous – thanks.  Happy to report the following – and please reply if I got anything wrong:

            1. I downloaded an .iso of Win 10 64-bit v 2004 from HeiDoc.
            2. By checking its hash, I can see from the HeiDoc hash tables that I have a “consumer” edition from May 2020.  That seems OK, but should I have a “business” edition?  This is my home PC that has for a long time dual-booted Win 7 Pro 64-bit and Win 10 Pro 64-bit.  The PC is a Dell Optiplex 7010 with 16GB RAM, an i5 CPU and plenty of hard drive space (on three hard drives).
            3. So, if I want to upgrade my existing 1909 to 2004, all I need to do is mount this iso, hit setup and follow the file+app protective steps in the tutorial at Ten Forums, which is at your link?  So easy?  Any new quirks I should be aware of?
            4. It is not 100% clear to me that the HeiDoc .iso will keep me in Win Pro 64-bit.  Will it do that automatically?
            5. By the way, I fixed my problem with Windows Defender.  See my links above for how I did that.  So, today, an inplace upgrade is not urgent.  But good to know how to do soon.

            Thanks.

            • This reply was modified 1 week, 4 days ago by glnz.
            • #2311863 Reply
              PKCano
              Da Boss

              So, if I want to upgrade my existing 1909 to 2004, all I need to do is mount this iso, hit setup and follow the file+app protective steps in the tutorial at Ten Forums, which is at your link? So easy? Any new quirks I should be aware of?

              You should do this OFFLINE (disconnected from your network). If you do it online, it will download updates and upgrade you to the latest version (20H2) in the process. Once you have upgraded, you need to verify your Windows Update settings are where you want them so you don’t get bombed with things you don’t want when you go online. The install will not be up-to-date, so you will need to do updates – be sure they are the ones you want.

              • #2311866 Reply
                glnz
                AskWoody Plus

                PKCano – many things for this important common sense step.  I didn’t see it in the tutorial at Ten Forums.

                This is one of the reasons why I contribute to AskWoody – also for the incredible advice in another part of this forum about continuing to get Win 7 updates.  You all should contribute too.

    Viewing 9 reply threads

    Please follow the -Lounge Rules- no personal attacks, no swearing, and politics/religion are relegated to the Rants forum.

    Reply To: .Bat file download any Windows 10 version ISO from Microsoft

    You can use BBCodes to format your content.
    Your account can't use Advanced BBCodes, they will be stripped before saving.