Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > alt.comp.os.windows-10 > #148352
| From | Scott Lurndal <scott@slp53.sl.home> |
|---|---|
| Newsgroups | alt.comp.os.windows-10, alt.comp.microsoft.windows, alt.msdos.batch |
| Subject | Re: Why Windows 10 batch admin isn't the same as its GUI admin? |
| Date | 2021-09-11 12:18 +0300 |
| Organization | UsenetServer - www.usenetserver.com |
| Message-ID | <shhs99$ogs$1@gioia.aioe.org> (permalink) |
| References | <she5mh$17nl$1@gioia.aioe.org> <a9vljg9tspkefitk4ao7qr076t60ron1r1@4ax.com> <shf5vl$f1m$1@dont-email.me> |
Cross-posted to 3 groups.
Partial success!
I figured out WHERE the problem lies (but not WHAT the problem is).
A. For whatever reason, this configuration file won't "run as admin"
https://www.freeopenvpn.org/ovpn/USA_freeopenvpn_udp.ovpn
B. But, for whatever reason, this configuration file does "run as admin"
https://vanwa.tech/download-free-openvpn-config
That means there's likely nothing wrong with Windows after all.
The problem is (somewhere) inside the VPN configuration file.
But where?
I ran a test changing _only_ the VPN service configuration file.
That test worked in both cases (which means it's the config file!).
A. When I run the one-line batch command in an admin window, it works.
B. When I rightclick run as admin in a file explorer window, it works.
Here is how I successfully ran that test just moments ago.
1. I went to VanWa to pick up a different free openvpn config file
https://vanwa.tech/free-openvpn-service
2. I downloaded that free VPN config as "VanwaTech-Free-OpenVPN.ovpn"
https://vanwa.tech/download-free-openvpn-config
3. I created a vanwa.bat file containing the one line
C:\path-to\openvpn\bin\openvpn.exe VanwaTech-Free-OpenVPN.ovpn
This bat file connected to VPN using every method but one (which is ok).
a. It connected to VPN when I ran the bat file in an admin window
b. It connected to VPN when I pasted the command into an admin window
c. It connected to VPN when I rightclicked the bat file & "run as admin"
d. It failed to connect to VPN when I ran the bat command in a user window
That last failure is to be expected since the route commands require admin.
When I tested the results, the curl worked for all but (d) above.
C:\> curl icanhazip.com
(This outputs the VPN server connection IP address.)
This success with a different config file indicates Windows 10 is fine.
The problem is seemingly in how the VPN configuration files are configured.
A. For whatever reason, a one-line batch file containing the config file
https://www.freeopenvpn.org/ovpn/USA_freeopenvpn_udp.ovpn
In this simple one-line command in that batch file
C:\path-to\openvpn\bin\openvpn.exe USA_freeopenvpn_udp.ovpn
won't work in the File Explorer when I rightclick "Run as Administrator"
B. But for whatever reason, a one-line batch file containing the config file
https://vanwa.tech/download-free-openvpn-config
In this simple one-line command in that batch file
C:\path-to\openvpn\bin\openvpn.exe VanwaTech-Free-OpenVPN.ovpn
does work in the File Explorer when I rightclick "Run as Administrator"
This indicates the problem isn't Windows 10 after all.
This indicates the problem is (somehow) in how a VPN config file is written.
Does anyone here know VPN well enough to tell us why that's the case?
Back to alt.comp.os.windows-10 | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Why Windows 10 batch admin isn't the same as its GUI admin? Scott Lurndal <scott@slp53.sl.home> - 2021-09-10 02:34 +0300
Re: Why Windows 10 batch admin isn't the same as its GUI admin? Ralph Fox <-rf-nz-@-.invalid> - 2021-09-10 19:08 +1200
Re: Why Windows 10 batch admin isn't the same as its GUI admin? Paul <nospam@needed.invalid> - 2021-09-10 04:45 -0400
Re: Why Windows 10 batch admin isn't the same as its GUI admin? Scott Lurndal <scott@slp53.sl.home> - 2021-09-11 12:18 +0300
Re: Why Windows 10 batch admin isn't the same as its GUI admin? Andy Burns <usenet@andyburns.uk> - 2021-09-11 10:26 +0100
Re: Why Windows 10 batch admin isn't the same as its GUI admin? Scott Lurndal <scott@slp53.sl.home> - 2021-09-11 22:08 +0300
Re: Why Windows 10 batch admin isn't the same as its GUI admin? Andy Burns <usenet@andyburns.uk> - 2021-09-11 20:15 +0100
Re: Why Windows 10 batch admin isn't the same as its GUI admin? Scott Lurndal <scott@slp53.sl.home> - 2021-09-12 13:25 +0300
Re: Why Windows 10 batch admin isn't the same as its GUI admin? Ralph Fox <-rf-nz-@-.invalid> - 2021-09-12 06:58 +1200
Re: Why Windows 10 batch admin isn't the same as its GUI admin? Scott Lurndal <scott@slp53.sl.home> - 2021-09-11 22:59 +0300
Re: Why Windows 10 batch admin isn't the same as its GUI admin? Scott Lurndal <scott@slp53.sl.home> - 2021-09-11 00:40 +0300
Re: Why Windows 10 batch admin isn't the same as its GUI admin? Andy Burns <usenet@andyburns.uk> - 2021-09-11 08:57 +0100
Re: Why Windows 10 batch admin isn't the same as its GUI admin? Scott Lurndal <scott@slp53.sl.home> - 2021-09-11 11:26 +0300
Re: Why Windows 10 batch admin isn't the same as its GUI admin? Scott Lurndal <scott@slp53.sl.home> - 2021-09-11 11:33 +0300
Re: Why Windows 10 batch admin isn't the same as its GUI admin? Andy Burns <usenet@andyburns.uk> - 2021-09-11 09:44 +0100
Re: Why Windows 10 batch admin isn't the same as its GUI admin? Herbert Kleebauer <klee@unibwm.de> - 2021-09-11 11:03 +0200
Re: Why Windows 10 batch admin isn't the same as its GUI admin? Andy Burns <usenet@andyburns.uk> - 2021-09-11 10:05 +0100
Re: Why Windows 10 batch admin isn't the same as its GUI admin? Ralph Fox <-rf-nz-@-.invalid> - 2021-09-12 07:15 +1200
Re: Why Windows 10 batch admin isn't the same as its GUI admin? Scott Lurndal <scott@slp53.sl.home> - 2021-09-11 13:00 +0300
Re: Why Windows 10 batch admin isn't the same as its GUI admin? Zaidy036 <Zaidy036@air.isp.spam> - 2021-09-11 17:29 -0400
Re: Why Windows 10 batch admin isn't the same as its GUI admin? Ralph Fox <-rf-nz-@-.invalid> - 2021-09-12 09:48 +1200
Re: Why Windows 10 batch admin isn't the same as its GUI admin? Paul <nospam@needed.invalid> - 2021-09-11 18:54 -0400
Re: Why Windows 10 batch admin isn't the same as its GUI admin? Ralph Fox <-rf-nz-@-.invalid> - 2021-09-12 11:30 +1200
Re: Why Windows 10 batch admin isn't the same as its GUI admin? Paul <nospam@needed.invalid> - 2021-09-11 23:47 -0400
Re: Why Windows 10 batch admin isn't the same as its GUI admin? Scott Lurndal <scott@slp53.sl.home> - 2021-09-12 06:00 +0300
Re: Why Windows 10 batch admin isn't the same as its GUI admin? Scott Lurndal <scott@slp53.sl.home> - 2021-09-12 12:11 +0300
Re: Why Windows 10 batch admin isn't the same as its GUI admin? JJ <jj4public@gmail.com> - 2021-09-10 16:47 +0700
Re: Why Windows 10 batch admin isn't the same as its GUI admin? Scott Lurndal <scott@slp53.sl.home> - 2021-09-11 00:22 +0300
Re: Why Windows 10 batch admin isn't the same as its GUI admin? Brian Gregory <void-invalid-dead-dontuse@email.invalid> - 2021-09-12 10:25 +0100
Re: Why Windows 10 batch admin isn't the same as its GUI admin? Scott Lurndal <scott@slp53.sl.home> - 2021-09-12 14:34 +0300
csiph-web