NETDOM REMOVE machine /Domain:domain /UserD:user /PasswordD:[password | /UserO:user /PasswordO:[password | /REBoot[:Time ...

NETDOM REMOVE machine [/Domain:domain] [/UserD:user]
           [/PasswordD:[password | *]]
           [/UserO:user] [/PasswordO:[password | *]]
           [/REBoot[:Time in seconds]] [/Force]
           [/SecurePasswordPrompt]

NETDOM REMOVE Removes a workstation or server from the domain.

machine is the name of the computer to be removed

/Domain         Specifies the domain in which to remove the machine

/UserD          User account used to make the connection with the domain
                specified by the /Domain argument

/PasswordD      Password of the user account specified by /UserD.  A * means
                to prompt for the password

/UserO          User account used to make the connection with the machine to be
                removed

/PasswordO      Password of the user account specified By /UserO.  A * means
                to prompt for the password

/REBoot         Specifies that the machine should be shutdown and automatically
                rebooted after the Remove has completed.  The number of seconds
                before automatic shutdown can also be provided.  Default is
                30 seconds

/Force          Forces the unjoin of the machine from the domain even if the 
                domain is not found or does not contain the matching computer 
                object.

/SecurePasswordPrompt 
                Use secure credentials popup to specify credentials. This
                option should be used when smartcard credentials need to be
                specified. This option is only in effect when the password 
                value is supplied as *
English
English (United States)
Deutsch (Deutschland)
German (Germany)
Español (España)
Spanish (Spain)
italiano
Italian
日本語
Japanese
한국어
Korean
Português
Portuguese
Русский
Russian