Hey Peter, I had a strange idea for how to fix this without requiring recompilation or removal of that code.
1) Enable DangerousScriptExecution: https://git.zx2c4.com/wireguard-windows/about/docs/adminregistry.md#hklmsoftwarewireguarddangerousscriptexecution 2) Add a PostUp line to your [Interface] section: PostUp = wg set %WIREGUARD_TUNNEL_NAME% listen-port 0 3) Try it and tell me if it works? Regards, Jason