After use OfflineIdentification in windows10 xml deployement, ActiveComputerName does not update on computer name change

Simon Fonteneau 40 Reputation points
2024-03-07T21:09:11.6966667+00:00

I noticed strange behavior on PCs deploying with djoin.

To deploy a PC with this mode in the xml:

https://learn.microsoft.com/en-us/windows-hardware/customize/desktop/unattend/microsoft-windows-unattendedjoin-offlineidentification#xml-example

The deployment is going well

The problem comes next:

  • The administrator decides to remove the machine from the domain
  • After reboot the admin decides to rename the machine
  • After reboot The administrator wants to put the machine back in a domain

At this precise moment it is impossible, domain is grayed out

It seems that renaming the machine doesn't work well.

after looking in detail

HKLM\SYSTEM\CurrentControlSet\Control\ComputerName*ActiveComputerName
*
does not update on computer name change. Even after reboot

I would like to point out that the machine has no software installed, no DIY.

I feel like it's a bug

Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
11,697 questions
{count} vote

1 answer

Sort by: Most helpful
  1. Simon Fonteneau 40 Reputation points
    2024-10-03T15:29:29.35+00:00

    The problem has only gotten worse. Since Windows 11 24H2 djoin does not work correctly with OfflineIdentification. Once the machine is deployed it does not have the right name but a random name...

    Doesn't anyone at Microsoft care about this problem?

    OfflineIdentification is just no longer usable. ...

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.