Modify IP settings via group policy

  • Thread starter Thread starter Yuri Palagin
  • Start date Start date
Y

Yuri Palagin

Hello everybody.

In a win2k domain environment, suppose I need to modify the secondary
DNS-server's IP address setting on each user computer (w2k pro or XP
stations). Can I do this via a group policy?

What about the same task for w9x machines?

Thank you,

ypal
 
Yuri said:
In a win2k domain environment, suppose I need to modify the secondary
DNS-server's IP address setting on each user computer (w2k pro or XP
stations). Can I do this via a group policy?

Not directly, but you can use a computer startup script in
combination with netsh.

e.g.
netsh interface ip set dns "name-of-connection" static 192.168.1.1
netsh interface ip add dns "name-of-connection" 192.168.1.2 index=2
What about the same task for w9x machines?

GPOs will never work with 9x ... ;-)

Did you ever thaught about DHCP?

CU
Mark
 
Can you use DHCP to configure that?

Group Policy does not configure IP on clients. And it doesn't work on 98.

Senthil Prabakaran
 
Hi

Actually you can specify a DNS server from

Computer Configuration -> Administrative Templates -> Network -> DNS
Client -> DNS Servers.

These will override the DNS configuration set statically or via DHCP but
won't be displayed if you examine the configuration in the GUI or by using
ipconfig /all

Also, you won't be able to manage pre-Windows 2000 clients in this way.

DHCP is by far the better option.

HTH
--
Mark Renoden [MSFT]
Windows Platform Support Team
Email: (e-mail address removed)

Please note you'll need to strip ".online" from my email address to email
me; I'll post a response back to the group.

This posting is provided "AS IS" with no warranties, and confers no rights.
 
Cool. Learnt something new in Group Policy today.

The Explain text specifies that it works only on XP. Does Win2K support
this?

Mark Renoden said:
Hi

Actually you can specify a DNS server from

Computer Configuration -> Administrative Templates -> Network -> DNS
Client -> DNS Servers.

These will override the DNS configuration set statically or via DHCP but
won't be displayed if you examine the configuration in the GUI or by using
ipconfig /all

Also, you won't be able to manage pre-Windows 2000 clients in this way.

DHCP is by far the better option.

HTH
--
Mark Renoden [MSFT]
Windows Platform Support Team
Email: (e-mail address removed)

Please note you'll need to strip ".online" from my email address to email
me; I'll post a response back to the group.

This posting is provided "AS IS" with no warranties, and confers no
rights.

Senthil Prabakaran said:
Can you use DHCP to configure that?

Group Policy does not configure IP on clients. And it doesn't work on 98.

Senthil Prabakaran
 
Hi

I assume not if that's what the explain text says. I haven't had reason to
check :)

Cheers
--
Mark Renoden [MSFT]
Windows Platform Support Team
Email: (e-mail address removed)

Please note you'll need to strip ".online" from my email address to email
me; I'll post a response back to the group.

This posting is provided "AS IS" with no warranties, and confers no rights.

Senthil Prabakaran said:
Cool. Learnt something new in Group Policy today.

The Explain text specifies that it works only on XP. Does Win2K support
this?

Mark Renoden said:
Hi

Actually you can specify a DNS server from

Computer Configuration -> Administrative Templates -> Network -> DNS
Client -> DNS Servers.

These will override the DNS configuration set statically or via DHCP but
won't be displayed if you examine the configuration in the GUI or by
using ipconfig /all

Also, you won't be able to manage pre-Windows 2000 clients in this way.

DHCP is by far the better option.

HTH
--
Mark Renoden [MSFT]
Windows Platform Support Team
Email: (e-mail address removed)

Please note you'll need to strip ".online" from my email address to email
me; I'll post a response back to the group.

This posting is provided "AS IS" with no warranties, and confers no
rights.

Senthil Prabakaran said:
Can you use DHCP to configure that?

Group Policy does not configure IP on clients. And it doesn't work on
98.

Senthil Prabakaran


Hello everybody.

In a win2k domain environment, suppose I need to modify the secondary
DNS-server's IP address setting on each user computer (w2k pro or XP
stations). Can I do this via a group policy?

What about the same task for w9x machines?

Thank you,

ypal
 
Hi,
The Explain text specifies that it works only on XP. Does Win2K
support this?

You could try to edit the System.adm file and remove the version info.
I found that for some reason MS has said "for XP only" on a lot of
group policy settings that worked fine on Windows 2000 until they
started adding the "if version" statements in the ADM’s. Guess they
want to force us to pay the upgrade cost to upgrade to XP.

Anyway, I just edit the .adm to take out the version info. A bunch of
settings then apply fine to Windows 2000. However, some are very
specifically XP. You could try it.

Cheers,

Lara
 
Back
Top