We have a number of computers that are registered in WDS so they are auto-named when imaged. Though, as they age I am having to move hardware around to rapidly fix failed power supplies, etc.
I've run into a problem, trying to reuse a computer that was used somewhere else, where it previously had its GUID registered, but now I need to assign its GUID to a different computer name in Active Directory, and I am not allowed to do it:
wdsutil /set-device /device:EL900-MUSIC-D /id:4C4C4544-0032-3010-8053-C2C04F354A31
------------------------
WDSUTIL has detected duplicate GUIDs in Active Directory. The duplicate computers are:
Name: E205-SB
DN: CN=E205-SB,OU=Computers - EL Staff,DC=XXXX,DC=YYYYY,DC=ZZZZZZ
MAC/GUID: 44454C4C320010308053C2C04F354A31
Referral server:
Boot program:
WDS client unattend file:
Boot image path:
Join domain: Yes
An error occurred while trying to execute the command.
Error Code: 0xC1040134
Error Description: A computer with the same GUID already exists.
----------------
Looking through the commands for wdsutil, it is very odd because there is only a "/set-device" command. There is no "/replace-device" or "/replace-GUID" or "/delete-device" or "/delete-GUID" commands.
So how do I remove or replace the GUID in the conflicting AD Computer object, without completely deleting the Computer object and rejoining the other machine to the domain?