Welcome to MSDN Blogs Sign in | Join | Help

Follow-up article on how to set lease times through netsh.

Question: I have a customer that has 5 DHCP servers that host many scopes. The customer wants to know of a way to script changing the lease duration on the advanced page of the properties of the scope (because they also have Bootp clients). Anybody have any ideas on how to script this change?

netsh dhcp server scope 10.0.0.0 set optionvalue 51 DWORD user=”Default BOOTP Class”  3600 is your babe! For a detailed explanation please refer to my previous post on How to set DHCP scope lease time through netsh? 

Published Wednesday, May 11, 2005 5:54 AM by anto_rocks

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS

Comments

# re: Follow-up article on how to set lease times through netsh.

Tuesday, May 24, 2005 2:52 AM by Qflash

# re: Follow-up article on how to set lease times through netsh.

Friday, April 06, 2007 3:37 AM by Fleur2Cerisier

Hi,

I tried that command but when I went to check in the mmc console... it had not changed at all. Is it normal?

Leave a Comment

(required) 
required 
(required) 

  
Enter Code Here: Required
 
Page view tracker