VBScript to set desktops to use a primary and secondary wins server?

Punkrulz

Somewhat eXPerienced
Joined
24 Dec 2001
Messages
790
Hey guys,

Does anyone know a script that I can use, that I can apply via GPO, and have it so that the computers it applies to automatically set the Primary and Secondary Wins servers? I don't know anything about VBScripting so I'm at a loss, just trying to make things a bit easier.

Thanks!
 
DHCP scope options would be a much better place for this.

edit: failing that, a netsh command from dos would be my next choice.. (netsh interface ip set wins <ipadd>)

if you really must use vbscript.. give me a minute to work/test something
 
Actually this post can be deleted! :) Silly me forgot I posted this quite awhile back, and actually got a respone from KCNYChief with the appropriate script. I created a GPO for this and issued it via Computer Setup, and everything seems to be working. Can't use DHCP because this client is Statically Assigned IP addresses.
 
Why dont you post the solution so the masses can have access to it. just my 2 cents.
 

Members online

No members online now.

Latest profile posts

Also Hi EP and people. I found this place again while looking through a oooollllllldddd backup. I have filled over 10TB and was looking at my collection of antiques. Any bids on the 500Mhz Win 95 fix?
Any of the SP crew still out there?
Xie wrote on Electronic Punk's profile.
Impressed you have kept this alive this long EP! So many sites have come and gone. :(

Just did some crude math and I apparently joined almost 18yrs ago, how is that possible???
hello peeps... is been some time since i last came here.
Electronic Punk wrote on Sazar's profile.
Rest in peace my friend, been trying to find you and finally did in the worst way imaginable.

Forum statistics

Threads
62,015
Messages
673,494
Members
5,621
Latest member
naeemsafi
Back