Hi. Here's how we used to do this. In AD first create a new machine account. WRK009 or something not in use, for example.
Log on to the machine as a local admin and rename the computer to whatever you created in AD and join it to the WORKGROUP.
Reboot the computer and join it to the domain.
Turn on file and printer sharing after you join it to the WORKGROUP, then join the domain.