Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Remove workstation from domain and rename

Posted on 2004-09-27
2
Medium Priority
?
720 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
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

 [eBook] Windows Nano Server

Download this FREE eBook and learn all you need to get started with Windows Nano Server, including deployment options, remote management
and troubleshooting tips and tricks

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The following is a collection of cases for strange behaviour when using advanced techniques in DOS batch files. You should have some basic experience in batch "programming", as I'm assuming some knowledge and not further explain the basics. For some…
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…
Video by: ITPro.TV
In this episode Don builds upon the troubleshooting techniques by demonstrating how to properly monitor a vSphere deployment to detect problems before they occur. He begins the show using tools found within the vSphere suite as ends the show demonst…
In a question here at Experts Exchange (https://www.experts-exchange.com/questions/29062564/Adobe-acrobat-reader-DC.html), a member asked how to create a signature in Adobe Acrobat Reader DC (the free Reader product, not the paid, full Acrobat produ…

916 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