WgServerforWindows icon indicating copy to clipboard operation
WgServerforWindows copied to clipboard

The system cannot find the file specified

Open demartis opened this issue 1 year ago • 2 comments

Hello, same issue of https://github.com/micahmo/WgServerforWindows/issues/102 here! Powershell is in PATH. The program fails at its very first attempt to start

System.ComponentModel.Win32Exception (2): The system cannot find the file specified. at System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo) at System.Diagnostics.Process.Start() at System.Diagnostics.Process.Start(ProcessStartInfo startInfo) at WgAPI.WireGuardExe.ExecuteCommand(WireGuardCommand command, Int32& exitCode) in D:\a\WgServerforWindows\WgServerforWindows\WgAPI\WireGuardExe.cs:line 94 at WgServerforWindows.Models.NewNetNatPrerequisite.get_IsSupported() in D:\a\WgServerforWindows\WgServerforWindows\WgServerforWindows\Models\NewNetNatPrerequisite.cs:line 226 at WgServerforWindows.MainWindow..ctor() in D:\a\WgServerforWindows\WgServerforWindows\WgServerforWindows\MainWindow.xaml.cs:line 92 at WgServerforWindows.Controls.SplashScreen.<>c.<Window_Loaded>b__1_0() in D:\a\WgServerforWindows\WgServerforWindows\WgServerforWindows\Controls\SplashScreen.xaml.cs:line 25 at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs) at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)

Originally posted by @demartis in https://github.com/micahmo/WgServerforWindows/issues/102#issuecomment-2408607535

demartis avatar Oct 12 '24 15:10 demartis