Opened 7 years ago

Last modified 7 years ago

#901 new Bug / Defect

Windows 10 starts a NON-admin cmd when using "Explorer > Start OpenVPN on this config file .."

Reported by: tct Owned by:
Priority: minor Milestone:
Component: Generic / unclassified Version:
Severity: Not set (select this one, unless your'e a OpenVPN developer) Keywords:
Cc:

Description

Windows 10 starts a NON-admin cmd window when using "Explorer > Start OpenVPN on this config file .." and the tunnel fails. (Setup with my default-client.ovpn which successfully connects otherwise)

Tested on W10 with Openvpn v242 (will check other windows and openvpn versions in due course)

Change History (1)

comment:1 Changed 7 years ago by tct

As a work around I found this:
https://stackoverflow.com/questions/19098101/how-to-open-an-elevated-cmd-using-command-line-for-windows

Recommends this:
1) powershell -Command "Start-Process cmd -Verb RunAs"

If logged in as a computer administrator that works as it stands.

However, if logged in as a standard windows user this is required:
2) powershell -Command "Start-Process cmd -Verb RunAs administrator"

This opens UAC and asks for local Administrator Password and runs an elevated privileges cmd prompt (although, it is not without it's own particular brand of Windows eccentricity, try it yourself for example).

Integrating option 2. above appears to be a viable solution.
(I have not tried to make the registry changes as yet)

Version 1, edited 7 years ago by tct (previous) (next) (diff)
Note: See TracTickets for help on using tickets.