Windows’ Hotspot doesn’t work after installing .NET 5 desktop runtime

  .net-5, hotspot, windows

I tried to install and uninstall multiple times the .NET 5 desktop runtime, and the result is always the same.

  1. I install .NET 5, I reboot the system, I activate the hotspot and try to connect my smartphone. The smartphone receives an IP correctly, but says "internet is not available".

  2. I uninstall .NET 5, I reboot the system, everything works fine.

I also tried .NET 6 preview release and everything works fine.
Problem is that I nedd .NET 5 anyway for other purposes.

Can you please help me?

Source: Windows Questions