Error loading Delphi 10.4.2

My version of Delphi 10.4.2 comes up with the error “Socket Error # 10022” Invalid argument…" when starting. I have tried all sorts of things including completely removing 10.4.2 and re-installing it - but the error persists. Has anyone come across this or have any suggested sollutions?

Remove the settings from the registry and try again (export them first)?

Turns out I when I turned off the Wireguard VPN I had activated everything worked.