- To avoid typography error in domain name.
- To avoid mismatch username and password when joining to domain.
netdom join %COMPUTERNAME% /domain:[domain name] /userd:[domain\username]
/passwordd:[password]
|
- %COMPUTERNAME% = Computer's Name, a variables.
- [domain name] = The actual domain name (eg. google.com)
- [domain\username] = The actual domain's username (eg. google.com\administrator)
- [password] = The username's password.
Note that the "netdom" command is NOT AVAILABLE in standard Windows 7 OS, it must be installed separately. Download & install Microsoft Remote Server Administration Tools (RSAT).
Once installed you need to enable the "AD DS Command-Line Utility" before you can start using the "netdom" command.
No comments:
Post a Comment