Docker Community Forums

Share and learn in the Docker community.

Can't run docker anymore

So i was running docker for windows perfectly fine, and i wanted to install some games and one of those anti-cheats had a problem with Hyper-V and i found online some lines of code to run in powershell to disable it(i tought that since docker uses WSL2 this would be fine, later i learned that wsl2 relies on hyper-v), and now i can’t run docker anymore. I’ve been trying to revert what i but im having no success here.

What i did:
bcdedit /set hypervisorlaunchtype off

reg add “HKLM\SYSTEM\CurrentControlSet\Control\DeviceGuard\Scenarios\HypervisorEnforcedCodeIntegrity” /v “Enabled” /t REG_DWORD /d 0 /f

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

I deleted the reg entry that i did and re-enabled the Hyper-V Hypervisor in windows features but it still does not work. I tried to run bcdedit /set hypervisorlaunchtype on but it gives me this error:
The integer data is not valid as specified.
Run “bcdedit /?” for command line assistance.
The parameter is incorrect.

need some help if possible