Quantcast
Channel: Network Infrastructure Servers forum
Viewing all articles
Browse latest Browse all 5877

Always on VPN Profile Issues

$
0
0

Hi; spent a good 4 or 5 hours on this one today and feel like if I keep going the same way, I'll have ground my teeth away completely by the end of the week - hoping I'm missing something really obvious.

I've followed documentation to set up an always on VPN, specifically for device tunnels.

I've created an XML and setup script (using Microsoft documentation); when I run this inside an administrative powershell it executes perfectly; the VPN is fully functional accross multiple users and everything seems to work perfectly. "get-vpnconnection" shows the connection profile (interestingly, "get-vpnconnection -alluserconnection" does not show anything... should it?)

I'm hitting a brick wall when I try to deploy the script via SCCM or even via group policy startup script.

The package runs, SCCM client logs indicate that it ran successfully; Windows log events for Powershell show the code blocks being handled by the SYSTEM account - yet when I run "get-vpnconnection" or "get-vpnconnection -alluserconnection", there is nothing! Startup script behave the same.

I'm using the same XML and powershell scripts as I did when I manually executed the script on the machine so I can't see a reason for it failing.

For the purposes of elimination and testing I have set script execution to unrestricted.

Client is running Win 10 1803.

Any suggestions are really appreciated,

Thanks!


Viewing all articles
Browse latest Browse all 5877

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>