aad
1 TopicAfter applying KB5018421 computers cannot be renamed
After applying KB5018421 renaming the computer is no longer possible because the name can't be changed in AAD. Uninstalling the KB allows renaming of the computer. PS C:\windows\system32> Rename-Computer -NewName F57-0 -Restart Rename-Computer : Fail to rename computer 'TEND45D648129B2' to 'F57-0' due to the following exception: Unable to update hostname in Azure AD. Check the event log for detailed error information. At line:1 char:1 + Rename-Computer -NewName F57-0 -Restart + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : OperationStopped: (TEND45D648129B2:String) [Rename-Computer], InvalidOperationException + FullyQualifiedErrorId : FailToRenameComputer,Microsoft.PowerShell.Commands.RenameComputerCommand18KViews0likes1Comment