Hi,

I think there is a program called "netdom" and "shutdown" in the w2k reskit
that will do the job.
Based on this logon script (for example) : 

logon, 
if temporary file doesn't exist
        use "netdom" to change the domain,
        create temporary file on the disk,
        (perhaps fix the autologon for the next boot ? )
        reboot the machine 
else
        if temporary file2 doesn't exist
                change the computername,
                create temporary file2 on the disk
                (remove the autologon ... ;-) )
                reboot the machine
        else
                usual logon
        endif
endif   

NB : To automate process, you can remotely fix "autologon" and launch
"shutdown /R /C" for each machine...

Yves
        
-----Original Message-----
From: hugh s [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 17, 2003 2:19 AM
To: [EMAIL PROTECTED]
Subject: domain change


I'm a low hours server helper pilot here so I don't know just 
what I'm asking. Is this a huge question?

We have 100 2k boxes on the floor that will change domains and
machine names in mid October.  The IS guy wants me to address
each individual machine with mouse in hand.  I'm not 
really all that enthusiastic about the approach.  I want to 
script it if I can.  As much as I can.  Maybe there's even a free
tool.  They are not going to spend a dime.

Here's my plan so far.  I've got Roth's "Windows NT" in my hand
and, modules aside, consider myself an intermediate Perl programmer.
I really am a server newbee.

This is what I plan.  First join a work group.  Then rejoin an
msdomain - the new one.  After that, rename the computer.

The shares that now fail I'd locate and point to the proper new
share points.  I assume here that these shares should be 
collected and recorded before all this msdomain change business.

I can't see any reason this couldn't be scripted - but what do I
know.  There's a reboot or two in here and I have no clue as to 
how to capture the system when it comes back up.

I'm not asking for anyone to write this, but some clues on what to do
would be helpful.

Thanks

If this is way out of line then we could spare the list.  Mail me.
Thanks again.



__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com
_______________________________________________
Perl-Win32-Admin mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
_______________________________________________
Perl-Win32-Admin mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to