My company is in the testing phases of moving to a new 2003 AD domain, from a NT4 domain. I need to move the user data from the old local profile to the new local profile. I am planning on using MOVEUSER.EXE to handle this portion of it. However, i am having trouble adding the correct domain user to the local group on each computer.
The question i have is.... Is there a script that would pull local group information from the local machine, and then add the appropriate new domain user to a certain local group on the local machine. An example would be: In the local admin group there is a domain user account called DOMABC\JohnS (DOMABC = old domain). I need a script that will read this informaiton and add the new domain account of NEWDOMABC\JohnS (NEWDOMABC = new domain) to the local admin group. The only problem i need the script to work on 1,000 machines, were the domain username will be different on each machine.