networking - Rasdial falsely reports successful connection -


windows server 2012 r2, uses rasdial part of automation routine connect vpn. has been working year or more, , started failing, though in unexpected way.

if run rasdial command, reports connection vpn successful, no connection made , running again list of connections shows none. more interesting false positive doesn't matter use username/pass, still reports success.

c:\mydir>rasdial "this connection" username password connected connection command completed successfully.  c:\mydir>rasdial no connections command completed successfully. 

i can change passwords know shouldn't work , result identical. worse, returns exit code of 0, automation program accepts success.

i'm give server reboot , start digging more, why in world rasdial return kind of success when failed?


Comments