Topic

Getting this Error – Err: exit status 1

Tagged: 

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #13313
    asifpial10
    Participant

    Starting Wireguard tunnel…

    Installing Wireguard tunnel:
    StdOut : ”
    StdErr: ‘& : The term ‘wireguard.exe’ is not recognized as the name of a cmdlet, function, script file, or operable program.
    Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
    At line:1 char:2
    + &”wireguard.exe” /installtunnelservice “C:\ProgramData\NT KERNEL\Wire …
    + ~~~~~~~~~~~~~~~
    + CategoryInfo : ObjectNotFound: (wireguard.exe:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException

    ‘
    Err: exit status 1
    Trying to make Wireguard tunnel network private…

    Make Wireguard tunnel network private:
    StdOut : ”
    StdErr: ‘Get-NetConnectionProfile : No MSFT_NetConnectionProfile objects found with property ‘InterfaceAlias’ equal to
    ‘wiresock’. Verify the value of the property and retry.
    At line:1 char:19
    + $NetworkProfile = Get-NetConnectionProfile -InterfaceAlias “wiresock”
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo : ObjectNotFound: (wiresock:String) [Get-NetConnectionProfile], CimJobException
    + FullyQualifiedErrorId : CmdletizationQuery_NotFound_InterfaceAlias,Get-NetConnectionProfile

    The property ‘NetworkCategory’ cannot be found on this object. Verify that the property exists and can be set.
    At line:2 char:1
    + $NetworkProfile.NetworkCategory = “Private”
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo : InvalidOperation: (:) [], RuntimeException
    + FullyQualifiedErrorId : PropertyNotFound

    Set-NetConnectionProfile : Cannot validate argument on parameter ‘InputObject’. The argument is null. Provide a valid
    value for the argument, and then try running the command again.
    At line:3 char:41
    + Set-NetConnectionProfile -InputObject $NetworkProfile
    + ~~~~~~~~~~~~~~~
    + CategoryInfo : InvalidData: (:) [Set-NetConnectionProfile], ParameterBindingValidationException
    + FullyQualifiedErrorId : ParameterArgumentValidationError,Set-NetConnectionProfile

    ‘
    Err: exit status 1

    #13314
    Vadim Smirnov
    Keymaster

    Do you have WireGuard for Windows installed on your Windows computer?

    #13315
    asifpial10
    Participant

    Yes

    #13316
    Vadim Smirnov
    Keymaster

    The term ‘wireguard.exe’ is not recognized as the name of a cmdlet, function, script file, or operable program.

    After installing Wireguard, it’s recommended to restart the console to reload environment variables. If it does not help, consider manually adding the Wireguard path to the PATH environment variable.

    #13318
    asifpial10
    Participant

    Thanks vadim the issue is fixed now but there is another problem now my pc cant access internet it shows no internet and there has been a new network adapter too…which is enabled and getting no internet but after disabling the new ws adapter my pc gets internet…sorry english is not my first language

    #13319
    Vadim Smirnov
    Keymaster

    It seems there might be a misconfiguration. The newly added WireSock adapter shouldn’t act as the default gateway; it’s intended for incoming VPN connections. Could you please provide the output of ‘ipconfig /all’ with the WS adapter both enabled and disabled?

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.