Problem Definition
Citrix Provisioning Services (PVS) target devices may exhibit various symptoms following a restart, despite no recent infrastructure, vDisk, or image configuration changes.
Administrators may observe one or more of the following behaviors:
Environment
Symptoms
Customers may report one or more of the following:
Symptom 1: Target Device booting a vdisk in read/write mode can only successfully boot once
The target device can boot the vdisk in read/write mode successfully only once, with windows failing to fully boot when rebooted
Symptom 2: Black Screen During Boot
Target devices intermittently display a black screen during boot. In some cases, the PVS bootstrap process completes successfully, but Windows never fully starts.
Symptom 3: New vDisk Versions Fail to Boot
After creating or importing a new vDisk version, the updated version may fail to start on some target devices while functioning normally on others.
This vdisk version may boot successfully in some PVS farms, but fail to boot in other PVS farms
Symptom 4: DNS Registration Problems
Target devices may fail to perform expected DNS registration activities after startup, resulting in stale or missing DNS records.
Investigation identified that affected target devices may retain cached DHCP information across restarts.
Under certain circumstances, Windows may reuse previously cached networking information instead of performing a complete DHCP discovery process during startup.
This can result in:
To prevent this issue impacting an environment, implement a shutdown process that clears cached DHCP information before the target device shuts down.
This forces Windows to perform a complete DHCP DORA (Discover, Offer, Request, Acknowledge) process during the next startup.
Manual Steps
To be completed when the vdisk is in read write mode, just before it will be shutdown for the last time before switching to read only mode

Recommended Automated Steps
Configure a DHCP cache cleanup script as a machine shutdown script within the master image:
#Clearing the interface subkeys of all values will force the DHCP
# client to do a full DHCP discovery the next time it starts.
$IfKey = 'HKLM:\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces'
Get-ChildItem -Path $IfKey | ForEach-Object {
$IFace = $_.PsPath
# Values to keep
$keep = @('(Default)', 'EnableDHCP')
# Enumerate all value names under the key
$allValues = (Get-Item $IFace).Property
foreach ($value in $allValues) {
if ($keep -notcontains $value) {
Write-Output "Removing $IFace $value"
Remove-ItemProperty -Path $IFace -Name $value -ErrorAction SilentlyContinue
}
}
}
Important
The sample script is provided as an example implementation of the mitigation. Customers should validate the behavior in a test environment before broad deployment and ensure the script aligns with their operational and networking requirements.
Validation
Following implementation of the mitigation:
Citrix Provisioning Services (PVS) target devices may exhibit various symptoms following a restart, despite no recent infrastructure, vDisk, or image configuration changes.