Setting up offline domain join
If you want your Windows endpoints to join an Active Directory (AD) domain, you can use Tanium Provision to set up an ODJ process instead of updating unattend.xml answer files with clear text passwords that contain the domain join credentials. Provision uses TaniumODJService, a small HTTP service that uses the Microsoft djoin command, to create a computer account in the OU specified in the operating system bundle.
Before you begin
Make sure that you create a firewall rule to allow inbound connections to the port that is specified in Configure PXE settings.
(Optional) Configure ODJ settings
- From the Main menu, go to , click Settings
and then click Configuration if needed.
- In the Offline Domain Join (ODJ) section, configure the ODJ options.
- Enter a Client Port. The default value is 8100.
- (Optional) Specify the Duration in hours or days to set the maximum amount of time that the ODJ process can run. The default is 750 hours.
- (Optional) Specify the Max Computer Account Blobs to set the maximum number of times the ODJ process can be called. The default is 1000 blobs.
- Click Save.
Create an ODJ endpoint
You must enable the ODJ service on at least one Provision endpoint. The endpoint does not have to run the Tanium PXE service. The endpoint must have reliable access to Active Directory.
(Optional) Reuse a computer name
You can reuse a computer name as part of the ODJ process. You might reuse a name to simplify the domain join or to comply with organizational naming standards. You identify a name for reuse by adding it to the Allowed Computer Names table.
- Add the computer name to the Allowed Computer Names table.
- From the Main menu, go to > Offline Domain Join.
- Click Add Computer Name for Reuse.
- Add one computer name on each line, up to 10 lines.
- Add the number of days (1-7) that the computer name is available for reuse and click Save.
- Add the name as a ComputerName key value pair in an OS bundle for the endpoint. For more information, see Create a Windows OS bundle.
View computer names available for reuse
You can view the computer names that are available for reuse during the ODJ process in the Allowed Computer Names table. Provision automatically removes a name from the table after the specified number of days has lapsed.
- From the Main menu, go to .
- Go to the Allowed Computer Names table.
- View the available names for reuse. The table contains the following columns:
- Name: Computer name allowed for reuse
- Expiration Time: The date and time on which the name will no longer be allowed for reuse
- Created: The date and time when the name was initially added to the Allowed Computer Names table
- Created By: The user who added the name to the Allowed Computer Names table
- Last Modified: The date and time when the name or its expiration time was most recently modified
- Last Modified By: The user who most recently modified the name or its expiration time
View computer name reuse status
You can view the computer names that were requested for reuse during the ODJ process. Periodically review this list to consider adding or removing names in the Allowed Computer Names table.
Manage computer names for reuse
You can edit or delete computer names or the expiration time.
- From the Main menu, go to select the name in the Allowed Computer Names table.
- Click
Edit or
Delete Selected and save the necessary changes.
Delegate control to create computer accounts by the ODJ service
Because the ODJ service can create computer accounts in AD, it is important to limit the scope where the service can make changes to AD. It is highly recommended to limit the ODJ service to create only computer accounts in a single AD OU.
- Open Active Directory Users and Computers and connect to the domain where you want the computer accounts created.
- Right-click the domain, select , enter a name for the OU, and then click OK.
- Right-click the OU, click Delegate Control..., click Next, and then click Add....
(Optional) Add certificates and group policy templates
ODJ blobs can optionally contain additional certificates and group policy templates by manually adding them as key value pairs in an OS bundle.
- From the Main menu, go to .
- In a new or existing OS bundle, in the Key Value Entries section, click Add Key Value Pair.
- Specify the boolean value to include root certificates in AD in the generated ODJ blob.
- For the Key field, select Offline Domain Join: IncludeRootCerts.
- For the Value field, enter 1.
- Specify the name of the certificate template to use when generating a new certificate in the ODJ blob for the computer.
- For the Key field, select Offline Domain Join: CertTemplate.
- For the Value field, enter the certificate template name.
- Specify the group policy objects to include in the ODJ blob for the computer.
- For the Key field, select Offline Domain Join: PolicyNames.
- For the Value field, enter a comma-separated list of names. For example, DirectAccess Client Settings or Autoenroll Machine Certificates,Default Domain Policy.
Define ODJService and DomainName key value pairs
Create an OS bundle that includes the ODJService and DomainName key value pairs. For more information, see Create a Windows OS bundle.