Clearing all Connection Profiles

Got a problem with Viscosity or need help? Ask here!

tinyrick02

Posts: 1
Joined: Sat Jun 10, 2017 10:50 pm

Post by tinyrick02 » Sat Jun 10, 2017 11:06 pm
Is there any way, either through the bundling process or via applescript/bash to clear all current connections saved in Viscosity? I know the connections are saved in /Library/Application Support/Viscosity/OpenVPN but I thought I read somewhere else that its not recommended to manually edit connections this way because it could leave traces in Viscosity. What about just deleting them?

Also do you know why when I navigate to the exact same path in Automator instead of the MenuItems and OpenVPN folders I see this:

Image

Thanks in advance.

James

User avatar
Posts: 2313
Joined: Thu Sep 04, 2008 9:27 pm

Post by James » Mon Jun 12, 2017 12:55 am
Hi tinyrick02,

If you need to replace existing connections with the same name via bundling it's recommend to use the Connections-Overwrite folder. Connections can also be deleted by users by selecting them all in Viscosity's Preferences window and clicking the "-" button.

Connections can be removed directly from Viscosity's configuration file directory as long as Viscosity isn't running at the time. Based on your screenshot it appears you're looking at the wrong Library directory: macOS has a global Library folder on the system drive, and a Library folder in each user's home folder. Viscosity stores connections in the latter. This Library folder is hidden under macOS. To get to it you'll need to open the "Go" menu in the Finder while holding down the Option key on your keyboard and click the Library item. Your Library folder will open.

Cheers,
James
Web: https://www.sparklabs.com
Support: https://www.sparklabs.com/support
Twitter: https://twitter.com/sparklabs
2 posts Page 1 of 1