Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Remove workstation from domain and rename

Posted on 2004-09-27
2
Medium Priority
?
719 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 2000 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: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering 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

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…
Being a system administrator some time we require to do things remotely, one of them is installing software. Here I am going to tell you how to install software through wmic (Windows management instrument console). I am not at all saying that this i…
Have you created a query with information for a calendar? ... and then, abra-cadabra, the calendar is done?! I am going to show you how to make that happen. Visualize your data!  ... really see it To use the code to create a calendar from a q…
In this video, Percona Solution Engineer Rick Golba discuss how (and why) you implement high availability in a database environment. To discuss how Percona Consulting can help with your design and architecture needs for your database and infrastr…

721 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