How to detect "Who set the DNS settings" ?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I need a script which have following function.
Check the DNS setting which is configured via manually setting or it is
provided by DHCP Server.
I want to check for Windows 2000 and XP.
 
se2946 said:
I need a script which have following function.
Check the DNS setting which is configured via manually setting or it is
provided by DHCP Server.
I want to check for Windows 2000 and XP.

I suspect you have to extract it from here for each of your
adapters:
HKLM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces
 
Pegasus,
Thank you for your reply.
I checked it.
I can not find who set DNS settings (DHCP or Manual input)
How can I define "Obtain DNS server address. automatically" is selected ?
 
The usual method is to do this:
1. Set DNS to DHCP.
2. Export the registry branch I gave you.
3. Set DNS to a fixed address.
4. Export the registry branch to a different file.
5. Compare the two exported files.
 
Back
Top