Search the Community
Showing results for tags 'vpn'.
-
Hi everyone, I have a problem that I already had in the past and I didn't find any solution on this forum. Whenever I activate my VPN, I cannot use my internet connection anymore through scripts. For example, without VPN when I do : Ping("www.google.com") it works properly. With VPN ON when I do : Ping("www.google.com") I have @error = 2. I do have an internet connection though because if I manually launch google chrome i can go on google. Same error when I try to do calls with "WinHttp.WinHttpRequest.5.1" => $oHTTP.Send() doesn't respond. It looks like autoit isn't able to use the VPN connection properly. Does anyone know what's going on? Thank you !
-
I have a server running Small Busines Server 2008. On that server is a shared directory containing Microsoft Office templates in the normal directory setup; a bunch of templates, a Smart Art subdirectory, and a Document Themes subdirectory containing Theme Colors, Theme Effects, and Theme Fonts subdirectories. My task is to create a program that copies all that to the local user's templates subdirectory. It must work on the local network or over the VPN. I am not allowed to wipe the local template directory. I may not assume that any drives are mapped, I have to use UNC paths to the server. So a .cmd file doesn't work because it doesn't do UNC paths, at least copy and xcopy and robocopy don't. This morning I sat down with AutoIt and came up with: #include <File.au3> #include <Array.au3> #include <FileConstants.au3> $LocalPath = EnvGet("APPDATA") & "\Microsoft\Templates\" $Result = DirCopy("\\192.168.7.250\Users\<redacted>\<redacted>\<redacted>\<redacted> Templates 2",$LocalPath,$FC_OVERWRITE) MsgBox(0,"Info",$Result)Works on the internal network. Works when I connect to our guest network (which is a different subnet) and connect to the (SoftEther) VPN. Does not work when connected to the VPN on physically remote machines. ?????
-
With this line of code I can connect my VPN Run('rasphone -d "My VPN"') $hWnd = WinWait("[CLASS:#32770]", "Connection to My VPN", 10) $Title = 'Connection to My VPN' $process = WinGetHandle(WinGetTitle($Title)) ControlClick($process, "", "[CLASS:Button; INSTANCE:4]") Is it possible to check, whether VPN has connected or not
-
I'm using InetGet to download some files but get an error "13" with InetGet after the 4th download. This occurs while using Hidemyass Pro VPN. If I can understand what error 13 actually means I'll have a better chance of debugging Does anybody know what error 13 means? I;ve looked at the soucre in the include folder for "IE" and "Inet" but can't see the source for Inetget in either. Any help is greatly appreciated