LightBlog

lundi 5 juillet 2021

How to install Windows 11 on almost any unsupported PC

Windows 11 is Microsoft’s brand-new operating system. Leaked on June 15th and officially announced on June 24th, the first Windows 11 preview build became available to users on June 28th. Besides having a new look and feel, it also comes with some (very) recent minimum hardware requirements to run.

Microsoft is allowing some unsupported computers to install and run the developer previews, but those computers had to be enrolled in the Dev Channel ring of the Windows Insider Program before the end of June 24th to qualify. If you didn’t manage to enroll before then and your computer is unsupported, you won’t be able to (officially) receive the previews of Windows 11.

Luckily, there are plenty of unofficial ways to update your unsupported computer to Windows 11.

Note: These methods can’t bypass every requirement, and your unofficial Windows 11 install may not work properly.

  • There is no 32-bit build of Windows 11 available, so only computers with 64-bit processors will be able to run Windows 11.
  • The first two methods will still perform basic requirements checking on your device. If you don’t have enough RAM, or your computer doesn’t support Secure Boot, you may not be able to use them.
  • While I have personally tested the third method on a computer with a Legacy boot system (i.e., no Secure Boot), some computers may simply not be able to run Windows 11.
  • On some systems, Windows 11 may be unable to enter sleep mode, or have other driver-related issues.

Navigate this tutorial:

  1. Method 1: Upgrade to Windows 11 by manually enrolling in the Dev Channel
  2. Method 2: Upgrade to Windows 11 by enrolling in the Dev Channel using a script
  3. Method 3: Upgrade or Clean Install Windows 11 by creating a hybrid ISO

Method 1: Upgrade to Windows 11 by manually enrolling in the Dev Channel

If you missed the June 24th cut-off date for enrolling in the Dev Channel, you’re not out of luck just yet. Unsupported computers only show the option to enroll in the Release Preview Channel, but it’s still possible to change that to get Windows 11. Here’s how.

Heads up: you’ll need to be logged into Windows with a Microsoft account for this method to work. You’ll also need access to an account with administrator privileges.

Before you start, be warned this method isn’t the most reliable. Windows may set your Insider channel back to Release Preview. You also won’t be able to use this method if your computer doesn’t support Secure Boot.

Make sure you’re enrolled in the Release Preview Channel

  1. Open the Settings app.
  2. Navigate to Update & security and select Windows Insider Program in the sidebar.
    Windows 10 Settings screen with Updates & security highlighted Windows 10 Updates & security page with Windows Insider Program highlighted
  3. Let the page load, and then click the Get started button.
    Windows 10 Insider page with Get started highlighted
  4. If prompted, link your Microsoft account.
  5. On the Pick your Insider settings page, select Release Preview Channel and click Confirm.
    Windows Insider Program channel select showing only Release Preview
  6. Confirm that you do actually want to be in the Insider Program and reboot when prompted.
  7. Let your computer restart and then log back in.

Enroll in the Dev Channel

  1. Open the Start Menu and type regedit.
  2. The first result should be Registry Editor. Click on that to open it. Confirm any permission prompts.
    Registry Editor shown as a result for regedit in the Start Menu
  3. Once Registry Editor is open, you’ll see a bunch of stuff in the sidebar. Use that to navigate to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsSelfHost\Applicability. You’ll see a few things show up on the right.
    Registry Editor navigated to WIP Applicability key
  4. Now you’ll need to create or change a few values, depending on what’s already there.
  5. If you see BranchName, double-click it and enter Dev in the value field.
  6. If you see ContentType, double-click it and enter Mainline in the value field.
  7. If you see Ring, double-click it and enter External.Registry Editor showing needed values for Dev Insider ring
  8. If any of the above values don’t exist, make sure you’re properly enrolled in the Insider Program and try again.
  9. Reboot your computer.
  10. Go to Settings >> Update & security >> Windows Insider Program and you should now be in the Dev Preview ring.

If everything went well, you should now be able to check for updates and install the latest Windows 11 preview.


Method 2: Upgrade to Windows 11 by enrolling in the Dev Channel using a script

If the previous method didn’t work for you, either because you don’t have a Microsoft account signed in, or because Windows reverted to the Release Preview channel, try this method.

Heads up: while this method doesn’t require a Microsoft account, you still need a computer that supports Secure Boot.

Download the script

  1. Go to the GitHub page where the OfflineInsiderEnroll script is hosted.
  2. Right-click the Raw button and choose Save link as….
  3. Select a location for it to download (e.g., Downloads).
  4. Click Save and let it download.

Run the script

  1. Open the File Explorer and navigate to where you downloaded the script.
  2. Right click it and choose Run as administrator. Confirm any permission prompts.
    An image showing how to run a batch script as an administrator
  3. A Command Prompt window should come up with some options.
    A screenshot showing the options for the OfficeInsiderEnroll script
  4. Choose option 1: Enroll to Dev Channel. (Type in “1” and hit Enter.)
  5. The script will let you know when it’s done. Press any key and the Command Prompt will close.
  6. Go to Settings >> Update & security >> Windows Insider Program and you should see something similar to the following.
    A screenshot showing the result of using the OfficeInsiderEnroll script to enroll in the Dev channel
  7. Check for updates and you should see the option to upgrade to Windows 11.
    Windows Update page downloading Windows 11 22000.51

Method 3: Upgrade or Clean Install Windows 11 by creating a hybrid ISO

If the previous methods didn’t work for you (or you need to perform a clean install), use this method.

The requirements verification for Windows 11 is currently only built into the initial setup and a post-install program known as the Out of Box Experience (OOBE for short). The OOBE usually only runs on clean installs, so if you’re upgrading, you only need to worry about bypassing the initial verification.

And that initial bypass is actually pretty simple: use the Windows 10 installer to install the Windows 11 files. How? By creating a hybrid ISO. Here’s how to do that.

Check your boot mode

  1. Open the Start Menu and type msinfo. The first result should be System Information. Open that.
  2. Once System Information opens, make sure System Summary is selected in the sidebar.
  3. In the right pane, look for the BIOS Mode item. Write down what it says.
    An image showing the BIOS Mode in System Information in Windows 10/11.

Create a hybrid installer

Note: XDA will not be sharing premade ISOs directly. Microsoft has been a little trigger-happy with DMCA takedowns when it comes to Windows 11. This guide assumes you’re using a USB drive to install Windows. If you plan on using a CD or DVD, you’ll need to directly modify an ISO.

  1. Download the latest Windows 10 Insider ISO available. You can get build 21354 directly from Microsoft with an Insider account, or you can use UUP Dump to create your own build 21390 ISO for your architecture.
  2. Download the latest Windows 11 Insider ISO available. Microsoft doesn’t currently have one available, but UUP Dump can create one for you. If UUP Dump isn’t working properly, there are plenty of premade ISOs available on sites like Reddit.
  3. Use a program like Rufus to burn the Windows 10 ISO to a USB drive. If your boot mode is Legacy, use an MBR partition scheme. If your boot mode is UEFI, use GPT.
    An image showing the MBR partition scheme selected in Rufus An image showing the GPT partition scheme selected in Rufus
  4. Once the Windows 10 ISO is burned, open the USB drive in the File Explorer. Navigate to the sources folder inside.
  5. Scroll down until you see either install.wim or install.esd. Note down the extension (wim or esd).
    An image showing the install WIM file in the sources folder of a Windows installer image
  6. Rename the file to something like install1.wim or install1.esd.
  7. Navigate to the Windows 11 ISO. Right click it, and choose Mount.
  8. After a few seconds, you’ll see a “DVD Drive” pop up in the File Explorer. Open that “drive” and navigate to the sources folder.
  9. Scroll down until you find either install.wim or install.esd. If the extension here matches what you noted before, you’re good to go. There’s a chance that your Windows 11 ISO will have an install.wim while your Windows 10 ISO will be using install.esd. Follow the section below if so.
  10. Copy the install file from the Windows 11 “DVD Drive” sources folder to the Windows 10 USB drive sources folder. Again, only do this step if you have matching extensions. Otherwise, you’ll need to convert the Windows 11 install file to the correct type first.

Now you should have an installer that thinks it’s for Windows 10, but will actually install Windows 11.

Converting WIM to ESD

  1. Copy the Windows 11 install.wim file to somewhere safe, like the desktop.
  2. Open a Command Prompt as an administrator. (Search for “CMD” in the Start Menu, right click “Command Prompt” and choose “Run as administrator”.)
  3. In the Command Prompt window, enter dism /Get-WimInfo /WimFile:C:\Path\To\install.wim. Change the path to where the WIM actually is. For example E:\Downloads\OSes\install.wim. If your path has spaces, enclose the entire path in double quotes.
  4. This will give you a list of editions contained in the WIM, each with its own index. Choose the edition you want and remember its index.
    An image showing the edition information inside an install WIM file
  5. Next, run dism /Export-Image /SourceImageFile:E:\Downloads\OSes\install.wim /SourceIndex:INDEX /DestinationImageFile:E:\Downloads\OSes\install.esd /Compress:recovery /CheckIntegrity. Remember to replace the SourceImageFile path with the actual path to your install.wim. Do the same for the DestinationImageFile path. Finally, replace INDEX with the index you chose above.
    An image showing an example command for exporting an image in a WIM to an ESD
  6. That command will take a while (and use a lot of CPU), but eventually you’ll have an ESD that you can copy to your USB drive.
    An image showing the exported install ESD file

Option 1: Use the installer to upgrade to Windows 11

  1. Open the USB Drive in the File Explorer.
  2. Double-click the setup.exe file (there may not be a .exe extension shown depending on your settings).
  3. Windows will guide you through upgrading.
  4. Once the upgrade process is complete (it will take a while), you’ll have Windows 11 running.

Option 2: Use the installer to clean install Windows 11

  1. Boot from the USB drive.
  2. Go through the setup like you normally would.
  3. When the setup prompts you to reboot, let it.
  4. Windows will now boot into the initial post-install setup. It’s going to attempt to set up your computer, and may reboot a few times.

If the setup succeeds, you should now see the initial setup guide screen, and you’re good to go.

An image showing the initial page of Windows 11's post-install setup
If the setup fails, you’ll need to do some extra steps.

  1. Reboot back to the USB drive setup.
  2. Once the Windows setup reaches the initial screen, press the Shift and F10 keys at the same time. This should open a Command Prompt window.
    An image showing the Command Prompt open over the initial Windows setup screen
  3. Inside the Command Prompt, type in regedit and hit Enter. The Registry Editor should now open.
  4. Select HKEY_LOCAL_MACHINE in the sidebar.
  5. Go to the File menu and select Load Hive….
  6. In the file picker window that opens, navigate to This PC and find your operating system drive. Note: it might not be the C: drive! Check the size and contents to make sure you have the right one. For this tutorial, the operating system drive will be the C: drive, so make sure you replace mentions of that if needed.
  7. Navigate to C:\Windows\System32\config.
  8. Double-click SYSTEM. When asked for a “Key Name” enter SYSTEM1 and press OK.
    An image showing the import naming dialog for a registry hive, with SYSTEM1 as the name
  9. Do the same process again, but this time load SOFTWARE and name it SOFTWARE1.
  10. Back in Registry Editor, navigate to HKEY_LOCAL_MACHINE\SYSTEM1\Setup.
  11. Make sure the Data for CmdLine is blank (double-click, remove all text, hit OK).
  12. Make sure OOBEInProgress is set to 0.
  13. Make sure RestartSetup is set to 0.
  14. Make sure SetupPhase is set to 0.
  15. Make sure SetupType is set to 0.
  16. Make sure SystemSetupInProgress is set to 0.
  17. The end result should look similar to the following.
    The Setup key in the registry showing the values needed to bypass OOBE
  18. Now navigate to HKEY_LOCAL_MACHINE\SOFTWARE1\Microsoft\Windows\CurrentVersion\OOBE.
  19. Right-click in the right pane and choose New > DWORD. Name it SkipMachineOOBE and set the data to 1.
  20. Right-click in the right pane and choose New > DWORD. Name it SkipUserOOBE and set the data to 1.
    An image showing the values needed in the OOBE key to bypass OOBE
  21. Close Registry Editor.

Create a user account

Since these steps disabled the initial post-install setup for Windows, you’ll need to create an initial user account manually. Here’s how to do that.

  1. In the Command Prompt window, enter copy C:\Windows\System32\Utilman.exe C:\, where C: is your operating system drive.
  2. Next, enter copy /y C:\Windows\System32\cmd.exe C:\Windows\System32\Utilman.exe. This will replace the Utilman program with the Command Prompt.
  3. Reboot back into Windows. Enter wpeutil reboot in the Command Prompt window and let Windows boot up normally.
  4. On the login screen, your only option should be “Other User”.
  5. In the bottom right, click the Accessibility icon. A Command Prompt window should open.
  6. In the Command Prompt, enter net user /add USERNAME PASSWORD. Replace USERNAME and PASSWORD with your desired username and password.
  7. Next, enter net localgroup administrators USERNAME /add, where USERNAME is the username you chose in the step before.
  8. The user account won’t show up before you reboot.
  9. Reboot your computer and boot from the USB drive again.
  10. Press Shift and F10 again to open the command prompt again.
  11. Enter copy /y C:\Utilman.exe C:\Windows\System32\Utilman.exe to restore the original program.
  12. Reboot into Windows and you should now be able to log in and set things up. You can safely delete the Utilman.exe file from C:\ now.

Conclusion

And that’s how you can install Windows 11 on unsupported hardware. These three methods aren’t all of the possible ways to get Windows 11 installed, but they’re probably the easiest (even the third one). Of course, there’s no guarantee that this tutorial will continue to apply to Windows 11 as new previews and the final version are released.

For now, though, I can personally say that at least the third method works perfectly when performing a clean install.

Even with this workaround, if you’re able to, consider buying a new computer that’s officially supported by Windows 11. While Windows 10 will continue to be supported for another 4 years or so, eventually you’re going to need Windows 11 for new features and better security.

The post How to install Windows 11 on almost any unsupported PC appeared first on xda-developers.



from xda-developers https://ift.tt/3hFUBfc
via IFTTT

Aucun commentaire:

Enregistrer un commentaire