Computing.Net > Forums > Windows NT > How do you determine if a user is connected via DUN with the NT Logon Script

How do you determine if a user is connected via DUN with the NT Logon Script

Reply to Message Icon

Original Message
Name: Raytech
Date: November 3, 1999 at 17:07:21 Pacific
Subject: How do you determine if a user is connected via DUN with the NT Logon Script
Comment:

Does anyone know how to determine if a user is connected via Dial-Up Networking with the NT logon script? The Reason: I need to push out several large updates to my users via the NT logon script and since these updates are too large for a modem to handle I want to skip the DUN modem users and only hit LAN/WAN users. I have looked through the resource kit to no avail... Any tips would be appreciated.


Report Offensive Message For Removal

Response Number 1
Name: Cameron Kennedy
Date: November 6, 1999 at 02:30:26 Pacific
Subject: How do you determine if a user is connected via DUN with the NT Logon Script
Reply: (edit)

HI,
There is an option called "CHECKRAS" - from memory this is an EXE that you can call however it only works if the machine the script gets run from is also the machine that acts as the dial-up server.

Personally I had the same problem in our enterprise of 15 servers where our dial-up is VPN. Therefore I actually call a simply DOS IPCONFIG command, pipe it through a FIND command and search for 192.168 (ie: B-class IP of dial-up users) and if this text is found, end the login script.

Personally I think it is a bit crude, however I couldn't find a better solution and it has worked everytime without fail.

Cheers.


Report Offensive Follow Up For Removal







Use following form to reply to current message:

   Name: From My Computing.Net Settings
 E-Mail: From My Computing.Net Settings

Subject: How do you determine if a user is connected via DUN with the NT Logon Script

Comments:

 


  Homepage URL (*): 
Homepage Title (*): 
         Image URL: 
 
Data Recovery Software