> For the complete documentation index, see [llms.txt](https://shine-services.gitbook.io/shine-services/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://shine-services.gitbook.io/shine-services/fixes/openapi.md).

# 7. Hyper-V/TPM

Here's a guide on how to **disable Hyper-V** on Windows. Hyper-V is a virtualization technology built into Windows that allows you to run virtual machines. Disabling it may be necessary if you need to use other virtualization software like VirtualBox or VMware, or if it interferes with other applications.

**Methods to Disable Hyper-V**

### **1. Disable Hyper-V via Command Prompt** <a href="#id-1.-disable-hyper-v-via-command-prompt" id="id-1.-disable-hyper-v-via-command-prompt"></a>

1. Open **Command Prompt** as Administrator:
   * Press `Windows + X` and select **Command Prompt (Admin)** or **Windows PowerShell (Admin)**.
2. Type the following command to disable Hyper-V:

   Copy

   ```
   bcdedit /set hypervisorlaunchtype off
   ```
3. Press **Enter**.
4. Restart your computer to apply the changes.

## **2. Disable Hyper-V via PowerShell** <a href="#id-2.-disable-hyper-v-via-powershell" id="id-2.-disable-hyper-v-via-powershell"></a>

1. Open **PowerShell** as Administrator:
   * Press `Windows + X` and select **Windows PowerShell (Admin)**.
2. Type the following command:

   Copy

   ```
   Disable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V-All
   ```
3. Press **Enter**.
4. When prompted, restart your computer.

## **3. Disable Hyper-V via Windows Features** <a href="#id-3.-disable-hyper-v-via-windows-features" id="id-3.-disable-hyper-v-via-windows-features"></a>

1. Press `Windows + R` to open the **Run** dialog.
2. Type `optionalfeatures` and press **Enter**.
3. In the **Windows Features** window, scroll down and find **Hyper-V**.
4. Uncheck **Hyper-V** and all its sub-features.
5. Click **OK** and restart your computer\
   \ <br>

   **DISABLE TPM/HYPER-V** (TPM 2.0 for win11 users will make their PIN code reset. make sure they have access to their microsoft account first)

   > HYPER-V \[Disabled]

   Open command prompt as admin, and execute the following command: bcdedit /set hypervisorlaunchtype off

   > TPM / fTPM \[Disabled]

   \
   **Open powershell as admin, and execute the following commands:** \
   Get-BitLockerVolume \
   \
   **IF PROTECTION STATUS IS ON:** \
   Disable-BitLocker -MountPoint "C:" \
   \
   **IF OFF, OR YOU DISABLED BITLOCKER, DO:** \
   Disable-TpmAutoProvisioning \
   Clear-Tpm \
   \
   \
   **You can also disable these settings directly in the BIOS/UEFI, but the Windows commands provide a simpler method. For complete certainty, however, you may disable them through the BIOS if you know how to.**
