This is an amazing feature that I like to use. Joining a computer to a Domain is not a big deal. But just think if you have hundred of computers to connect to a domain. Normally you can use a script in each computer to join them to the domain. The commands given below will help you to do so. Also I know some administrators configure computers before join them to the domain. In that case this method is a good way to connect the computer before you connect it to the network.
You can configure this in each computer with you and later you can take the computer to the location and connect it to the network.
The magic is when the computer boots it will automatically connect to the domain,
Enough talking, Lets get it done.
Use following provisioning command (Please note you should run Command prompt in Administrator mode )
Djoin /provision /domain “DOMAIN_Name” /machine “Computer_Name” /savefle c:\sharedfiles\”filename.txt”
- Use your domain name in “Domain_name”
- Use your computer name in “Computer_Name”
- Give a name for the text file in “filename.txt”
See following Example
Djoin /provision /domain nimnet.com /machine nimnetpc1 /savefle c:\sharedfiles\data.txt
Go to the client computer and copy the the text file to it in a folder and run following command.
Djoin Command
Djoin /requestoDJ /loadfile “Text File path” /wndowspath %systemRoot% localos
See following Example
No comments:
Post a Comment