JoinOptions Enum


Options for joining a computer to a domain

This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.

public enum JoinOptions
type JoinOptions = 
Public Enum JoinOptions


AccountCreate 2

Create account on the domain

DeferSPNSet 256

Writing SPN and DNSHostName attributes on the computer object should be deferred until the rename operation that follows the join operation

InstallInvoke 262144

Invoke during insatll

JoinReadOnly 2048

Use a readonly domain controller

JoinWithNewName 1024

Join the target machine with a new name queried from the registry. This options is used if the rename has been called prior to rebooting the machine

PasswordPass 128

Indicate that the password passed to the join operation is the local machine account password, not a user password. It's valid only for unsecure join

UnsecuredJoin 64

Perform an unsecure join

Win9XUpgrade 16

Join operation is part of an upgrade

Applies to