Ad Code

Responsive Advertisement

Ticker

6/recent/ticker-posts

How to Perform an Offline Domain Join in Active Directory

DJOIN: offline junction

The djoin command allows to join a computer offline, this junction is done in two steps:

  • Provision of the post in the Active Directory with the generation of a metadata file.
  • Join the computer to the domain with the file.
domain : Active Directory domain name
machine : computer account name
savefile : location and name of the file containing the metadata.

djoin /provision /domain DDCO /machine PC0577 /savefile C:\PC0577_join

or

djoin /provision /domain DDCO /machine PC0577 /savefile C:\PC0577_join /reuse


requestodj : junction to offline domain at next reboot
loadfile : file containing the metadata
windowspath : Windows installation folder, it is to use the following variables in the command% systemroot% or% windir%
localos : target the local operating system

djoin /requestodj /loadfile D:\PC0577_join /windowspath %windir% /localos

and

Restart-Computer