So I got this error after MDT had finished loading the image. I couldn't figure why it happened with some machines and others even thugh I was using similar roles and task sequence. What happened was that I had failed to set the write and reset properties on the account. These need to be set for the group that contains the MDT user that joins the domain. This does not fix immediately, rather the computer needs to be reloaded.