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