I don’t need to use my (Wireguard) VPN connection(s) that often, but everytime I resume my laptop running Workstation 40 it enables one of my VPN connections.
I can’t see any settings for this anywhere, and I don’t understand what’s making it do it.
Are you resuming from suspend or hibernation?
It would seem that the vpn connection may have been active when the last kernel upgrade was performed and that network connection would then be stored in the initramfs image that is used to resume.
I think that using sudo dracut --force when the vpn is not active should solve the issue. man dracut should guide you if you want to build a new image for kernels other than the currently booted kernel.