I am doing a project to change computer name which is in the domain. I tried many way but all failed.
First, I used NetRenameMachineInDomain function, function return succeeded, and the computer name changed. But it isn't in domain again.
Then, I tried to change computer name, then use NetJoinDomain function. Function return succeeded again, but the computer is not in domain.
Computer name after changed shows ComputerName.DomainName.com, that is correctly, but there is not "DomainName\Domain Admins" in local Administrators group. I can't logon the computer by the domain user, so I think the computer is not join in the domain really.
How can I do or there is another step I must do after use NetJoinDomain function?
Pls help me!
Thanks a lot.
Last Visit: 31-Dec-99 18:00 Last Update: 28-May-16 8:29