In VMware vCenter, a Host Profile may report a "drift" or "non-compliant" status due to the NFS user host configuration passwords being unexpectedly populated. Standard methods to clear these values often fail:
Manually deleting the password in the Host Profile editor and saving does not persist; the password field remains (visibly) populated.
Unchecking the "NFS user host configuration" box within the profile editor does not successfully clear the underlying configuration or resolve the drift.
VMware vCenter 8.x
VMware ESX 8.x
This is expected behavior within the Host Profile editor where manually deleting or deselecting the NFS user host configuration fields fails to remove the visible password bullet points from the profile. The password is replaced as blank but the UI still contains data for this field.
To successfully reset or clear these values, use the Copy Settings method to overwrite the configuration from a known clean source.
vSphere Client.Policies and Profiles > Host Profiles.Host Profile and click Edit Settings.Copy Settings drop-down menu in the top-right corner and select Copy Settings from Host Profile.Host Profile from your environment that is known to have no NFS configurations populated.Select settings to copy list, uncheck all items and then select only the NFS user host configurations option.Finish. This action forces the profile to inherit the "blank" state from the reference profile, effectively clearing the stuck passwords.Re-run the compliance check on your hosts to verify the drift is resolved.