I made a tool i can insert/start windows VPNS, i found vpns are stored in:
AppData\Roaming\Microsoft\Network\Connections\Pbk\phonebook.bak
This tool works great, amazing even. but now i found that it doensn't save the L2TP preshared key in this phonebook.
The key can normally found in adapter settings:
Is there any place in windows where i can find this stored key? and would there be a way to use a command to save/add this key to windows before i make the connection?