Batch - Bring Together Domain Batch File
This is a batch file to automatically bring together the figurer to the specified domain, the purposes of the batch file every bit below :-
Note that the "netdom" ascendency is NOT AVAILABLE inward touchstone Windows vii OS, it must live installed separately. Download & install Microsoft Remote Server Administration Tools (RSAT).
Once installed you lot request to enable the "AD DS Command-Line Utility" earlier you lot tin commence using the "netdom" command.
- To avoid typography mistake inward domain name.
- To avoid mismatch username as well as password when joining to domain.
netdom bring together %COMPUTERNAME% /domain:[domain name] /userd:[domain\username] /passwordd:[password] |
Related
- %COMPUTERNAME% = Computer's Name, a variables.
- [domain name] = The actual domain cite (eg. google.com)
- [domain\username] = The actual domain's username (eg. google.com\administrator)
- [password] = The username's password.
Note that the "netdom" ascendency is NOT AVAILABLE inward touchstone Windows vii OS, it must live installed separately. Download & install Microsoft Remote Server Administration Tools (RSAT).
Once installed you lot request to enable the "AD DS Command-Line Utility" earlier you lot tin commence using the "netdom" command.
0 Response to "Batch - Bring Together Domain Batch File"
Post a Comment