# 7. Hyper V/TPM

**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

   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

   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

   **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.**
