Solved

Windows Release DHCP Lease on Shutdown option not working

Posted on 2009-04-03
5
3,134 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

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
How to set DHCPv6 options on a Sonicwall? 13 144
How to restore security permissions on a file server 4 56
RRAS AND DNS 15 46
DHCP Best Practice 8 52
The HP utility "HP Lights-Out Online Configuration Utility for Windows Server 2003/2008" could be of great use when it comes to remotely configure a HP servers ILO WITHOUT rebooting the server. We would only need to create and run scripts using thiā€¦
Ever wondered why you had to use DHCP options (dhcp opt 60, 66 or 67) in order to use PXE? Well, you don't!

832 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