Visual studio code recently disabled access to unc (windows network drive) paths by default, unless they are on an allow-list. I suspect there's a bug where if your windows user profile is mounted on a unc path, this can prevent vscode from starting up