Jump to content

Recommended Posts

Posted

If you suddenly start seeing unexpected behaviour when imaging/re-imaging computers on a domain, the changes in October 2022's updates may be the cause.

 

(also, unrelated, file copy via group policy preferences is broken in common scenarios - a work around is given in the security update web page)

 

https://msrc.microsoft.com/update-guide/vulnerability/CVE-2022-38042

https://support.microsoft.com/en-gb/topic/october-11-2022-kb5018421-os-build-20348-1129-115b1147-9568-4924-83b8-d27ab5b495be

https://support.microsoft.com/en-us/topic/kb5020276-netjoin-domain-join-hardening-changes-2b65a0f3-1f4c-42ef-ac0f-1caaf421baf8

Posted (edited)

Yes, After October patches are applied to a client, you cannot join the domain to an existing computer object if you are either not a Domain Admin or the owner of the AD object.

 

The scenario of re-images where a service account is doing the domain join and someone used a personal account to pre-stage the AD object completely breaks.

 

 

https://borncity.com/win/2022/10/12/windows-oktober-2022-patchday-fix-fr-domain-join-hardening-cve-2022-38042-verhindert-ggf-domain-join/

Edited by jslate1980
  • Thanks 1
Posted

We're seeing an interesting issue, after applying KB5018421 a domain joined computer cannot be renamed.

Removing the update allows the machine to be renamed.

It mentions an eventlog, but which one I do not know. It's not SYSTEM, AAD, or PowerShell.

RenameIssue.jpg

 

 

 

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.RenameComputerCommand

Posted
The issue appears to be somewhere between our Internet filtering solution and the October KB5018421. Removing the update fixes the issue, as does leaving the update in place and removing the filtering software.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...