PC Review


Reply
Thread Tools Rating: Thread Rating: 1 votes, 1.00 average.

Changing the DNS Server Address on remote computers.

 
 
Guest
Posts: n/a
 
      10th Jan 2004
I need to change the DNS Server IP Address on 1000 computers, out which 200
have static address. I am looking for a way to change them remotely either
through WMI or netsh or any other method. I could not find the parameter
through WMI Script that can make the changes, and I think that finding the
interface for DNS would also be another challenge.

I need some help to scripts, documents or anything that might be helpful.

Thanks in advance.
IK



 
Reply With Quote
 
 
 
 
Ulf B. Simon-Weidner
Guest
Posts: n/a
 
      10th Jan 2004
In article <(E-Mail Removed)>, says...
> I need to change the DNS Server IP Address on 1000 computers, out which 200
> have static address. I am looking for a way to change them remotely either
> through WMI or netsh or any other method. I could not find the parameter
> through WMI Script that can make the changes, and I think that finding the
> interface for DNS would also be another challenge.
>
> I need some help to scripts, documents or anything that might be helpful.
>
> Thanks in advance.
> IK
>

Hi IK,

what Client OS are we talking about?

Gruesse - Sincerely,

Ulf B. Simon-Weidner
 
Reply With Quote
 
Deji Akomolafe
Guest
Posts: n/a
 
      10th Jan 2004
http://www.akomolafe.com/DesktopModu...?DocumentID=25

HTH

Deji

<(E-Mail Removed)> wrote in message news:(E-Mail Removed)...
> I need to change the DNS Server IP Address on 1000 computers, out which

200
> have static address. I am looking for a way to change them remotely either
> through WMI or netsh or any other method. I could not find the parameter
> through WMI Script that can make the changes, and I think that finding the
> interface for DNS would also be another challenge.
>
> I need some help to scripts, documents or anything that might be helpful.
>
> Thanks in advance.
> IK
>
>
>



 
Reply With Quote
 
Ulf B. Simon-Weidner
Guest
Posts: n/a
 
      11th Jan 2004
In article <(E-Mail Removed)>, Ulf B. Simon-
Weidner says...
> In article <(E-Mail Removed)>, says...
> > I need to change the DNS Server IP Address on 1000 computers, out which 200
> > have static address. I am looking for a way to change them remotely either
> > through WMI or netsh or any other method. I could not find the parameter
> > through WMI Script that can make the changes, and I think that finding the
> > interface for DNS would also be another challenge.
> >
> > I need some help to scripts, documents or anything that might be helpful.
> >
> > Thanks in advance.
> > IK
> >

> Hi IK,
>
> what Client OS are we talking about?
>

Reason for that Question:
If we are talking about Windows XP (or Windows NT) you are able to set this via
Group Policy (easier than scripting it for all clients).

On Windows XP it's in the GPO underneath Computer Configuration ->
Administrative Templates -> Network -> DNS Client -> DNS Servers

On Windows NT you need to create your own ADM Template to set this in the
Registry.

On Windows 2000 you need to use a script since there's no GPO provided and the
settings are in the Registry underneath the Network Adapters GUID which is
usually not static for each client in the company.

Gruesse - Sincerely,

Ulf B. Simon-Weidner
 
Reply With Quote
 
Lee Li [MSFT]
Guest
Posts: n/a
 
      12th Jan 2004
Dear IK,

Thank you for posting. And thank Ulf B and Deji very much for their helpful
information.
You can also take a look at the following script example:
http://www.microsoft.com/technet/tre...hnet/ScriptCen
ter/network/Scnet116.asp

Hope the above information helps. Have a nice day!

Sincerely,

Lee Li
MCSE2000, MCDBA2000
Microsoft Partner Online Support


Get Secure! - www.microsoft.com/security

====================================================
When responding to posts, please "Reply to Group" via
your newsreader so
that others may learn and benefit from your issue.
====================================================
This posting is provided "AS IS" with no warranties, and
confers no rights.

 
Reply With Quote
 
Guest
Posts: n/a
 
      13th Jan 2004
Its all Windows 2000.

Thanks
IK
"Ulf B. Simon-Weidner" <nospam2-(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> In article <(E-Mail Removed)>, says...
> > I need to change the DNS Server IP Address on 1000 computers, out which

200
> > have static address. I am looking for a way to change them remotely

either
> > through WMI or netsh or any other method. I could not find the parameter
> > through WMI Script that can make the changes, and I think that finding

the
> > interface for DNS would also be another challenge.
> >
> > I need some help to scripts, documents or anything that might be

helpful.
> >
> > Thanks in advance.
> > IK
> >

> Hi IK,
>
> what Client OS are we talking about?
>
> Gruesse - Sincerely,
>
> Ulf B. Simon-Weidner



 
Reply With Quote
 
Lee Li [MSFT]
Guest
Posts: n/a
 
      14th Jan 2004
Dear IK,

Thank you for your update.

Since you are using Windows 2000, you can use the group policy to meet your
requirement.
You can create a custom Group Policy template to meet your requirement:

01. copy/paste the following to a DnsUpdateOnAllAdapters.adm file:


Class Machine

Category !!AdministrativeServices

Category !!DNSClient


Policy !!DnsUpdateOnAllAdapters
Keyname "System\CurrentControlSet\Services\Netlogon\Parameters"
Explain !!DnsUpdateOnAllAdapters_Help
Valuename "DnsUpdateOnAllAdapters"
End Policy


End Category ;;DNS Client

End Category ;;AdministrativeServices

[strings]
AdministrativeServices="System"
DNSClient="DNS Client"
DnsUpdateOnAllAdapters="Enable Dynamic Update On All Adapters"
DnsUpdateOnAllAdapters_Help="Restore Pre-SP1 DDNS functionality."

;End of Strings
02. Open Active Directory Users and Computers and right-click the target
domain or OU. Press Properties.
03. Select the Group Policy tab and edit the GPO to which you wish to add
the custom policy.

04. Navigate to Computer Configuration / Administrative Templates.

05. On the View menu, clear the Show Policies Only box.

06. Right-click Administrative Templates and press Add/Remove Templates.

07. Press Add and select the DnsUpdateOnAllAdapters.adm file. Press Close.

08. Navigate to Computer Configuration / Administrative Templates / System
/ DNS Client.

09. Double-click Enable Dynamic Update On All Adapters.

10. Press Enable and OK.

Hope the above information helps. Have a nice day!

Sincerely,

Lee Li
MCSE2000, MCDBA2000
Microsoft Partner Online Support


Get Secure! - www.microsoft.com/security

====================================================
When responding to posts, please "Reply to Group" via
your newsreader so
that others may learn and benefit from your issue.
====================================================
This posting is provided "AS IS" with no warranties, and
confers no rights.

 
Reply With Quote
 
New Member
Join Date: Oct 2011
Posts: 1
 
      26th Oct 2011
Here is a good article that explains in detail how to change or set ip address, gateway, subnet mask, or dns servers.

http://itswapshop.com/content/how-se...motely-windows

That should help
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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
Changing ip address of 500 computers bunto Windows Networking 3 28th Jun 2006 02:59 PM
Remote computers IP Address jbeane@csiroad.com Microsoft VB .NET 0 10th Aug 2004 01:53 PM
Remote Desktop with changing IP address John Smith Windows XP Work Remotely 3 19th Jul 2004 06:21 PM
How can I copy a file securely (encryption) from remote computers easily (Mac and Linux) to my Win 2000 Server once a day? jake Microsoft Dot NET 2 6th Jul 2004 04:23 PM
Accessing multiple computers thourgh one remote desktop web server? =?Utf-8?B?R2FycmV0dA==?= Windows XP Work Remotely 3 21st Dec 2003 05:13 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 02:51 AM.