Скрипт для скачивания windows 10

Fido: A PowerShell script to download Windows and UEFI Shell ISOs

Description

Fido is a PowerShell script that is primarily designed to be used in Rufus, but that
can also be used in standalone fashion, and whose purpose is to automate access to the official Microsoft Windows retail
ISO download links as well as provide convenient access to bootable UEFI Shell images.

This script exists because, while Microsoft does make retail ISO download links freely and publicly available (at least
for Windows 8 through Windows 11), up until recent releases, most of these links were only available after forcing users
to jump through a lot of unwarranted hoops that created an exceedingly counterproductive, if not downright unfriendly,
consumer experience, that greatly detracted from what people really want (direct access to ISO downloads).

As to the reason one might want to download Windows retail ISOs, as opposed to the ISOs that are generated by
Microsoft’s own Media Creation Tool (MCT), this is because using official retail ISOs is currently the only way to
assert with absolute certainty that the OS content has not been altered. Indeed, because there only exists a single
master for each of them, Microsoft retail ISOs are the only ones you can obtain an official SHA-1 for (from MSDN, if you
have access to it, or from sites such as this one) allowing you to be 100%
sure that the image you are using has not been corrupted and is safe to use.

This, in turn, offers assurance that the content YOU are using to install your OS, which it is indeed critical to
validate beforehand if you have the slightest concern about security, does match, bit for bit, the one that Microsoft
released.

On the other hand, regardless of the manner in which Microsoft’s Media Creation Tool produces its content, because no
two MCT ISOs are ever the same (due to MCT always regenerating the ISO content on the fly) it is currently impossible to
validate with absolute certainty whether any ISO that was generated by the MCT is safe to use. Especially, unlike what
is the case for retail ISOs, it is impossible to tell whether an MCT ISO may have been corrupted after generation.

Hence the need to provide users with a much easier and less restrictive way to access official retail ISOs…

License

GNU General Public License version 3.0 or later.

How it works

The script basically performs the same operation as one might perform when visiting the following URL (that is, in the
case of Windows 10, provided that you have also changed your User-Agent browser string, since, the Microsoft web
servers detect that you are using a version of Windows that is the same as the one you are trying to download, they
may redirect you away from the page that allows you to obtain a direct ISO download link):

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

After checking basic access to the Microsoft software downloads website the script first queries the web API from the
Microsoft servers, to request the language selection available for the version of Windows selected, and then requests
the actual download links, for all the architectures available for that language + version.

Requirements

Windows 8 or later with PowerShell. Windows 7 is not supported.

Commandline mode

Fido supports commandline mode whereas, whenever one of the following options is provided, a GUI is not instantiated
and you can instead generate the ISO download from within a PowerShell console or script.

Note however that, as of 2023.05, Microsoft has removed access to older releases of Windows ISOs and as a result, the
list of releases that can be downloaded from Fido has had to be reduced to only the latest for each version.

The options are:

  • Win: Specify Windows version (e.g. «Windows 10»). Abbreviated version should work as well (e.g -Win 10) as long
    as it is unique enough. If this option isn’t specified, the most recent version of Windows is automatically selected.
    You can obtain a list of supported versions by specifying -Win List.
  • Rel: Specify Windows release (e.g. «21H1»). If this option isn’t specified, the most recent release for the chosen
    version of Windows is automatically selected. You can also use -Rel Latest to force the most recent to be used.
    You can obtain a list of supported versions by specifying -Rel List.
  • Ed: Specify Windows edition (e.g. «Pro/Home»). Abbreviated editions should work as well (e.g -Ed Pro) as long
    as it is unique enough. If this option isn’t specified, the most recent version of Windows is automatically selected.
    You can obtain a list of supported versions by specifying -Ed List.
  • Lang: Specify Windows language (e.g. «Arabic»). Abbreviated or part of a language (e.g. -Lang Int for
    English International) should work as long as it’s unique enough. If this option isn’t specified, the script attempts
    to select the same language as the system locale.
    You can obtain a list of supported languages by specifying -Lang List.
  • Arch: Specify Windows architecture (e.g. «x64»). If this option isn’t specified, the script attempts to use the same
    architecture as the one from the current system.
  • GetUrl: By default, the script attempts to automatically launch the download. But when using the -GetUrl switch,
    the script only displays the download URL, which can then be piped into another command or into a file.

Examples of a commandline download:

PS C:\Projects\Fido> .\Fido.ps1 -Win 10
No release specified (-Rel). Defaulting to '21H1 (Build 19043.985 - 2021.05)'.
No edition specified (-Ed). Defaulting to 'Windows 10 Home/Pro'.
No language specified (-Lang). Defaulting to 'English International'.
No architecture specified (-Arch). Defaulting to 'x64'.
Selected: Windows 10 21H1 (Build 19043.985 - 2021.05), Home/Pro, English International, x64
Downloading 'Win10_21H1_EnglishInternational_x64.iso' (5.0 GB)...
PS C:\Projects\Fido> .\Fido.ps1 -Win 10 -Rel List
Please select a Windows Release (-Rel) for Windows 10 (or use 'Latest' for most recent):
 - 21H1 (Build 19043.985 - 2021.05)
 - 20H2 (Build 19042.631 - 2020.12)
 - 20H2 (Build 19042.508 - 2020.10)
 - 20H1 (Build 19041.264 - 2020.05)
 - 19H2 (Build 18363.418 - 2019.11)
 - 19H1 (Build 18362.356 - 2019.09)
 - 19H1 (Build 18362.30 - 2019.05)
 - 1809 R2 (Build 17763.107 - 2018.10)
 - 1809 R1 (Build 17763.1 - 2018.09)
 - 1803 (Build 17134.1 - 2018.04)
 - 1709 (Build 16299.15 - 2017.09)
 - 1703 [Redstone 2] (Build 15063.0 - 2017.03)
 - 1607 [Redstone 1] (Build 14393.0 - 2016.07)
 - 1511 R3 [Threshold 2] (Build 10586.164 - 2016.04)
 - 1511 R2 [Threshold 2] (Build 10586.104 - 2016.02)
 - 1511 R1 [Threshold 2] (Build 10586.0 - 2015.11)
 - 1507 [Threshold 1] (Build 10240.16384 - 2015.07)
PS C:\Projects\Fido> .\Fido.ps1 -Win 10 -Rel 20H2 -Ed Edu -Lang Fre -Arch x86 -GetUrl
https://software-download.microsoft.com/db/Win10_Edu_20H2_v2_French_x32.iso?t=c48b32d3-4cf3-46f3-a8ad-6dd9568ff4eb&e=1629113408&h=659cdd60399584c5dc1d267957924fbd

Additional Notes

Because of its intended usage with Rufus, this script is not designed to cover every possible retail ISO downloads.
Instead we mostly chose the ones that the general public is likely to request. For instance, we currently have no plan
to add support for LTSB/LTSC Windows ISOs downloads.

If you are interested in such downloads, then you are kindly invited to visit the relevant download pages from Microsoft
such as this one for LTSC versions.

В этой публикации, друзья, будем говорить о неофициальном способе скачивания официального дистрибутива Windows в её версиях 7, 8.1, 10 и 11. И это способ с использованием скрипта Fido и утилиты Rufus от создателя этой утилиты, энтузиаста с GitHub. Способ хорош тем, что предусматривает комплексное скачивание установочных образов ISO всех 4-х массово используемых версий Windows. Для актуальных Windows 10 и 11 этот способ ещё и предусматривает скачивание установочных образов в различных версиях самих этих операционных систем. А в случае использования утилиты Rufus мы ещё и получаем инструмент записи установочной флешки, причём для Windows 11 с возможностью избавления от ограничений, связанных с несоответствием компьютеров системным требованиям этой операционной системы. Давайте посмотрим, как работает этот скрипт отдельно и в составе утилиты Rufus.

Как скачать Windows 7, 8.1, 10 и 11 с помощью скрипта Fido и утилиты Rufus

Итак, друзья, скрипт Fido, он работает в PowerShell, являет собой бесплатный  минималистичный инструмент, выполняющий единственную задачу по скачиванию дистрибутива различных версий Windows. Дистрибутив скачивает оригинальный с серверов Microsoft, скачивает его в формате установочного ISO-образа. Этот же скрипт интегрирован дополнительной функцией в утилиту для записи загрузочных флешек Rufus. Используя Fido, можем оперативно, без лишних проволочек загрузить актуальный установочный образ любой версии Windows. Скрипт Fido выложен на странице его проекта на GitHub. Качаем его.

Распаковываем, на файле сценария PowerShell открываем контекстное меню и кликаем «Выполнить с помощью PowerShell».

Появится небольшое окошко, в нём мы выбираем версию Windows.

Потом указываем релиз Windows, для Windows 10 и 11 это будут их отдельные версии (с указанием сборок, если кому принципиально).

Далее выбираем редакции.

Язык.

Архитектуру.

Сохраняем файл установочного образа Windows.

И его загрузка начнётся в браузере по умолчанию.

Интегрированный в бесплатную утилиту Rufus скрипт Fido – это опция в окошке утилиты «Скачать».

Кликаем её, и запустится окошко скрипта.

У Rufus есть свой сайт, где можно скачать эту утилиту.

Вот такие, друзья, примечательные инструменты существуют. Что скрипт, что утилита могут привнести в работу компьютерщиков неоспоримое удобство, ибо предлагают комплексную и оперативную загрузку дистрибутива Windows. А утилита Rufus пригодиться любому пользователю, который хочет работать с Windows 11, но его компьютер не соответствует системным требованиям этой операционной системы. Эта утилита может избавлять записанный с её помощью установочный процесс Windows 11 от проверки системных требований. И, соответственно, с такой установочной флешки Windows 11 можно установить на любой компьютер, в том числе очень старый на базе BIOS Legacy. Если этот момент интересен, смотрим статью «Как создать установочную флешку Windows 11 для компьютеров без UEFI, Secure Boot и TPM 2.0 с помощью утилиты Rufus».

Ну и напоследок, какие вообще существуют официальные и неофициальные способы скачивания Windows, смотрите в статьях сайта:

  • Как скачать Windows 7, 8.1 и 10,
  • Как скачать Windows 11,
  • Как скачать Windows 11: неофициальные способы.

Если вы хотя бы раз переустанавливали Windows 10, вам наверняка знакома утилита Media Creation Tool, с помощью которой можно создать загрузочный накопитель, скачать ISO-файл для чистой установки или обновить компьютер. Утилита в целом прекрасная, но ее проблема в том, что скачивать можно только актуальную на момент загрузки версию. Сейчас это Windows 10 20H2. Если вам надо переустановить Windows, но вы пока не готовы переходить на свежий релиз, приходится искать образы для установки на просторах Интернетов или же с помощью различных утилит. В полку последних прибыло с недавним релизом простого «батника», способного загрузить любую версию Windows 10.

Bat-файл можно загрузить из репозитория проекта на GitHub. После скачивания достаточно просто запустить файл и выбрать нужную вам версию в небольшом меню. Затем запустится утилита Media Creation Tool с возможность выбрать все привычные параметры, вроде локализации, редакции и разрядности образа операционной системы. Иными словами, «батник» лишь указывает утилите адреса ISO-файлов нужной версии на серверах Microsoft, после чего пользователю приходится работать уже со ставшей привычной утилитой Media Creation Tool для скачивания образа системы или создания загрузочной флешки или диска.

Обратите внимание: системы безопасности Windows не любят, когда пользователь скачивает подобные файлы, поэтому вы столкнетесь с рядом предупреждений в браузере и самой операционной системе. Не обращайте на это внимание – файл полностью безопасен и не представляет никакой угрозы. В конце концов, вы можете проверить содержимое «батника» на Github.

Компания Security Vision запустила линейку продуктов по информационной безопасности, рассчитанных на нужды малого и среднего бизнеса. Первым решением в серии стало Security Vision VS Basic — инструмент для автоматизации сканирования уязвимостей, устранения технических проблем и мониторинга состояния ИТ-активов.

VS Basic рассчитан на компании с инфраструктурой до 500 IP-адресов. Он позволяет выявлять слабые места в ИТ-системах до того, как ими смогут воспользоваться злоумышленники, а также помогает понять, какие уязвимости наиболее критичны, и оценить общий уровень безопасности.

Продукт поддерживает полный цикл работы с уязвимостями — от постановки задач ИТ-отделу до контроля их выполнения. Также доступна интеграция со сторонними ITSM и SD-системами.

В состав Security Vision VS Basic входят функции, знакомые по другим продуктам компании:

  • сканирование уязвимостей (VS),
  • управление уязвимостями (VM),
  • инвентаризация и управление активами (AM).

Однако в версии Basic нет расширенного конструктора для настройки платформы, который предусмотрен в решениях для корпоративного сегмента.

Среди особенностей продукта:

  • поддержка от 100 до 500 IP-адресов;
  • установка на один сервер (виртуальный или физический);
  • регулярные обновления базы уязвимостей;
  • встроенные коннекторы для интеграции с существующей ИТ-инфраструктурой;
  • облегчённый интерфейс для упрощённой настройки и эксплуатации.

Продукт сертифицирован ФСТЭК России.

По словам представителей компании, в будущем планируется выпуск дополнительных решений линейки Security Vision Basic — в том числе для управления инцидентами и контроля выполнения требований регуляторов.

Подписывайтесь на канал «AM Live» в Telegram, чтобы первыми узнавать о главных событиях и предстоящих мероприятиях по информационной безопасности.

Table of Contents

Fido: A PowerShell download script for Microsoft Windows

Fido is a PowerShell script that is primarily designed to be used in Rufus, but that can also be used in standalone fashion, and whose purpose is to automate access to the official Microsoft Windows retail ISO download links as well as provide convenient access to bootable UEFI Shell images.

Note however that, as of 2023.05, Microsoft has removed access to older releases of Windows ISOs and as a result, the list of releases that can be downloaded from Fido has had to be reduced to only the latest for each version.

How to use Fido to download Windows ISO

If you don’t want to do it manually, you can run the below PowerShell commands:

New-Item -Path C:\fido -ItemType Directory -Force
irm 'https://raw.githubusercontent.com/pbatard/Fido/master/Fido.ps1' -OutFile 'C:\fido\fido.ps1'
Set-Location 'C:\fido'

2. Allow running PowerShell scripts, for security purposes, you should enable it for the current session only. Or you can set the policy to RemoteSigned.

Set-ExecutionPolicy Bypass Process

3. Now, navigate to the folder that you have the script on it then obtain a list of supported versions by specifying -Win List.

PS C:\fido> .\fido.ps1 -Win list
Please select a Windows Version (-Win):
 - Windows 11
 - Windows 10
 - Windows 8.1
 - UEFI Shell 2.2
 - UEFI Shell 2.0

Win: Specify Windows version (e.g. “Windows 10”). Abbreviated version should work as well (e.g -Win 10) as long as it is unique enough. If this option isn’t specified, the most recent version of Windows is automatically selected. 

4. Download the latest version of Windows 10 as follows:

The downloaded ISO file would be saved in the same location with the script.

PS C:\fido> .\fido.ps1 -Win 10
No release specified (-Rel). Defaulting to '22H2 v1 (Build 19045.2965 - 2023.05)'.
No edition specified (-Ed). Defaulting to 'Windows 10 Home/Pro/Edu'.
No language specified (-Lang). Defaulting to 'English International'.
No architecture specified (-Arch). Defaulting to 'x64'.
Selected: Windows 10 22H2 v1 (Build 19045.2965 - 2023.05), Home/Pro/Edu, English International, [x64]
Downloading 'Win10_22H2_EnglishInternational_x64v1.iso' (6.0 GB)...

PS C:\fido> ls
Directory: C:\fido
Mode                 LastWriteTime         Length Name
----                 -------------         ------ ----
-a----         8/13/2023   9:04 PM          48680 fido.ps1
-a----         5/23/2023  11:49 PM     6135633920 Win10_22H2_EnglishInternational_x64v1.iso

5. Download the latest version of Windows 11 using the below command:

PS C:\fido> .\fido.ps1 -Win 11
No release specified (-Rel). Defaulting to '22H2 v2 (Build 22621.1702 - 2023.05)'.
No edition specified (-Ed). Defaulting to 'Windows 11 Home/Pro/Edu'.
No language specified (-Lang). Defaulting to 'English International'.
No architecture specified (-Arch). Defaulting to 'x64'.
Selected: Windows 11 22H2 v2 (Build 22621.1702 - 2023.05), Home/Pro/Edu, English International, [x64]
Downloading 'Win11_22H2_EnglishInternational_x64v2.iso' (5.0 GB)...

PS C:\fido> ls
Directory: C:\fido
Mode                 LastWriteTime         Length Name
----                 -------------         ------ ----
-a----         8/13/2023   9:04 PM          48680 fido.ps1
-a----         5/23/2023  11:49 PM     6135633920 Win10_22H2_EnglishInternational_x64v1.iso
-a----         5/23/2023  11:52 PM     5827649536 Win11_22H2_EnglishInternational_x64v2.iso

6. Lang: Specify Windows language (e.g. “Arabic”). Abbreviated or part of a language (e.g. -Lang Int for English International) should work as long as it’s unique enough. If this option isn’t specified, the script attempts to select the same language as the system locale. You can obtain a list of supported languages by specifying -Lang List.

PS C:\fido> .\fido.ps1 -Win 10 -Lang List

 - Arabic
 - Brazilian Portuguese
 - Bulgarian
 - Chinese (Simplified)
 - Chinese (Traditional)
 - Croatian
 - Czech
 - Danish
 - Dutch
 - English
 - English International
 - Estonian
 - Finnish
 - French
 - French Canadian
 - German
 - Greek
 - Hebrew
 - Hungarian
 - Italian
 - Japanese
 - Korean
 - Latvian
 - Lithuanian
 - Norwegian
 - Polish
 - Portuguese
 - Romanian
 - Russian
 - Serbian Latin
 - Slovak
 - Slovenian
 - Spanish
 - Spanish (Mexico)
 - Swedish
 - Thai
 - Turkish
 - Ukrainian

For instance, we’ll download Windows 10 Spanish ISO from Microsoft.

PS C:\fido> .\fido.ps1 -Win 10 -Lang Spanish

Selected: Windows 10 22H2 v1 (Build 19045.2965 - 2023.05), Home/Pro/Edu, Spanish, [x64]
Downloading 'Win10_22H2_Spanish_x64v1.iso' (6.0 GB)...

PS C:\fido> ls
Directory: C:\fido
Mode                 LastWriteTime         Length Name
----                 -------------         ------ ----
-a----         8/13/2023   9:04 PM          48680 fido.ps1
-a----         5/23/2023  11:50 PM     6160668672 Win10_22H2_Spanish_x64v1.iso

7. GetUrl: By default, the script attempts to automatically launch the download. But when using the -GetUrl switch, the script only displays the download URL, which can then be piped into another command or into a file.

PS C:\fido> .\fido.ps1 -Win 10 -GetUrl
https://software.download.prss.microsoft.com/dbazure/Win10_22H2_EnglishInternational_x64v1.iso?t=eb5fdece-ba3f-4af2-8b60-50a7d61586a4&e=1692024397&h=4556b5bd4f4a9db1fd1843a16310453ddb6ecd3d8a82b4a074309813af7ff941

PS C:\fido> .\fido.ps1 -Win 11 -GetUrl
https://software.download.prss.microsoft.com/dbazure/Win11_22H2_EnglishInternational_x64v2.iso?t=efde69ea-8a62-40c1-babe-56836e15cfd3&e=1692024425&h=fc32298175ea1f95915f6e4f9ed45c528408263dcda5482c37674c42a953a025

PowerShell Scripting

We’ve PowerShell, so we’ve created a PowerShell script at https://bonguides/com/fido. So, you just need to open PowerShell or Terminal as administrator then run the following command:

irm bonguides.com/fido | iex

From here, you can download the latest ISO image of Windows 10, 11 from Microsoft officially.

Please select a Windows Version (-Win):
 - Windows 11
 - Windows 10
 - Windows 8.1
 - UEFI Shell 2.2
 - UEFI Shell 2.0

*Instructions..................................................

- Donwload Windows 10:        .\fido.ps1 -win 10
- Donwload Windows 11:        .\fido.ps1 -win 11

- Get supported languages:    .\fido.ps1 -win 10 -lang list
- Download custom language:   .\fido.ps1 -win 10 -lang Spanish

- Get download URL:           .\fido.ps1 -win 10 -GetURL

*..............................................................

Понравилась статья? Поделить с друзьями:
0 0 голоса
Рейтинг статьи
Подписаться
Уведомить о
guest

0 комментариев
Старые
Новые Популярные
Межтекстовые Отзывы
Посмотреть все комментарии
  • Adobe after effects windows 7 crack
  • Порт windows remote desktop
  • Синий экран с ошибкой memory management windows 10
  • Format usb fat32 windows 10
  • Windows 10 фото долго открываются