PDA

View Full Version : Need to Change all clients to use DHCP



Anonymous
05-21-1999, 12:48 PM
I need to write a script that will change our WinNT and Win95 client base from manual ip entries to use DHCP, I also need to change the manual WINS entries to something else. Has anyone worked this problem before? I appreciate any assistance.

Sorry about the re-post

Steven.Hunter
05-28-1999, 07:30 AM
Just had a quick play in SMS Installer to see if this would be easy to script up .. and it seemed to be relatively straightforward..

I'll post the pseudocode to this forum when I get back from my coffee break :-) (can also probably provide an SMS generated executable and source code that will turn on DHCP on a Win95/NT box)...

Cheers,
Steve

Anonymous
06-17-1999, 06:18 PM
have your techs manually make the changes on all connected nodes. have a pizza dhcp party day. it's the long way but the sure way

peace

PatrickOBrien
06-21-1999, 03:42 AM
here's the trick for NT haven't checked 95 yet.
I don't know about creating a script for this action because you must affect the registry directly. Using the Remote Registry Service you need to access each station and load the Hkey_Local_machine hive. Once that's accomplished go to:

use >>> Regedt32

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Servic es\"Name of Nic driver"\Parameters\Tcpip]


"EnableDHCP"=dword:00000000 <<<< (Change this value to 1)

Changes take effect immediately

You could have say 4 or 5 of your admins dedicate themselves for the day changing these values.

say 50 stations per admin per 8 hr work day. would only take a couple days. About Wins >>>jeez not sure on that one

Anonymous
06-22-1999, 03:44 PM
You could easily use a kixtart logon script which can enter changes to the registry such. Check out this page: http://wwwcip.informatik.uni-erlangen.de/~orknorr/kixreg.html

helped me a lot
ciao