We have several cases where we need to deploy a VPN-client that uses the TAP-Windows Adapter V9. For some reason the installer of the VPN-client is silent (in this case Watchguard) right until the point where the installer tries to install the TAP-adapter, then we get an error that it was unable to deploy.
I’ve never managed to do this, everything is silent bar the Tap driver, I looked into installing the Openvpn drivers as that’s all watchguard client is under the hood. I gave up and used PS app deployment toolkit to tell users to press install. I’d look into install tap drivers before installing the client silently and see if that works?
I can only speak for Watchguard SSLVPN which I deploy silently with zero interaction.
When you normally install the VPN it installs two certificates in your trusted publishers certificate store, one from Watchguard and one from OpenVPN, after installing these certificates the silent installer works great.
I am about to adapt this for use with Intune, but here is how it looks in batch which i use for my current RMM:
taskkill /IM “wgsslvpnc.exe” /F
“C:\Program Files (x86)\WatchGuard\WatchGuard Mobile VPN with SSL\unins000.exe” /VERYSILENT /NORESTART
The first two lines make it so i can deploy an update to the client in case it is running, etc.
EDIT: Deployed successfully through Intune, threw the 2 certificates, installer and a batch script with the above in it in a Intunewin-package, set the batch as the install command and away we go.
Thanks for this u/Zodiam! Worked perfectly for a new install. Any idea how to update an already installed version? The detection method is picking up the already installed version and then wont install over the top.
So this worked perfectly through Intune. Is there a way in the bat file to include the remote server name for the install? So basically When I do the install, I want to include the Server name that will be used to log in to.
I dont think the WG client has that option for the installer (have not double checked)
I know it saves the IP and username somewhere after your first connection probably in Appdata or the registry, maybe you could find that and add on a line to copy that to the client PCs?
Ah yeah I’m familiar with it and have used it on stand alone files before but wasn’t sure how you were able to get all of those into one. I’ve tried using a program to bundle the files as an .exe and then use that tool to convert them but haven’t tested it yet.
Nah, just throw the files i mentioned above into a folder along with the batch file with the install commands as below, then when the tool tasks you point that folder out as the content folder and the “install.bat” or whatever you name it as the installer.