Henry, Changing TCP/IP in not very dificult. This can be done using Win32::Ole and the WMI library. There are plenty of PERL/WMI samples out there, and the list of methods can be found at:
http://msdn.microsoft.com/library/en-us/wmisdk/wmi/win32_networkadapterconfiguration.asp To change out the stack or security provider is much harder problem. The easiest way that comes to mind is to use the Microsoft utility called Sysprep. This will force the machine in to the last few steps of setup. You can supply a SysPrep.inf answer file that will set up all the network and domain security. There are command line parameters to skip HW detection or regenerating SIDS. The only gotcha I can think of is I think the Novell Client changes out the gina, and it may not be get changed back properly. James Krummel -----Original Message----- >From: henry isham [mailto:[EMAIL PROTECTED]] >Sent: Thursday, January 23, 2003 4:55 PM >To: [EMAIL PROTECTED]; >[EMAIL PROTECTED] >Subject: Scripting Network Settings Changes > > >Hi all, > >I'm trying to write a script (preferably Perl) so that it can >automatically remove certain hard coded DNS/WINS entries from >the TCP/IP configs of a Windows 2K Pro client. I'm also trying >to un-install the Novell Client from the same machines. I looked >around (Technet and Platform SDK) and found references to >rundll32.exe, but all I can do is automate the launching of the >Network Connections dialog. Am I missing something here, or is this >just not do-able with a script? Thanks in advance for your help. > > >-Henry _______________________________________________ Perl-Win32-Admin mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs