Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.
Keywords: open the properties for a particular dialup connectioid
Run("rundll32.exe"," rnaui.dll,RnaWizard") WinWaitExist("Welcome to",2) SendKeysTo("Welcome to","!n") SendKeysTo("Make New Connection",ConnName) SendKeysTo("Make New Connection","!n") SendKeysTo("Make New Connection",AreaCode) SendKeysTo("Make New Connection","{tab}") SendKeysTo("Make New Connection",Number) SendKeysTo("Make New Connection","!n") SendKeysTo("Make New Connection","{enter}")
Run("explorer.exe","::{20D04FE0-3AEA-1069-A2D8-08002B30309D}\::{992CFFA0-F5 57-101A-88EC-00DD010CCC48}")
For example, to turn on the 'logon to Network' checkbox it is:
HKEY_CURRENT_USER\RemoteAccess\Addresses[Connection Name] position 54.
The valid values are EC = Logon, E8 = Deselect 'Logon to network'.
Under profiles, all of the TCP/IP settings are also bitmapped. Get this, there are in semi reverse order. Values are Hex.
;Ask MicroSoft why the positions are in REVERSE Poct1 = ('24') ;Primary WIN Octet 1 position Poct2 = ('23') ;Primary WIN Octet 2 position Poct3 = ('22') ;Primary WIN Octet 3 position Poct4 = ('21') ;Primary WIN Octet 4 position Soct1 = ('28') ;Secondary WIN Octet 1 position Soct2 = ('27') ;Secondary WIN Octet 2 position Soct3 = ('26') ;Secondary WIN Octet 3 position Soct4 = ('25') ;Secondary WIN Octet 4 positionIn other words, the primary WINS Address is positions 24,23,22,21, the secondary is: 28,27,26,25. Additionally the Secondary DNS would be 20,19,18,17. primary would be 16,15,14,13
For others, use regmon and put in values like 1.2.3.4 and 5.6.7.8 and then find them (in reverse order)
Article ID: W14870
File Created: 2001:11:08:12:40:42
Last Updated: 2001:11:08:12:40:42