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

Punkrulz

Somewhat eXPerienced
Joined
Dec 24, 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!
 

fitz

Woah.. I'm still here?
Staff member
Political User
Joined
Apr 26, 2004
Messages
4,082
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
 

Punkrulz

Somewhat eXPerienced
Joined
Dec 24, 2001
Messages
790
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.
 
Joined
Mar 11, 2004
Messages
3,454
Why dont you post the solution so the masses can have access to it. just my 2 cents.
 

Members online

Latest posts

Latest profile posts

Perris Calderon wrote on Electronic Punk's profile.
Hey ep!

All good with me, applying for microsoft mvp right now, should have done this a while ago.

Notifications don't work, I only found your response by comming back to hunt up some threads, if you want, give me your email address so we can keep in touch easier, mine is perriscalderon at gmail
Perris Calderon wrote on Electronic Punk's profile.
Ep, glad to see you come back and tidy up...did want to ask a one day favor, I want to enhance my resume , was hoping you could make me administrator for a day, if so, take me right off since I won't be here to do anything, and don't know the slightest about the board, but it would be nice putting "served administrator osnn", if can do, THANKS

Been running around Quora lately, luv it there https://tinyurl.com/ycpxl
Electronic Punk wrote on Perris Calderon's profile.
All good still mate?
Hello, is there anybody in there? Just nod if you can hear me ...

Forum statistics

Threads
62,012
Messages
673,446
Members
89,031
Latest member
MichaelPowers