Where is the network information stored in Windows!

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

Guest

Hello all,

This is a very question.
Where are the network details like IP Address and subnet masks etc.. stored
under windows. Are they stored in the registry or files? I don't see them in
the hosts file on my system. How do i view these values.

Thanks
Viper.
 
Avinash Rao said:
Hello all,

This is a very question.
Where are the network details like IP Address and subnet masks etc.. stored
under windows. Are they stored in the registry or files? I don't see them in
the hosts file on my system. How do i view these values.

Thanks
Viper.

The easiest way to view these details is with this command:

ipconfig /all
 
Pegasus,

I am aware of this command to view the IP configuration.
But are they stored in any file?

Thanks
Viper!
 
They are stored in the registry.


Avinash Rao said:
Pegasus,

I am aware of this command to view the IP configuration.
But are they stored in any file?

Thanks
Viper!
 
These values are stored on a per interface basis in the Registry:

HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\Tcpip\Parameters\Interfaces

Doug Sherman
MCSE Win2k/NT4.0, MCSA, MCP+I, MVP
 
I suspect you mean "CurrentControlSet"? AFAIK, ControlSet001
holds old information.
 
Well, yes - CCS would be correct. However, the Select key under CCS
typically points to CS001 as both current and default - so making changes in
CS001 should work.

Doug Sherman
MCSE Win2k/NT4.0, MSCA, MCP+I, MVP
 
Actually CCS1 is not a safe assumption. If you are editing, stick
with CCS. If you want to know which is CCS points to and which CCSx
is used for Last Known Good Conifg look at the following key:

Key Name: HKEY_LOCAL_MACHINE\SYSTEM\Select
Class Name: <NO CLASS>
Last Write Time: 8/29/2004 - 10:10 PM
Value 0
Name: Current
Type: REG_DWORD
Data: 0x1

Value 3
Name: LastKnownGood
Type: REG_DWORD
Data: 0x2
 
Back
Top