Comments (3)
@RoxKilly : "Run as admin" is not required. That said, I have no clue why "Run this program as an administrator" is grayed out for you. If you're an admin, you should be able to reset the flag.
Very recently we had a discussion regarding the "Run as admin" flag for OpenVPN GUI. The thing is that one can set the flag from two places:
- The shortcut
- "Run as admin" flag stored in the shortcut file itself
- The executable
- "Run as admin" flag stored in the registry
The shortcut flag probably gets erased when OpenVPN is upgraded, but the executable flag does not. I could not find the original discussion - @selvanair : any idea where it is?
from openvpn-gui.
@RoxKilly: To add to what mattock wrote, the installer does not set the run as admin flag on the executable or shortcut. However, if you had a previous installation where you had set the executable to run as admin, it could survive after a new install. For a discussion of this issue see https://community.openvpn.net/openvpn/ticket/811
To remove the flag you have two options:
(i) As administrator, right click on the executable, got to properties and click the button "change settings for all users" as seen on the screenshot you posted. Then you will get a dialog where you can remove the run-as-admin flag.
(ii) Uninstall and reinstall openvpn
Going forward do not set either the shortcut or exec to run as admin.
EDIT: Option (ii) may not work, I had forgotten the details.
from openvpn-gui.
@selvanair @mattock thanks for your help. It is useful to know that the flag was not set by OpenVPN. The admin flag was set on the exe, not the shortcut. Perhaps I had set it when I first started using OpenVPN a couple of years back I don't remember.
Using "Change settings for all users" to uncheck "run as admin" made no difference. The program still prompted for admin priviledges, and in exe properties >> compatibility, the "Run as admin" checkbox was still checked and greyed out (so cannot be unchecked).
To get things to work, I needed to:
- change my user account from standard user to admin user
- restart the PC (this is the step I had missed)
- Now the checkbox is no longer greyed out, so I could uncheck it.
Remember to change the user account back to standard user.
Feel free to close the issue.
from openvpn-gui.
Related Issues (20)
- Could not parse --management option HOT 12
- OpenVPN Pre-Logon Access Provider HOT 8
- Textbox for 2fa security code HOT 26
- Tray icon context menu triggers filesystem walk
- Can't see ip address in tray tooltip HOT 8
- Service> OpenThreadToken Access Denied HOT 1
- Tray icon and text not updated in some cases
- Copyright timestamp needs updating to 2024 HOT 1
- PLAP Auto Connection HOT 4
- > Greate Fie for stdout 系统找不到指定的文件 HOT 2
- Add setting to reestablish last VPN connection on application start HOT 1
- Minor Windows GUI flaw: white strip on 125% dpi HOT 2
- OpenVPN GUI (SBL/PLAP) setting doesn't work with Dynamic Challenge HOT 6
- Reintroduce the private key password change feature HOT 2
- Does SAML work with using SBL/PLAP with OpenVPN GUI? HOT 7
- OpenVPN DCO connect error with TCP port on Windows client HOT 8
- i have a I have a problem verifying the certificate
- Move application data to %APPDATA% HOT 1
- [BUG] OpenVPN 2.6.9+ can't be installed/updated on Windows 11 HOT 3
- Blurry eye icons when UI scaling is set HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from openvpn-gui.