Najdi forum

Kje so shranjene

Kdo ve ,kje so v Win2000 Professional shranjene nastavitve Network and dial-up povezav?

************************************************************ # Enaka mnenja so dovoljena...nasprotna tudi ;~) #

Btw a nisi ti neki računalniški guru!

Windows 2000

Network Cards
Like Windows NT, Windows 2000 stores its configuration data in the registry. A list of network cards is stored under this key:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\NetworkCards

Each network card has a subkey with values. The “Description” value contains a human-friendly description. The “ServiceName” value contains a GUID (globally-unique identifier?) (cf. Windows NT, which has a name here).

The IP data for the network card is then found off this key:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces

Each network has a key of the form “{GUID}”, e.g. “{xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx}”, where each “x” represents a hexidecimal digit. Each of the GUID keys has values for lease times, subnet masks and IP addresses. For IP addresses there are two possible values:

“IpAddress” of type REG_MULTI_SZ (multiple nul-terminated strings), which contains all the static IP addresses or “0.0.0.0” if there are none;

“DhcpIpAddress” (optional) of type REG_SZ (nul-terminated string), which contains the dynamic IP address.

WAN Interfaces
This is the “NdisWan Adapter”, the equivalent of the PPP adapter in Windows ‘9x.

HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Tcpip\Parameters\Adapters\NdisWanIp

Under this key is a value called “IpConfig” of type REG_MULTI_SZ, which is an array of key names relative to HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services, e.g.:

Tcpip\Parameters\Interfaces\{GUID-1}
Tcpip\Parameters\Interfaces\{GUID-2}
Tcpip\Parameters\Interfaces\{GUID-3}
Tcpip\Parameters\Interfaces\{GUID-4}

where {GUID-n} is of the form {xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx} mentioned above. It appears that the last entry is always the valid one when one is connected. From the relative key name, you can obtain the key where the IP address information is stored, e.g.:

HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\{GUID-4}

The IP information is stored in the same way as for network cards, i.e. “IpAddress” or “DhcpIpAddress” is present.

Ma ni se mi dalo iskat po netu,imam dva izpita drugi teden in ni cajta…hvala!

************************************************************ # Enaka mnenja so dovoljena...nasprotna tudi ;~) #

mogoče je pa samo neznanje

Če ti tako rečeš bo že držalo 😉

************************************************************ # Enaka mnenja so dovoljena...nasprotna tudi ;~) #

Forum je zaprt za komentiranje.

New Report

Close