Hello
Windows Embedded has a write lock/filter that might prevent this changes, check about it and how to diable here: https://learn.microsoft.com/en-us/previous-versions/windows/embedded/ff769914(v=winembedded.60)?redirectedfrom=MSDN
In the case of this version, I would strongly recommend to commit a manual rejoin to the domain
Best regards!