VPN as system user

Joe Jankowiak 1 Reputation point
2022-11-07T20:21:09.413+00:00

Sorry for the duplicate post - I can't login to my other account and I cant find my thread via the search.

I want to have Veeam Backup automatically connect to my VPN before starting a backup. I setup my VPN connection through windows Control panel and set its authentication to All users. This connects fine manually.

258012-image.png

I then created a batch script using rasdial to connect to the VPN:

rasdial Limerock /phonebook:C:\ProgramData\Microsoft\Network\Connections\Pbk\rasphone.pbk  

This works fine when ran as any logged in user.

Issue is Veeam runs as the SYSTEM user and for some reason it does not use the saved credentials. I get error 691 from rasdial saying invalid credentials.

Is there a way to get the SYSTEM user to be able to use the saved credentials, or a way to enter credentials in for the SYSTEM user?

Veeam does allow changing the user but in the setup it says it recommends using the SYSTEM user so I left it as that.

Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
12,464 questions
Windows 10 Network
Windows 10 Network
Windows 10: A Microsoft operating system that runs on personal computers and tablets.Network: A group of devices that communicate either wirelessly or via a physical connection.
2,295 questions
0 comments No comments
{count} votes