Petri IT Knowledgebase Forums
 

Petri.co.il forums Home Forums Start Page Forums Frequently Asked Questions FAQ Member List Members List
Go Back   Petri IT Knowledgebase Forums > Windows Scripting > General Scripting
Petri.co.il is happy to award auglan the title of Most Valuable Member !!!
Register Calendar Calendar Search Petri IT Knowledgebase Forums Search Todays Posts Today's Posts Mark Forums Read

Notices

Changing DHCP Scope Lease Times In Win2k

Changing DHCP Scope Lease Times In Win2k

this thread has 4 replies and has been viewed 3513 times

Closed Thread
 
Thread Tools Search this Thread Display Modes
  #1  
Old 21st January 2008, 16:50
vitaminman vitaminman is offline
Casual
Casual
 
 Join Date: Jan 2008
  6 month star 12 month star
 Posts: 7
 Reputation: vitaminman is on a distinguished road (10)
Talking Changing DHCP Scope Lease Times In Win2k

Need to Change approximately 50 DHCP scope Leases from X hours to X hours In Win2k....Anyone have a script that can perform this instead of the manual process?

Thanks!!!!!


Yes it is for the same server Stonelaughter.....nice idea!!!!!


Bummer that option to chnage scopes @ server level is not availabe in 2000 DHCP....

Last edited by vitaminman; 22nd January 2008 at 18:21..
  #2  
Old 21st January 2008, 16:58
Ossian Ossian is offline
Administrator
 
 Join Date: Nov 2003
  6 month star 12 month star
 Location: Bonnie Scotland
 Posts: 15,134
  Send a message via Skype™ to Ossian
 Reputation: Ossian has much to be proud ofOssian has much to be proud ofOssian has much to be proud ofOssian has much to be proud ofOssian has much to be proud ofOssian has much to be proud ofOssian has much to be proud ofOssian has much to be proud ofOssian has much to be proud ofOssian has much to be proud of (1300)
Default Re: Changing DHCP Scope Lease Times In Win2k

Is this 50 different scopes or 50 leases in one scope?

If the latter, how about IPCONFIG /RELEASE IPCONFIG /RENEW ?
__________________
Tom Jones
MCT, MCSE (2000:Security & 2003), MCSA:Security & Messaging, MCDBA, MCDST, MCITP(EA, EMA, SA, EDA, ES, CS), MCTS, MCP, Sec+
PhD, MSc, FIAP, MIITT
IT Trainer / Consultant
Ossian Ltd
Scotland

** Remember to give credit where credit is due and leave reputation points where appropriate **
  #3  
Old 21st January 2008, 17:16
vitaminman vitaminman is offline
Casual
Casual
 
 Join Date: Jan 2008
  6 month star 12 month star
 Posts: 7
 Reputation: vitaminman is on a distinguished road (10)
Default Re: Changing DHCP Scope Lease Times In Win2k

50 different separate scopes
  #4  
Old 21st January 2008, 17:31
Stonelaughter's Avatar
MVM Stonelaughter Stonelaughter is offline
Senior Member
MVM
 
 Join Date: Sep 2004
  6 month star 12 month star
 Location: Nottingham UK
 Posts: 2,159
 Reputation: Stonelaughter is just really niceStonelaughter is just really niceStonelaughter is just really niceStonelaughter is just really niceStonelaughter is just really nice (405)
Default Re: Changing DHCP Scope Lease Times In Win2k

Are they all hosted on the same server? Change the Server Options instead; all scopes hosted by that server will inherit the server options.
__________________


Tom
For my own and your protection, I do not provide support by private message under any circumstances. All such messages will be deleted and ignored.

Anything you say will be misquoted and used against you
  #5  
Old 21st January 2008, 17:36
Dumber's Avatar
Dumber Dumber is offline
Moderator
 
 Join Date: Dec 2003
  6 month star 12 month star
 Location: The Netherlands
 Posts: 8,068
 Reputation: Dumber is a splendid one to beholdDumber is a splendid one to beholdDumber is a splendid one to beholdDumber is a splendid one to beholdDumber is a splendid one to beholdDumber is a splendid one to beholdDumber is a splendid one to behold (820)
Default Re: Changing DHCP Scope Lease Times In Win2k

or use Netsh

http://technet.microsoft.com/en-us/l.../bb490945.aspx

(scroll down a bit or use ctrl-f to find the lease)
__________________
Marcel
Netherlands
http://www.phetios.com
http://blog.nessus.nl

MCITP(EA, SA), MCSA/E 2003:Security, CCNA, SNAF, DCUCI, CCSA/E/E+ (R60), VCP4/5, NCDA, NCIE - SAN, NCIE - BR, EMCPE
No matter how secure, there is always the human factor.
Closed Thread


Thread Tools Search this Thread
Search this Thread:

Advanced Search
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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
DHCP Lease Notification Script v2.4 released tonyyeb General Scripting 24 22nd November 2012 11:39
Problem adding new scope to dhcp on 2003 server zozobra Windows Server 2000 / 2003 6 30th January 2007 00:27
Notification when DHCP lease is given tonyyeb Misc 8 20th December 2006 19:13
DHCP Scope no Client Names quinla01 Windows Server 2000 / 2003 1 10th February 2006 23:24
WIN 2000 DHCP server shows invalid lease expiration dates mwalker72 Windows Server 2000 / 2003 0 2nd December 2004 13:51


All times are GMT +3. The time now is 00:55.

Steel Blue 3.5.4 vBulletin Style ©2006 vBEnhanced
Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
 

Valid XHTML 1.0!   Valid CSS!

Copyright 2005 Daniel Petri