Update SPNs after service identity or hostname changes
Setspn reads, modifies, and deletes the SPN directory property for AD service accounts. SPNs are normally created automatically but can require updates after computer renames or application-specific service changes.
Read the checklist