Networking Forums

Networking Forums > Computer Networking > Windows Networking > Query DHCP Lease Duration Information

Reply
Thread Tools Display Modes

Query DHCP Lease Duration Information

 
 
somu
Guest
Posts: n/a

 
      03-25-2008, 05:28 PM
Hi,

We want to query for the lease duration of a subnet scope on DHCP
server remotely in our product.
Following things which we tried returned only half information.
1) DhcpGetSubnetInfo API returns only some information like subnet
name, comment, and subnet mask. It doesn't give other information like
IP range and Lease duration.
2) We tried using COM (DHCPObjs) object (present in Windows 2000
resource toolkit). But it doesn't give Lease duration.
Is there any other way to find Lease Duration either through Registry,
WMI, dhcp.mdb(DHCP database) or any other source?
Any help would be appreciated. Thanks in advance.

-----------------------------------------------------
Thanks & Regards
~ Somesh
 
Reply With Quote
 
 
 
 
somi
Guest
Posts: n/a

 
      03-25-2008, 05:59 PM
On Mar 25, 11:28*pm, somu <somesh.kel...@gmail.com> wrote:
> Hi,
>
> We want to query for the lease duration of a subnet scope on DHCP
> server remotely in our product.
> Following things which we tried returned only half information.
> 1) DhcpGetSubnetInfo API returns only some information like subnet
> name, comment, and subnet mask. It doesn't give other information like
> IP range and Lease duration.
> 2) We tried using COM (DHCPObjs) object (present in Windows 2000
> resource toolkit). But it doesn't give Lease duration.
> Is there any other way to find Lease Duration either through Registry,
> WMI, dhcp.mdb(DHCP database) or any other source?
> Any help would be appreciated. Thanks in advance.
>
> -----------------------------------------------------
> Thanks & Regards
> ~ Somesh


================

I forgot to mention that we are not getting any source for reading
Lease duration information in case DHCP server is on Windows 2003 and
later OS. On windows 2000 server we read registry to find all the DHCP
subnet information, but as per research till now, this information is
not present in registry in case DHCP server is on windows 2003
platform.

Thanks
Somesh
 
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
DHCP lease duration time Jim in Cleveland Windows Networking 1 02-13-2006 08:27 PM
DHCP Option : Release DHCP Lease on Shutdown (1) doesn't work Antoine Golio Windows Networking 0 12-06-2005 08:10 AM
DHCP Option : Release DHCP Lease on Shutdown (1) doesn't work Antoine Golio Windows Networking 2 11-30-2005 08:49 AM
script DHCP Leas Duration =?Utf-8?B?d2lsbGllX2xvZ29u?= Windows Networking 1 01-20-2005 06:36 PM
DHCP sever available, DHCP lease available on the client computer didace Windows Networking 0 11-13-2003 12:11 PM



1 2 3 4 5 6 7 8 9 10 11