1. You are viewing our forum as a guest. For full access please Register. WindowsBBS.com is completely free, paid for by advertisers and donations.

Running a script across a VPN link

Discussion in 'Legacy Windows' started by Grunty, 2006/11/29.

  1. 2006/11/29
    Grunty

    Grunty Inactive Thread Starter

    Joined:
    2002/11/07
    Messages:
    326
    Likes Received:
    0
    Does anyone know if it is possible to run a script on a remote computer when a user dials in to the LAN from a VPN connection?

    Specifically I would like to run a script I have that reports back a line in the registry holding AV version information.

    Thanks.
     
  2. 2006/11/29
    ReggieB

    ReggieB Inactive Alumni

    Joined:
    2004/05/12
    Messages:
    2,786
    Likes Received:
    2
    It depends how the VPN is set up.

    As the name suggests, when you connect via VPN, you create a virtual private network. In action this usually means a slow network connection. So any script that would work over a normal network, should work over the VPN. The only difference should be reduced performance over the VPN.

    However, if your VPN is client to client - for example, a direct VPN connection between two Windows computers - then the private network consist solely of the two computers at either end of the connection. Connection to resources beyond the computer hosting the VPN connection is only available if specifically configured to do so. Usually you have to modify the default settings to connect to other computers on the remote computer's network. In this case, your script is likely only to work if it is connecting to resource on the VPN host computer.

    You may find sysinternal's PsTools useful if you wish to run a script on the remote computer.
     

  3. to hide this advert.

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.