Enable/Disable Hyper-V 

출처 : http://www.poweronplatforms.com/enable-disable-hyper-v-windows-10-8/

 

Option 1 – To Enable and Disable Hyper-V in Windows Features

1. Open Windows Features.2. Expand the Hyper-V sub-section, and do step 3 or 4 below for what you want to do.

poweron-hyper-v

3. To Enable Hyper-V

A) Ensure that all Hyper-V options are checked as shown above, click/tap on OK, and go to step 5 below.

4. To Disable Hyper-V

A) Uncheck Hyper-V, click/tap on OK, and go to step 5 below.

5.Restart the computer when prompted.

 

 

 

Option 2 – To Enable and Disable Hyper-V in PowerShell

1. Open an elevated PowerShell, and do step 2 or 3 below for what you want to do.

2. To Enable Hyper-V

A) In the elevated PowerShell window, copy and paste the command below, press Enter, and go to step 4 below. Note, If you do not use the -All switch, then you will not install the Hyper-V GUI Management Tools and Hyper-V Module for Windows PowerShell features.

 

Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V –All

3. To Disable Hyper-V

A) In the elevated PowerShell window, copy and paste the command below, press Enter, and go to step 4 below.

 

Disable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V-All

4. Type Y and press Enter when prompted to restart the computer.

To Enable and Disable Hyper-V using DISM Command

1. Open an elevated command prompt.

2. To Enable Hyper-V

A) In the elevated Command Prompt, copy and paste the command below, press Enter, and go to step 4 below.

dism.exe /Online /Enable-Feature:Microsoft-Hyper-V /All

3. To Disable Hyper-V

A) In the elevated Command Prompt, copy and paste the command below, press Enter, and go to step 4 below.

dism.exe /Online /Disable-Feature:Microsoft-Hyper-V-All

4. Type Y and press Enter when prompted to restart the computer.