?
Solved

Adding a computer to a Windows 2003 domain remotely

Posted on 2006-07-22
1
Medium Priority
?
486 Views
Last Modified: 2008-02-01
Maybe this is a weird question but I have a Windows 2003 domain controller that is on a client site 8 hours away. They have order 15 new computers that were shipped directly to us. Our only access to their network is via RDP. I need to prep these computers so that the users do not have to join them to the domain themselves. We already have all the applications setup to install at logon based on GP's on OU's. How can I prep these computers to automatically join the domain or have them already joined before sending them to the client? I just want them to plug them in and start working.
0
Comment
Question by:dsechrist
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 85

Accepted Solution

by:
oBdA earned 1500 total points
ID: 17160604
If you don't have access to their domain via VPN, there's no way to add them at your place.
The computers need to be joined to the domain by a user that is a local administrator and knows the credentials of a domain administrator (don't rely on the 10 machines a regular user can add!).
So you could add a batch script on the desktop, so that a domain administrator can log on and then only has to execute the script. You can use netdom.exe in this script to join the machine (it's included in the Support Tools on the install CD).

@echo off
REM *** Name of the domain administrator used to join the machine to the domain:
set JoinAdmin=Administrator
REM *** Name of the AD domain:
set JoinDomain=fqdn.of.the.ad.domain
REM *** Timeout before reboot in seconds:
set TimeOut=30
REM *** Optional: DN of the OU where the machine account should be created:
REM *** Format: ou=Some OU,ou=Some Top Level OU,dc=domain,dc=local
set JoinOU=

if not "%JoinOU%"=="" set JoinOU=/OU:"%JoinOU%"
REM *** Ask for the password, join the machine, reboot.
netdom.exe join %ComputerName% /domain:%JoinDomain% %JoinOU% /UserD:"%JoinAdmin%" /PasswordD:* /Reboot:%TimeOut%
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

NTFS file system has been developed by Microsoft that is widely used by Windows NT operating system and its advanced versions. It is the mostly used over FAT file system as it provides superior features like reliability, security, storage, efficienc…
Hey fellow admins! This time, I have a little fairy tale for you. As many tales do, it starts boring and then gets pretty gory. I hope you like it. TL;DR: It is about an important security matter, you should read it if you run or administer Windows …
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …
In this video you will find out how to export Office 365 mailboxes using the built in eDiscovery tool. Bear in mind that although this method might be useful in some cases, using PST files as Office 365 backup is troublesome in a long run (more on t…
Suggested Courses
Course of the Month13 days, 15 hours left to enroll

801 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question