/build/static/layout/Breadcrumb_cap_w.png

TCP/IP Default gateway and ODBC Perfmon

[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

Answers (4)

Posted by: anonymous_9363 15 years ago
Red Belt
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
Posted by: kwisent 15 years ago
Senior Yellow Belt
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,
Posted by: jmcfadyen 15 years ago
5th Degree Black Belt
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.
Posted by: anonymous_9363 15 years ago
Red Belt
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.
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ