DHCP to static via policy or script

April 1, 2009 at 08:34:34
Specs: XP, various
I originally posted this in programming, but perhaps this is a better forum...sorry for the double post

We are moving from a DHCP environment to a static environment and the prospect of touching each machine (600+) does not sound nice. Is there a way to capture the current IP address assigned via DHCP and use something like netsh to convert it into a static IP?

thanks for looking at this post

See More: DHCP to static via policy or script

Report •

April 1, 2009 at 08:50:01
Do the computer names of all pcs on network have a common naming convention, like pc1 pc2 pc3 etc.. if so you can do it through vbscript.

Report •

April 1, 2009 at 08:54:51
Yes they do. I would love to be able to do that, but I will admit that I would not know where to start

Report •

April 1, 2009 at 09:17:05
I will have a look but it is a bit involved. Watch this space, i quite enjoy doing these things anyway, so what is the naming convention?

Report •

Related Solutions

April 1, 2009 at 09:28:07
I'm at a school so it is dependent on the building number and room number.


building 4, room 200, computer 1 is:


Building 2, room 145 , computer 25 is:


not very consistent naming convention for the purposes of renaming, unless the script references a txt file or something..

I've played around with it, but have been unsuccessful up to this point

Report •

April 1, 2009 at 09:54:25
should be doable then i need a list of the number of building, rooms and number of pcs in each room.

Report •

Ask Question