Windows build 14342: Remove-NetNat : The requested operation is not supported

So I’ve been having issues getting any network connection in Docker. After checking the forums, I headed over to the troubleshooting page that was recommended. Get-NetNat DOES show a ghost DockerNAT adapter, but the output of Remove-NetNat is:

PS C:\WINDOWS\system32> Remove-NetNat

Confirm
Are you sure you want to perform this action?
Performing operation Delete on Target DockerNAT PolicyStore Local
[Y] Yes [A] Yes to All [N] No [L] No to All [S] Suspend [?] Help (default is “Y”): Y
Remove-NetNat : The requested operation is not supported.
At line:1 char:1

  • Remove-NetNat
  •   + CategoryInfo          : InvalidOperation: (MSFT_NetNat (InstanceID = "DockerNAT;0"):root/StandardCimv2/MSFT_NetNat) [Remove-NetNat], CimException
      + FullyQualifiedErrorId : Windows System Error 50,Remove-NetNat
1 Like

I have got the same issue. In my case the laptop was updated from Windows 8 to Windows 10. After that, Docker was installed.

I was able to resolve this issue with the following steps:

  • Exit Docker if its running
  • Open Hyper-V manager > Remove the DockerNAT virtual switch
  • Delete all network adapters which are connected to WM or Hyper-V using Windows Device Manager > Network adapters
  • Disable Hyper-V in Windows services
  • Restart the pc
  • Launch Docker and let it enable Hyper-V again
  • Restart the pc

After this sequence it ran for me

1 Like

Thanks, I had a similar issue and followed these steps and now finally I got Docker Beta running on Windows again.
In particular this step:

This post should be stickied or added to the official troubleshooting.