Where is IP Address of my Ethernet settings stored in Registry

In a LAN, I configure my IP address as needed, but once in a while I move to a different subnet and need to update my IP address quickly so I am thinking of making a simple application to help me with this. Thus I would like to know where is the IP address settings stored in Registry?

In the old days of Win95 I could just search for the string, but now in Win10, the registry has become so huge it would probably take 8 days to end the search. Halp.


Solution 1:

The IP addresses of the various network interfaces are stored under:

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

but just changing a value there doesn't mean your active IP address changes.

Use existing Windows commands to change it, like:

Set-NetIPAddress

in PowerShell