The -RenameDomain command is used after a Windows domain has been renamed. Running the RenameDomain command changes each Desktop Agent user’s record to reflect the new domain name and changes the path for the network user data folder. It also notifies each Desktop Agent of the change.