Solved

Adding a computer to a Windows 2003 domain remotely

Posted on 2006-07-22
1
483 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 84

Accepted Solution

by:
oBdA earned 500 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

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

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…
A big percent of today’s marketing activity is performed through the online environment. The marketing strategies that have existed a decade ago no longer relate to what’s happening today. We’re currently facing a revolutionary era, called the digit…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

739 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