Forum Discussion
Is it possible to connect to VPN from a Windows client command line without user interaction?
- Sep 25, 2014
Older post, but I've done something similar.. I was able to use the following command on a windows machine to accomplish what I needed:
taskkill /F /IM f5fpclientW.exe
Thanks, dg
I have an issue that's a bit unrelated, but I thought I'd put it in this thread.
On one client, the call of f5fpc.exe loads, flashes a screen, reloads and the password is not brought over from the batch file / cmd line.
--------- Details ---------
I used this thread to build a batch file with taskkill and a 5 second timeout before calling f5fpc.exe. I don't use /q.
I have f5 running for a number of clients with their specific targets embedded in a batch file which runs whenever the VPN is detected as having failed. Every 10 minutes, a quick query of a DB is attempted and if it fails, the scheduled tasks runs the batch file to restart the VPN. Importantly, the clients all have the same target URL and policies at that level, but different sets of credentials that provide different routing.
This has been working fine across all clients except one. In that one, it appears that there is an update happening that flashes a screen and reloads the f5 interface with the password removed. If I move the batch file to another machine, it runs without failure. Identical config.f5c files.
I've compared the f5fpc.exe details to the same in clients where it successfully restarts and they appear the same (7246, 2024, 0129, 2022). The OS is different, but I'm thinking that shouldn't really be the problem. I've emptied f5_TMP and re-run without change.
Does anyone have an idea as to why this one machine reloads without keeping the password?
Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com