[font="microsoft sans serif"]Hi,
I am trying to package an application which requires pre and post configuration of TCP/IP settings and ODBC settings.
- How can I set default gateways in TCP/IP settings for DHCP enabled?
- How can I enable Perfmon under connection pooling tab for an ODBC driver?

What I have tried:

-I tried netsh for enabling the gateways, but it is making it static for only one IP address, here I have to add multiple gateways.
-Captured the ODBC configuration using setup capture. Everythung is perfect except enabling of Perfmon under Connection Pooling Tab

Please suggest me any way to work around!!!

Thanks,
0 Comments   [ + ] Show Comments

Comments

Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Answers

0
DHCP-enabled workstations will get their default gateway address(es) via DHCP.

As for PerfMon connection pooling, 15 seconds spent with ProcMon (yawn...) would have shown you the key you need:

HKLM\SOFTWARE\ODBC\ODBCINST.INI\[Name_Of_Driver]\CPTimeout
Answered 03/10/2009 by: VBScab
Red Belt

Please log in to comment
0
Hey,
Thanks for the reply.
I found that the key we need to modify for Perfmon is no the one mentioned above. After doing some more search on Procmon ( as suggested) i found that this is the key thats changing.

[HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBCINST.INI\ODBC Connection Pooling]"Perfmon"

Thanks,
Answered 03/10/2009 by: kwisent
Senior Yellow Belt

Please log in to comment
0
you can mess with TCP IP settings using WMI

from memory you can user Win32_Network and Win32_NetworkAdapterSettings to do pretty much all of the TCP settings.
Answered 03/10/2009 by: jmcfadyen
Fifth Degree Black Belt

Please log in to comment
0
[HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBCINST.INI\ODBC Connection Pooling]"Perfmon"Good job in tracking it down. A quick play this morning shows that the changes depend on which option one chooses from the dialog. I'd merely selected 'Enabled' and clicked 'Apply'. It also seems to depend on which driver one chooses.

ProcMon....ah....my years of whining are vindicated once again.
Answered 03/11/2009 by: VBScab
Red Belt

Please log in to comment
Answer this question or Comment on this question for clarity