OpenConnect-GUI\vpnc-script.js' returned error 1 Could not open C:/Users/Administrator/AppData/Local/Temp\vpnc.log
最终解决方案只有一句话:
修改注册表的默认文件位JS就正常了
通过第二个关键词“ Could not open C:/Users/Administrator/AppData/Local/Temp\vpnc.log” 找到了最终答案:
https://gitlab.com/openconnect/openconnect-gui/-/issues/297
How to find out whether you're facing the same issue as I did? Follow these steps: Open cmd Go to folder where's OpenConnectGUI installed and where's vpnc-script.js file present. Run command: cscript vpnc-script.js If the command failed with: "There is no script engine for file extension .js" or some similar error message, then this solution may help you. The solution: Open registry editor (regedit.exe) and go to \HKEY_CLASSES_ROOT.js There set the default value to JSFile