Windows Vista Tips

Windows Vista Tips > Newsgroups > Windows Server > Scripting > Re: VBScript to change Static IP Option to Dynamic IP Option

Reply
Thread Tools Display Modes

Re: VBScript to change Static IP Option to Dynamic IP Option

 
 
Pegasus [MVP]
Guest
Posts: n/a

 
      10-11-2009

"irsh19" <> wrote in message
news:...
>
> Hi All,
>
> Does anyone have a VBScript to Change the Static IP Option to Dynamic
> IP Option. I am having nearly 600 Client PCs (windows XP Pro) at my
> Branch office and all these are configured with Static IP Address
> before,now we are in plan to change Static IP Addresses to Dynamic IP
> Addresses, so I just need to know a VBScript to chnage the LAN TCP/IP
> Properties Option where all the clients are selected as Static IP to
> Dynamic IP. and also let me know how to implement this script on all
> these clients using GPO.
>
>
> Thanks and Regards
> Irsh....


Why re-invent the wheel? The command netsh.exe already has an inbuilt option
to modify IP address settings. To roll it out you could use psexec.exe
(www.sysinternals.com). Make sure to test it carefully. If you set an
incorrect address on a few hundred machines then you will have to visit a
few hundred machines in order to fix the problem . . .


 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Option to edit local security policy option is greyed out SBS Rocker Windows Server 7 11-12-2007 09:46 PM
No option for mail notification in sounds option BR Windows Vista Mail 3 08-01-2007 09:31 PM
One Click Option & Where To Start Menu From Option Needed KennyGK Windows Media Center 1 05-18-2007 07:06 PM
change from dynamic to static wan ip address D. Milton Windows Small Business Server 1 04-22-2006 12:24 AM
Re: Option 249 Classless Static Routes Phillip Windell Server Networking 2 04-02-2004 03:50 PM



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59