Solved

Remove workstation from domain and rename

Posted on 2004-09-27
2
716 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

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

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…
One of my most closely kept secrets is revealed in this discussion How to output text on the same line This question was recently posted in EE by Simon336697 (http://www.experts-exchange.com/Programming/Languages/Scripting/Shell/Batch/Q_2459…
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.

623 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