Comments (12)
@FreeBeing11 @chipitsine Could you try out this build (don't forget to install EasyRSA component) and see if problem is solved for you?
Hi Istipakov,
Thank you for this new OpenVPN build, with a new "EasyRSA-Start.bat" script.
I tried that on Windows 10 22H2 x64 (French), and it works, thank you ;)
With EasyRSA Shell, now I obtain this PATH with "set" command :
PATH='C:/Program Files/OpenVPN/easy-rsa;C:/Program Files/OpenVPN/easy-rsa/bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0;C:\Windows\System32\OpenSSH;C:\Users\Maxime\AppData\Local\Microsoft\WindowsApps;C:\Program Files\OpenVPN\bin'
Now, PATH is right, and "openssl.exe" can be used directly.
Thanks a lot.
from openvpn-build.
from openvpn-build.
This issue has already been reported:
OpenVPN/easy-rsa#926 (comment)
from openvpn-build.
Moving this to the openvpn-build repo, because it's something in the "build installer" process that is buggy, not "a bug in openvpn"
from openvpn-build.
I cannot reproduce it, tried on both Windows 10 and Windows 11.
c:\>ver
Microsoft Windows [Version 10.0.19045.2728]
c:\>FOR /F "tokens=2*" %a IN ('REG QUERY "HKEY_LOCAL_MACHINE\SOFTWARE\OpenVPN" /ve') DO echo KEY: %b
c:\>echo KEY: C:\Program Files\OpenVPN\
KEY: C:\Program Files\OpenVPN\
I don't have REG_SZ
in output and EasyRSA-Start.bat
works just fine.
@chipitsine @TinCanTech do you have any ideas what might be wrong?
from openvpn-build.
Interesting. I'll have a look
from openvpn-build.
What Windows version is this exactly? My current guess is that it's a national language thing, based on the output I get from my test machines (german/english language versions) that return
HKEY_LOCAL_MACHINE\SOFTWARE\OpenVPN
(Standard) REG_SZ C:\Program Files\OpenVPN
... which is parsed just fine, but I assume that if the (standard)
part gets turned into something with a blank in it, the FOR parser will fail, and include the REG_SZ into the string afterwards...
So, @FreeBeing11 , can you run the REG QUERY ... /ve
command from the script (only the query) and show us your results?
from openvpn-build.
I have slightly different output (Finnish/English):
HKEY_LOCAL_MACHINE\SOFTWARE\OpenVPN
(Default) REG_SZ C:\Program Files\OpenVPN\
from openvpn-build.
But it's still "3 columns". I guess the original poster has something like (some thing) REG_SZ ...
with a blank in, so the parsing "give me field 3+" will then include REG_SZ...
Is there a way to change the FOR statement to do "give me all after REG_SZ" instead?
from openvpn-build.
Here is an output from colleague's machine:
Microsoft Windows [Version 10.0.19044.2728]
(c) Корпорация Майкрософт (Microsoft Corporation). Все права защищены.
C:\Users\diach>REG QUERY "HKEY_LOCAL_MACHINE\SOFTWARE" /ve
HKEY_LOCAL_MACHINE\SOFTWARE
(по умолчанию) REG_SZ
I am not too much into batch, but let's try to find a solution.
from openvpn-build.
@FreeBeing11 @chipitsine Could you try out this build (don't forget to install EasyRSA component) and see if problem is solved for you?
from openvpn-build.
from openvpn-build.
Related Issues (20)
- Windows sample configurations files with wrong EOL and blank lines HOT 3
- 2.6.3 Problem With TAP Driver Signature HOT 9
- Can't install on windows 10 x64 using newer installers. HOT 2
- win11系统,编译生成msi安装包时出现错误 HOT 3
- Bug Report: Heavy Performance Limitation with TAP Adapter in OpenVPN on Windows 7 HOT 4
- Use renovate to keep dependencies up-to-date
- Dependency Dashboard self-hosted
- Cannot install on Windows 10: a script required for this install to complete could not be run HOT 19
- Cross Compile with OpenSSL 3 HOT 7
- 为啥我电脑一个线路不能用啊 HOT 2
- OpenVPNMSICA: tap_create_adapter:DinstallDevice Error 536870397 HOT 3
- CMakePresets.json Not Found HOT 1
- Can't update HOT 3
- Installation Error Every Time HOT 6
- Cannot install on Windows 10: a script required for this install to complete could not be run HOT 9
- Having the same issue, also i don't use any antivirus except for Windows Defender
- Easy-RSA: New Windows Start menu item for Easy-RSA Non-Admin mode HOT 1
- Windows Msi x64 2.6.1001 Virustotal HOT 1
- Open
- Updating OpenVPN on Windows fails when the OS language is other than English HOT 4
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-build.