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

93 Comments - Write a Comment

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