How can I download a Windows 10 ISO via command-line? If I use curl or wget, the ISO link from Microsoft is valid for only 24 hours.
- 9,096
- 73
3 Answers
I found the answer from github " https://github.com/pbatard/Fido "
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.
GNU General Public License version 3.0 or later.
PowerShell 3.0 or later is required. However the script should detect if you are using an older version.
Because of its intended usage with Rufus, this script is not designed to cover every possible retail ISO downloads.
- 2,413
- 73
If PowerShell 5 or higher is installed, this will download the 64-bit version of Windows 10 version 21H1:
# Source file location
$source = 'https://www.itechtics.com/?dl_id=140'
Destination to save the file
$destination = 'C:\Users\username\Downloads\win10.iso'
Download the source file and save it to destination
Invoke-WebRequest -Uri $source -OutFile $destination
- Change the destination path to a folder where you can save the file.
- Use Download Windows 10 ISO Files (Direct Download Links) to get links for other versions, then change the URL on the above commands.
- 9,096
- 20,570
Yes, there is a way to do that but not easily.
The only ISO you can download is the Windows 10 Insider preview version but you need to create a bot that click on that button and catch the link.
From there you can then use curl or wget.
- 758
- 11
- 18