Solved

Remove workstation from domain and rename

Posted on 2004-09-27
2
713 Views
Last Modified: 2012-06-21

All my workstations are either XP or 2000
I've got about 250 computers that need to be renamed. I would like to automate as much of this as possible.

1) remove from domain
2) rename
3) rejoin domain

I'd probably have to run it off of a floppy which is fine.
Is this possible or am I asking too much of the good old faithful batch file?

Thanks
Yohaheho
0
Comment
Question by:Yohaheho
[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
2 Comments
 
LVL 10

Accepted Solution

by:
Longbow earned 500 total points
ID: 12168008
http://www.experts-exchange.com/Operating_Systems/WinXP/Q_21140139.html#12124392

Your question is partly answered in this above thread.
Pstools have most of the tools you need.
You need to have netdom.exe and baptize.exe

Check the other links. They are good infos.

The script is not so hard to create.
A .bat file is enough.
0
 

Author Comment

by:Yohaheho
ID: 12199307

Longbow,

Netdom on it's own is what did the trick.

Thanks
Yohaheho
0

Featured Post

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying 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

Using dates in 'DOS' batch files has always been tricky as it has no built in ways of extracting date information.  There are many tricks using string manipulation to pull out parts of the %date% variable or output of the date /t command but these r…
TOMORROW TOMORROW.BAT is inspired by a question I get asked over and over again; that is, "How can I use batch file commands to obtain tomorrow's date?" The crux of this batch file revolves around the XCOPY command - a technique I discovered w…
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…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

726 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