OpenVPN client without administrator rights on Win7

6

4

My parents use a Win7 laptop. I have set it so that they are not administrators of the device, only I am. I have installed OpenVPN for them to access the home network resources when they are out. The problem is they cannot start the client without admin privileges, since the route cannot be added to the system without.

I made a workaround by letting the OpenVPN client start from scheduled tasks with a trigger when somebody logs in. That works while they're out, but breaks their network connectivity at home. On top of that, since the client is at that time started as a different user, the UI is not visible.

What would be the best way to provide them with the OpenVPN client, without giving them more privileges?

Tom Ribbens

Posted 2012-11-13T20:24:23.447

Reputation: 372

1+1 for downgrading your parents to regular users :) – powerMicha – 2013-04-03T13:38:17.080

Answers

4

OpenVPN can be run as a service which can either be run automatically at startup or you can give certain users permissions to control the service. Below is a link to an article describing this configuration:

HowTo Run OpenVPN as a non-admin user in Windows

Also see the install notes on running OpenVPN as a service to see some limitations.

heavyd

Posted 2012-11-13T20:24:23.447

Reputation: 54 755

3

I have found there is another way to provide users with the ability to start OpenVPN without granting them full admin privileges. To achieve this you can use mmc with the Local Users and Groups snap-in and add a specific user to the Network Configuration Operators group. This provides the said user with the ability to change the routing table (which is critical to VPN) but does not escalate privileges beyond network configuration (e.g. they cannot install software, modify the registry, etc.). To launch OpenVPN the user has to right-click the OpenVPN icon and select Run as administrator, then they need to provide their password.

Erathiel

Posted 2012-11-13T20:24:23.447

Reputation: 434

0

If you log in as an admin, right click on the OpenVPN shortcut, and select Properties you should be able to go to the Compatibility tab and change the settings for all users (Run As Administrator). I'm not 100% sure if this will work for a limited user, I'll try to test later today.

Jim G.

Posted 2012-11-13T20:24:23.447

Reputation: 2 794

Can't test right now, but I believe that they will be asked for an Adiministrator password at that moment, which is what I want to avoid. – Tom Ribbens – 2012-11-13T20:31:34.047