djoin.exe

Associated Error Codes

Below lists error codes and symbolic names found for this module.

CodeFound inDescription
0x400003e81011Usage: djoin.exe [/OPTIONS] /PROVISION - Provision a computer account in the domain /DOMAIN - of the domain to join /MACHINE - Host of the computer joining the domain /MACHINEOU - Optional where the account is created /DCNAME - Optional to target for account creation /REUSE - Reuse any existing account (password will be reset) /SAVEFILE - Save provisioning data to a file at /NOSEARCH - Skip account conflict detection, requires DCNAME (faster) /DOWNLEVEL - Support using a Windows Server 2008 DC or earlier /PRINTBLOB - Return base64 encoded metadata blob for an answer file /DEFPWD - Use default machine account password (not recommended) /ROOTCACERTS - Opt. include root Certificate Authority certificates. /CERTTEMPLATE - Optional of machine certificate template. Includes root Certificate Authority certificates. /POLICYNAMES - Opt. semicolon-separated list of policy names. Each name is the displayName of the GPO in AD. /POLICYPATHS - Opt. semicolon-separated list of policy paths. Each path is a path to a registry policy file. /NETBIOS - Opt. Netbios of the computer joining the domain. /PSITE - Opt. of persistent site to put the computer joining the domain in. /DSITE - Opt. of dynamic site to initially put the computer joining the domain in. /PRIMARYDNS - Opt. of primary DNS domain of the computer joining the domain. /REQUESTODJ - Request offline domain join at next boot /LOADFILE - specified previously via /SAVEFILE /WINDOWSPATH - to the Windows directory in an offline image /LOCALOS - Allows /WINDOWSPATH to specify the locally running OS. This command must be run as a local Administrator. This option requires a reboot for changes to be applied. Examples: To provision a computer account in the domain: djoin.exe /PROVISION /DOMAIN /MACHINE /SAVEFILE Note: Other parameters are optional To request the local machine to perform an offline domain join: djoin.exe /REQUESTODJ /LOADFILE /WINDOWSPATH Note: Other parameters are optional
0x400003e91011Advanced options: /DUMP - Dump a provisioning blob's contents from /PROVISION - Provision a computer account in the domain /PRIMEREG - Stores blob in local registry, re-run djoin.exe to simulate setup. Then reboot to complete the ODJ. This option requires that you are running as an administrator. /REQUESTODJ - Request offline domain join at next boot /PRIMEREG - Stores blob in local registry, re-run djoin.exe to simulate setup. Then reboot to complete the ODJ. This option requires that you are running as an administrator. /PROVISIONDATA - Output from a previous PROVISION invocation /SAVETOHIVE - Store results of a /PROVISION operation to a registry hive at . /TEST - Test mode, NetJoinDomain is not actually called /FORCEERROR - Test mode only, NetJoinDomain failure simulated
0x400003ea1011DomainDnsPolicy: Name: %1!wZ! DnsDomainName: %2!wZ! DnsForestName: %3!wZ! DomainGuid: %4!s! Sid: %5!s!
0x400003eb1011DcInfo: DomainControllerName: %1!s! DomainControllerAddress: %2!s! DomainControllerAddressType: 0x%3!x! DomainGuid: %4!s! DomainName: %5!s! DnsForestName: %6!s! Flags: 0x%7!x! DcSiteName: %8!s! ClientSiteName: %9!s!
0x400003ec1011Blob version: %1!d! Blob size: %2!d!
0x400003ed1011lpDomain: %1!s! lpMachineName: %2!s! lpMachinePassword:
0x400003ee1011Options: 0x0
0x400003ef1011Unknown version!
0x400003f01011Failed to open the registry key %1!s!: 0x%2!x!.
0x400003f11011Failed to create the registry key %1!s!: 0x%2!x!.
0x400003f21011Successfully stored the encoded provisioning blob in [%1!s!] beneath [HKLM\\%2!s!].
0x400003f31011Successfully provisioned [%1!s!] in the domain [%2!s!].
0x400003f41011Failed to provision [%1!s!] in the domain [%2!s!]: 0x%3!x!.
0x400003f51011TESTMODE, decoding...
0x400003f61011The PROVISIONDATA value is not valid: 0x%1!x!.
0x400003f71011The base64 blob was decoded, unpacking...
0x400003f81011The PROVISIONDATA value could not be unpacked: 0x%1!x!.
0x400003f91011The blob decoded successfully. Printing...
0x400003fa1011Failed to save provisioning data to the file [%1!s!]: 0x%2!x!.
0x400003fb1011Provisioning data was saved successfully to [%1!s!].
0x400003fc1011Loading provisioning data from the following file: [%1!s!].
0x400003fd1011Failed to load provisioning data from the file [%1!s!]: 0x%2!x!.
0x400003fe1011Base64 decoding blob...
0x400003ff1011The decoded value from the file [%1!s!] is not valid: 0x%2!x!.
0x400004001011The provisioning data could not be unpacked: 0x%1!x!.
0x400004011011Failed to create the registry value [%1!s!]: 0x%2!x!.
0x400004021011/REQUESTODJ operates on a Windows image. Supply a path to this image via /WINDOWSPATH.
0x400004031011Loading provisioning data from the following file: [%1!s!].
0x400004051011The provisioning data could not be loaded: 0x%1!x!.
0x400004061011Failed to prime provisioning data in the registry: 0x%1!x!.
0x400004071011Provisioning data is primed in the registry, Run djoin.exe again to simulate setup.
0x400004081011The provisioning data is not valid: 0x%1!x!.
0x400004091011The PROVISIONDATA value could not be unpacked: 0x%1!x!.
0x4000040a1011This operating system is configured as a domain controller. The operation is not supported.
0x4000040b1011A reboot is required for changes to be applied.
0x4000040c1011Failed to load provision data from the file [%1!s!]: 0x%2!x!
0x4000040d1011Computer provisioning completed successfully.
0x4000040e1011Provisioning the computer...
0x4000040f1011/PRIMEREG operates on the local registry. Therefore /WINDOWSPATH is an invalid parameter in combination with /PRIMEREG.
0x400004101011/REQUESTODJ only operates on an offline (not running) Windows image by default. The path supplied [%1!s!] is the current running Windows installation. To override the default behavior and target the currently running local operating system also specify /LOCALOS.
0x400004111011The operation is not supported.
0x400004121011Invalid input parameter combination. PROVISION requires DOMAIN, MACHINE and SAVEFILE: 0x%1!x!.
0x400004131011It may be necessary to specify /REUSE when running djoin.exe again with the same machine name. Computer provisioning failed: 0x%1!x!.
0x400004141011Provisioning string (%1!ul! bytes): %2!s!
0x400004151011The offline domain join request failed: 0x%1!x!.
0x400004161011The offline domain join request completed. [TESTMODE - Dumping blob]
0x400004171011The provisioning request completed successfully.
0x400004181011The simulated setup offline domain join request failed: 0x%1!x!.
0x400004191011Simulated setup offline domain join request completed successfully. A reboot is required for changes to be applied.
0x4000041a1011Options:
0x4000041b1011%1!s!
0x4000041c1011/LOCALOS operates on the local registry, this OS is configured as a domain controller. The operation is not supported.
0x4000041d1011/LOCALOS specified but the current OS does not support domain join functionality.
0x4000041e1011/DSITE and /PSITE may not be specified at the same time.
54 entries