Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Options for joining a computer to a domain
This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.
[System.Flags] public enum JoinOptions
type JoinOptions =
Public Enum JoinOptions
Create account on the domain
Writing SPN and DNSHostName attributes on the computer object should be deferred until the rename operation that follows the join operation
Invoke during insatll
Use a readonly domain controller
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
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
Perform an unsecure join
Join operation is part of an upgrade