Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Windows Release DHCP Lease on Shutdown option not working

Posted on 2009-04-03
5
3,152 Views
Last Modified: 2012-05-06
I am trying to configure the Windows Release DHCP Lease on Shutdown option, but it's not working. I have it setup in scope options with a value of 0x1. I'm running Windows 2003. Has anyone ran into this problem, any help would be greatly appreciated. Thanks
0
Comment
Question by:buckethead34
  • 3
  • 2
5 Comments
 
LVL 9

Expert Comment

by:samiam41
ID: 24064237
From what I can remember with this setting, it is set on the client side.  Where are you setting the 0x1 option and through which means (GP, script, etc...)?
0
 
LVL 9

Expert Comment

by:samiam41
ID: 24064257
I did find this post from here -> http://www.computing.net/answers/windows-2003/server-2003-dhcp/2889.html

From:
http://www.microsoft.com/resources/documentation/WindowsServ/2003/all/techref/en-us/Default.asp?url=/Resources/Documentation/windowsserv/2003/all/techref/en-us/w2k3tr_dhcp_tools.asp

"Release DHCP Lease on Shutdown
This option can be used to control whether DHCP-enabled computers running Windows 2000, Windows XP, or Windows Server 2003 sends a DHCPRelease message to the DHCP server when a shutdown occurs. It is actually implemented and interpreted as a bit-masked value by the DHCP Client service. By default, these clients do not send DHCPRelease messages on proper shutdown.

Code 2

Length 4 octets

Value Accepted values for this option are:

1 = DHCP clients send a DHCPRelease message on proper shutdown
0 = DHCP clients do not send a DHCPRelease message on proper shutdown
Structure of Release DHCP Lease on Shutdown

Code Length Release
002 4 0 | 1
0
 
LVL 2

Author Comment

by:buckethead34
ID: 24064321
I go into Scope Options--> Add Option--> Advanced Tab-->Microsoft Options in dropdown menu--> Default User Class in Users Class dropdown--> Select Code 002--> Value is 0x1.

That's where it's set and I don't get any results. Thanks
0
 
LVL 2

Accepted Solution

by:
buckethead34 earned 0 total points
ID: 24064422
I believe I got it working. I was on an XP box, and Microsoft Options wouldn't work, but when I went to Microsoft Windows 2000 options and did the same setting. It did work. Thanks for the replies.
0
 
LVL 9

Expert Comment

by:samiam41
ID: 24065098
No argument here.  Glad you find the solution.  May be worth accepting your own answer so others will know what worked.  Just a thought.  Either way, glad to work with you.

-Aaron
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Event ID: 7023 / Source: Service Control Manager 4 145
Computer software inventory 5 108
DHCP server 6 62
Problems with Microsoft.DHCP.PowerShell.Admin Module 4 71
I guess it is not common knowledge to most Wintel engineers/administrators: If you have an SNMP-based monitoring system in your environment (and it's common to have SNMP or Syslog) it's reasonably easy to enable monitoring of the Windows Event logs,…
Setting up a Microsoft WSUS update system is free relatively speaking if you have hard disk space and processor capacity.   However, WSUS can be a blessing and a curse. For example, there is nothing worse than approving updates and they just have…
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

856 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question