Domain – How, if possible, to join a computer to a domain when it is not in the domain geographically

active-directorydfsdomain

Is it possible to join a computer to a domain when it is not in the domain network? The user has company VPN connected when logged in to local account. But I am thinking once joined the domain via VPN, it will restart and there is no way to authenticate his domain account with the DC. Is there a way to inject the domain credentials into the computer before I restart it?

The user is stationed geographically separated from our office network. His computer was joined to the domain, configured and shipped to his location for use. Months down the road, the laptop crashed and had to be reformatted.

He currently access some resources via company VPN + remote desktop; while I can control his computer using the likes of TeamViewer and LogMeIn. However, I am struggling to get a mapping of the DFS drive. I have a strong feeling it is to do with permissions but the Windows "Unsepcified Error" shown each time a fail mapping occurs is not helpful at all for debugging and confirmation of problem.

Best Answer

This is possible and quite simple:

  1. Join the computer to the Domain using the VPN connection
  2. Restart the computer, have the user log in with previous LOCAL credentials.
  3. Start up your VPN again
  4. Have the user "Switch user" (do NOT log out of the local account)
  5. Login to the domain account.

And then your credentials should be cached.