We wanted to remove the extensions from my website, in order to make the URLs more user and search engine friendly. We stumbled across tutorials on how to remove the .php extension from a PHP page. What about the .html? I wanted to remove those as well! In this tutorial I’ll show you how to do that easily, by editing the .htaccess file.
You can enable Hyper-V in Windows as an optional feature included by default with the operating system. It lets you create virtual machines to install and run the guest OS on virtual hardware. However, Hyper-V is only available for the Pro, Education, and Enterprise edition of the OS. If you are using the Home edition, you have to rely on a third-party virtual machine manager.
If you don’t want to use a third-party virtual machine manager, here is how to install Hyper-V on Windows 10 / 11 Home using a batch script hack.
How to Enable Hardware Virtualization in Windows 10/11
Hyper-V is a bare-metal hypervisor and requires Hardware Virtualization enabled in BIOS to work. Most modern systems support Hardware Virtualization, and you can enable it in BIOS.
The below steps are for an HP laptop. Refer to the user manual or Knowledge Base resources on the computer manufacturer's website for other systems.
To enable Hardware Virtualization in BIOS:
Shut down your PC if it is powered on.
Press the Power button to turn on the computer and then start pressing the F10 key to enter BIOS. The BIOS setup key varies depending on the manufacturer. So, use F10, F2, F12, F1, or DEL and see which one works for you.
Once in the BIOS Setup utility, open the Configuration tab.
Use the down arrow key and highlight Virtualization Technology.
Hit Enter and then select Enabled. Press Enter again to make the selection.
Next, press F10 to save the changes and exit BIOS.
Your PC will restart with the Hardware Virtualization enabled. Now you can continue to install Hyper-V on your system.
How to Install Hyper-V on Windows 11 Home
The next step is to create and run a batch script to install the required files to enable Hyper-V in Windows 11 Home.
Before you proceed with the next set of steps, create a restore point. This will help you restore your computer to its current state if something goes wrong during the process.
To enable Hyper-V in Windows 11 Home:
1. Open a new Notepad file. To do this, press Win + R, type notepad, and click OK.
2. In the Notepad file, copy and paste the following script / or download the pre coded file from below:
dir /b %SystemRoot%\servicing\Packages\*Hyper-V*.mum >hyper-v.txt
for /f %%i in ('findstr /i . hyper-v.txt 2^>nul') do dism /online /norestart /add-package:"%SystemRoot%\servicing\Packages\%%i"
Dism /online /enable-feature /featurename:Microsoft-Hyper-V -All /LimitAccess /ALL
3. Press Ctrl + S to open the save dialog.
4. In the file name field, type hyperv.bat. The .bat extension at the end of the file name is important to execute the script.
5. Next, click the drop-down for Save as type and select All Files.
6. Click the Save button to save the file.
7. Next, right-click on the hyperv.bat file and select Run as administrator. Click Yes if prompted by User Account Control.
8. The scrip will start executing in the Command Prompt to install Hyper-V. It may take a while, so wait till the process is complete.
9.Once completed, you will see the Operation completed successfully message.
10. Type Y to confirm and restart your PC. If not, enter N to exit the Command Prompt.
Note that you will need to restart your PC to apply the changes. After the restart, you should have Hyper-V installed in Windows 10/11 Home. Type Hyper-V in Windows search and click on Hyper-V Manager to create new a virtual machine.
You can disable Hyper-V in Windows 11 Home using the Windows Features dialog.
To disable Hyper-V:
- Press Win + R to open the Run dialog box.
- Type optionalfeatures.exe and click OK.
- In the Windows Features dialog, locate the Hyper-V option.
- Uncheck the Hyper-V option and click OK. Wait for the uninstallation process to complete.
- Next, click on Restart Now to restart your PC and apply the changes.
Run Hyper-V on Windows 11 Home
Microsoft has officially restricted the use of Hyper-V to the Pro, Education, and Enterprise edition of the OS. However, a little tweak in the BIOS and a handy batch script can help you install Hyper-V on Windows 11 Home.
Once you have Hyper-V up and running, you can install Windows, Ubuntu, and other supported operating systems in a virtual machine.