Solved

Adding a computer to a Windows 2003 domain remotely

Posted on 2006-07-22
1
479 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
1 Comment
 
LVL 83

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

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Join & Write a Comment

Short answer to this question: there is no effective WiFi manager in iOS devices as seen in Windows WiFi or Macbook OSx WiFi management, but this article will try and provide some amicable solutions to better suite your needs.
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…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

747 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

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now