General discussion

Locked

Change WINS enrty in Registry by using s

By royceeb ·
I need to find a way to create a script to change the WINS entry in the registry on 660 PCs. Since DHCP is not an option, using scripts I need to get past the subkey for the specific NICs on each PC. Since the NICs are not all the same, the sub keyunder HKLM\System\CurrentControlSet\Services\NetBT\Adapters is different. Hence I need to find a wild card that will allow me to put in the script, a way to get past this road block to the next key to change the WINS entry. Hoofing to to all PCs is not a desired option. HELP!!!

This conversation is currently closed to new comments.

7 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Comments

Collapse -

Change WINS enrty in Registry by using s

by dmiles In reply to Change WINS enrty in Regi ...

Not familiar with scripts,yet I hope that these will put you on the right track
*Registry Related Methods
WSHShell.Popup "create key HKCU\MyRegKey with value'Top Level Key'
WSHShell.RegWrite HKCU\MyRegKey\", "Top level key"
WSHShell.Popup "Create key HKCU\MyRegKey\Entry with value 'Second level key'"
WSHShell.RegWrite "HKCU\MyRegKey\Entry\", "Second level key
For more info
http:/technet.microsoft.com/
Microsoft Knowledge Base:http://support.microsoft.com
Microsoft Scriting Web page
http://msdn.microsoft.com/scripting/default.htm

Collapse -

Change WINS enrty in Registry by using s

by royceeb In reply to Change WINS enrty in Regi ...

Poster rated this answer

Collapse -

Change WINS enrty in Registry by using s

by TechAdmin In reply to Change WINS enrty in Regi ...

You probably find an answer to your question.
you should close it.

Collapse -

Change WINS enrty in Registry by using s

by royceeb In reply to Change WINS enrty in Regi ...

The question was auto-closed by TechRepublic

Collapse -

Change WINS enrty in Registry by using s

Are you still looking for a way to change the WINS entry in the registry? or did you go straight to DNS? why isn't DHCP an option? and where are you going to put this script? on each machine? or on the server that could be your DHCP server?
What are you trying to accomplish in the end?
Good Luck,

Collapse -

Change WINS enrty in Registry by using s

by royceeb In reply to Change WINS enrty in Regi ...

The question was auto-closed by TechRepublic

Collapse -

Change WINS enrty in Registry by using s

by royceeb In reply to Change WINS enrty in Regi ...

This question was auto closed due to inactivity

Back to Desktop Forum
7 total posts (Page 1 of 1)  

Related Discussions

Related Forums