What (if any) are the risks of renaming and domain-joining a machine at the same time?

I don't find a specific Windows Vista or newer related article, but I think this would count as canonical documentation: How to change a computer name, join a domain, and add a computer description in Windows XP or in Windows Server 2003. This documentation indicates that you can modify the computer name and domain at the same time (and doesn't caution against it).

I suspect you're dealing with someone who has the same superstition that I've had over the years: Change the computer name, reboot, then join the domain.

I know that I've seen instances where doing that has ended up with a broken domain trust relationship on the client computer. I never documented the specific workflow necessary to create that undesirable scenario. My pragmatic streak kicked-in and just caused me to rename, reboot, and then join. For fun, I may try to do some replication in a VM.

Edit:

I had a few minutes for some VM testing fun.

I two really simple tests on a Windows XP Professional SP3 VM, starting fresh from a template configured in a workgroup.

  • Changed computer name and domain together, provided domain credential, received dialog indicating that domain join succeeded, rebooted, and found that I had a good domain trust relationship.

  • Joined domain, provided domain credential, received dialog indicating that domain join succeeded, clicked "Change" button in "System Properties" dialog again, changed computer name, provided domain credential, rebooted, and found that I had a good domain trust relationship.

Obviously there are possible permutations if you bring in dodgy DC replication into play, changing the domain trust relationship with a command-line tool like netdom, and probably a whole host of other factors that could influence. In general, though, it looks like Windows XP (and likely every follow-on Windows version) can handle the change to both the computer name and the domain trust relationship together without a reboot between.

I'll probably still reboot between, personally.