Download Windows 7, 8.1 or 10 ISO Images Direct From Microsoft

Download A Windows 7 or 8.1 ISO Using A Javascript Hack

The method of downloading other ISOs on the Windows 10 download page was first discovered by Russian release group WZor. They then created a hack that allows you to download Windows 7 and 8.1 ISO images as well as other Windows 10 images. It involves injecting custom Javascript code into the page which unlocks the other downloads.

Note: If you only want to download the latest Windows 10 ISO, just follow the guide for getting the ISO download page to show in your browser, injecting the Javascript is not required.

Getting The Windows ISO Download Page To Show In Your Browser

The old Techbench download page has gone and a new download page is up in its place. This new page detects if you are running Windows 7, 8.1 or 10, and if you are, you cannot download an ISO. Instead, you are redirected to download the Windows 10 Media Creation Tool. When using another operating system such as XP, Vista, OSX or Linux etc, the ISO download option will be available.

If you are using one of those operating systems that redirects, there is an easy workaround. The page checks what OS you are running from the browser user agent string. Change that in your web browser and the options will become available. Here’s how to do it.

Google Chrome and Chromium Based Browsers

Open a tab and press F12 to open Developer Tools. Click the 3 dotted lines to open Devtools options and go to More tools > Network conditions.

change chrome user agent string

Scroll down to User agent, uncheck the Select automatically box and choose anything apart from Windows, XBox, Edge or Internet Explorer 8 – 11. The user agent change will be in effect only while the tab and the Developer Tools window is open. Alternatively, an extension such as User Agent Switcher works equally well.

Internet Explorer 11 and Edge

Open a tab, press F12 to open Developer Tools and click on the Emulation tab.

change user agent string in IE11

In the User agent string drop down box select Internet Explorer 6/7, Apple Safari, Bing Bot or Custom. Like Chrome, the user agent string change only affects the current tab and lasts while the Devtools window is open.

Mozilla FireFox

Firefox doesn’t have the ability to switch the user agent string in its Devtools like the other browsers, but it does have another method. Open a tab and press Ctrl+Shift+M to launch “Responsive Design View”. Or go to the menu > Developer > Responsive Design View.

firefox responsive design view

Enter anything into the Custom user agent string box and use the drag bars to expand the page size or select a resolution from the drop down at the top. Responsive Design Mode only affects the current tab. An alternative is a user agent changing extension like User Agent Switcher.

Apply The Hack To The Download From The ISO Page

We are using Google Chrome to apply the hack although the procedure is similar in Firefox, Internet Explorer, Edge and other browsers that have a Developer Tools panel.

1. After you have changed the user agent string in your browser above, visit the Download Windows 10 Disc Image page. If you only see a button to download the Media Creation Tool and not a “select edition” drop down like below, check your user agent string settings.

select windows edition dropdown

2. If you are not using the Developer Tools window to change the user agent string, press F12 to open it now. Go to the Console tab, copy the following Javascript code and paste it into the console, then press Enter:

var _0x5c09=["product-edition","getElementById","innerHTML","<option value='' selected='selected'>Select edition</option><option value='28'>Windows 7 Starter SP1 </option><option value='2'>Windows 7 Home Basic SP1 </option><option value='6'>Windows 7 Home Premium SP1 </option><option value='4'>Windows 7 Professional SP1 </option><option value='8'>Windows 7 Ultimate SP1 </option><option value='52'>Windows 8.1 and Pro (Autumn 2014 update)</option><option value='48'>Windows 8.1 and Pro Single Language (Autumn 2014 update)</option><option value='244'>Windows 10 Home and Pro (Anniversary update) </option><option value='246'>Windows 10 Single Language (Anniversary update) </option>","submit-product-edition","Confirm","log"],_0x1d62=[_0x5c09[0] ,_0x5c09[1] ,_0x5c09[2] ,_0x5c09[3] ,_0x5c09[4] ,_0x5c09[5] ,_0x5c09[6]] ,edititonbox=document[_0x1d62[1]](_0x1d62[0]);edititonbox[_0x1d62[2]]=_0x1d62[3] ,document[_0x1d62[1]](_0x1d62[4])[_0x1d62[2]]=_0x1d62[5] ,console[_0x5c09[6]];

enter javascript into download page

Firefox users: Firefox users who have never pasted a script into the console before will receive a warning message. Type “allow pasting” into the console, delete it when the message disappears and continue to paste the code from the text file.

For future use, you can download the script in a text file so it can be used as and when required.

3. If you click the Select edition drop down on the page it will now be populated with Windows 7, Windows 8.1 and also Windows 10 download options.

select windows version from injected script

4. Simply select the version you want, click Confirm, choose the language, click Confirm again and then download the required 32-bit or 64-bit version.

download windows 7 from tech bench page

The original WZor script is much larger and includes N editions, Korean N and Chinese editions, Education versions and also commercial OEM versions. It is now also outdated as it came from early 2016. We have modified and updated the script to include just the versions most users will want. You can download the full WZor script if you want one of those versions which has been left out.

Download a Windows 7 or 8.1 ISO Without JavaScript

After studying the WZor script we found an easy way to quickly download an ISO without resorting to copying and pasting javascript code. Each Windows version has a unique download ID which is parsed from the drop down when Confirm is clicked. By injecting just the required value into the page you can quickly download the version you want from Microsoft’s servers. Here’s how:

1. Visit the Download Windows 10 Disc Image page and in the Select edition drop down choose “Windows 10”.

2. Right click on the drop down and click Inspect. In Firefox this will be Inspect Element. Internet Explorer 11 and Edge cannot right click on the drop down so you will have to inspect the page first and find the HTML code in step 3 manually.

inspect windows 10 drop down

3. The line “<select id=”product-edition” href=”#product-info-content”>…</select>” will be highlighted in the Developer Tools panel. Click on the arrow to expand the code and you will see the Windows 10 entry current value (this changes as newer Windows 10 versions are added).

current value for windows 10

4. Double click on the number and enter a value for the version of Windows you want from the list below.

value=’28’ Windows 7 Starter SP1
value=’2′ Windows 7 Home Basic SP1
value=’6′ Windows 7 Home Premium SP1
value=’4′ Windows 7 Professional SP1
value=’8′ Windows 7 Ultimate SP1
value=’48’ Windows 8.1 and Pro Single Language (Autumn 2014 update)
value=’52’ Windows 8.1 and Pro (Autumn 2014 update)
value=’244′ Windows 10 Home and Pro (Anniversary update)
value=’246′ Windows 10 Single Language (Anniversary update)

change download value

5. Click Confirm on the page, select the language and download links will appear for the version of Windows that corresponds to the entered value. Don’t worry the drop down still says Windows 10 as it’s just display text. Above we are entering a value of 4 to download Windows 7 Professional.

This method is quick and easy and only requires you to remember a couple of numbers such as 4 and 52 for Windows 7 Pro and Windows 8.1. The Windows 10 values will change over time but the latest versions will be the default options in drop down.

To demonstrate how to download the Windows ISOs using both the Javascript inject and inspect page methods, we’ve made a video to show you how easy the process is.

download windows iso youtube

Enable The Script Automatically On Page Load

If you are someone that needs to download ISOs for Windows quite often, there is a way to have the hacked Javascript injected automatically as soon as you open the Windows 10 Download web page. This is done by using the hack as a Greasemonkey script so the code is automatically injected into the page.

auto inject script

In addition to the Greasemonkey Firefox extension, the script will also work in the Chrome Tampermonkey extension and even the Adguard desktop ad blocker software. The easiest way to add the script is by visiting the Microsoft Unlock Edition page at OpenuserJS and pressing the install button.

Visit the Windows 10 download page above (changing the user agent string if you have to) and the drop down should automatically be populated with all the available Windows and Office ISOs. Note that all versions are available including N, KN, COEM, Enterprise, Education etc. For the standard ISO just select the Windows version without anything after the name. The script was created by Adguard, the same guy as the online third party downloader from page 1.

Visit Microsoft Unlock Edition page at OpenUserJS

86 Comments - Write a Comment

  1. John 4 weeks ago
  2. GUest 3 months ago
    • HAL9000 3 months ago
      • GUest 3 months ago
        • HAL9000 3 months ago
          • gUest 3 months ago
  3. Mudasir 4 months ago
  4. 1norbit 4 months ago
    • 1norbit 4 months ago
    • HAL9000 4 months ago
      • 1norbit 4 months ago
  5. poorandunlucky 5 months ago
    • HAL9000 5 months ago
    • cadburry 5 months ago
      • HAL9000 5 months ago
  6. Omac 6 months ago
    • HAL9000 6 months ago
      • Omac 6 months ago
  7. me 7 months ago
    • EP 5 months ago
  8. niki 7 months ago
  9. Rainman 8 months ago
    • Rainman 8 months ago
  10. Vineet Garg 8 months ago
  11. Hawk 9 months ago
    • HAL9000 9 months ago
      • Hawk 9 months ago
  12. Aron 10 months ago
    • TS 9 months ago
      • HAL9000 9 months ago
  13. Robster 10 months ago
  14. Sharman Vishnu 11 months ago
  15. 59 11 months ago
    • HAL9000 11 months ago
      • 59 11 months ago
        • HAL9000 11 months ago
          • 59 11 months ago
          • HAL9000 11 months ago
  16. Alvaro 12 months ago
  17. fab 12 months ago
  18. Paul 12 months ago
  19. me 1 year ago
  20. HAL9000 1 year ago
  21. P Richard Yarbrough 1 year ago
  22. afrfb09ba 1 year ago
  23. Ash 1 year ago
  24. taanu 1 year ago
  25. Slartibartfarst 1 year ago
  26. Nicolò Ghezzi Galli Tassi 1 year ago
  27. shafira 1 year ago
  28. Austin1 1 year ago
    • HAL9000 1 year ago
  29. Nubiru 1 year ago
  30. Guillaume 1 year ago
  31. Md.Shuvo 1 year ago
  32. EP 2 years ago
  33. EdiusAltaf Khan 2 years ago
  34. Claar Comen 2 years ago
  35. 1hypervisor 2 years ago
  36. Arcend 2 years ago
  37. Jill 2 years ago
    • HAL9000 2 years ago
  38. Bori Zoltán 2 years ago
  39. Florian 2 years ago
  40. David 2 years ago
  41. Pablo 2 years ago
  42. M 2 years ago
  43. maihoangphuc 2 years ago
  44. Salvador Diaz Fau 2 years ago
  45. G.Z. 2 years ago
  46. Marcel 2 years ago
  47. ccc 2 years ago
  48. Reb 2 years ago
  49. Khamelion 2 years ago
  50. Roydest 2 years ago
  51. Steve 2 years ago
    • HAL9000 2 years ago
      • Steve 2 years ago
        • HAL9000 2 years ago
  52. Dhimas 3 years ago
  53. verspax 5 years ago
  54. kerik 5 years ago
  55. Hugo 5 years ago
  56. Ivan kolevski 6 years ago
  57. Kickurass 6 years ago
  58. mmosT 6 years ago

Leave a Reply

Your email address will not be published. Required fields are marked *

Note: Your comment is subject to approval. Read our Terms of Use. If you are seeking additional information on this article, please ask in our forum or contact us directly.