0

Summary

I am trying to setup docker to setup docker I need to enable hyper-v. I tried to enable hyper v but during the reboot, windows say's "we couldn't complete the features undoing changes"

What I've tried

dism /online /cleanup-image /startcomponentcleanup
dism /online /cleanup-image /restorehealth
disable firewall
sc config trustedinstaller start=auto
sfc /scannow

Logs

8
  • Check your BIOS Setup to ensure Hardware Virtualization and VT-x have been enabled. Enable these, restart and test Hyper-V again.
    – anon
    Commented Jul 18, 2020 at 15:38
  • It is enabled i have successfully installed hyper v before. Commented Jul 18, 2020 at 17:22
  • That is strange. Try the two basic Windows 10 repairs. Open cmd.exe with Run as Administrator. Run first: dism.exe /online /cleanup-image /restorehealth . Then run SFC /SCANNOW . Allow both to complete, restart and test.
    – anon
    Commented Jul 18, 2020 at 17:26
  • Tried that it didn't work. Commented Jul 18, 2020 at 18:12
  • Then you now need to try a Windows 10 Repair Install from the Microsoft Media Creation Link. Use the second link , work through it and start with Keep Everything. See if Hyper-V works after. First make sure Virtual Box and VMware Workstation are not installed.
    – anon
    Commented Jul 18, 2020 at 18:19

1 Answer 1

0

Summary: I am trying to setup docker to setup docker I need to enable hyper-v. DISM and SFC did not work.

First make sure Virtual Box and VMware Workstation are not installed.

Assuming not, do a Windows 10 Repair Install from the Microsoft Media Creation Link. Use the second link , work through it and start with Keep Everything. See if Hyper-V works after that.

Repair Install link (Microsoft Media Creation Link):

https://www.microsoft.com/en-us/software-download/windows10

Windows 10 is running, so click on the Download button (not Upgrade Button, select Run. This will launch the Repair and proceed normally.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .