Duplicate IPs in PVS 6.1 and 7.1

We have been having a really difficult time over the last few months with our PVS environment especially with DHCP.  We use Infoblocks appliances as our DHCP devices and frankly I think Citrix has them on a naughty list somewhere.  You want to get hung up on quick call Citrix and tell them you are using Infoblocks :).  Having said that there is newer code that fixes many of the issues those appliances had with the DHCP boot process that PVS uses.  So once we got those cleared we moved on to something totally new.  Did you know that a single NIC can have multiple IP addresses?  Neither did I!  I’m not talking ghost NICs hanging on to their IPs, I mean you run IPConfig on a server and it shows the single NIC with 2 IPs bound.  Obviously that causes all sorts of DNS registration issues.  What we finally figured out was yet another piece to add to our reseal script that we run prior to shutting down the gold image.

 

 There are 2 critical reg values that MUST be cleared when you seal your image.  They are:

·       HKLM\SYSTEM\CURRENTCONTROLSET\Services\{9F607846-D8CB-4438-9591-39A7F210C79F}\Parameters\TCPip\DhcpIPAddress.  This value must be empty when image is sealed

·       HKLM\SYSTEM\CURRENTCONTROLSET\Services\TCPip\Parameters\Interfaces\\{9F607846-D8CB-4438-9591-39A7F210C79F}\DhcpIPAddress.  This value must be empty when image is sealed

So add that to your script and avoid double IP headaches.  We have seen this (a lot) on both PVS 6.1 and 7.1 and Citrix had no real solution for it.

, , ,

2 Comments

  • Jonathan Pitre says:

    Try this:

    $SearchItem = “DhcpIpAddress”
    Get-ChildItem -Path HKLM:\SYSTEM -Recurse -ErrorAction SilentlyContinue | Where-Object {$_.Property -eq $SearchItem } | Get-ItemProperty -Name $SearchItem | Set-ItemProperty -Name $SearchItem -Value $null

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">