How can I view the TCP/IPv4 setting through the command line for an adaptor that is disabled.

'ipconfig', 'ipconfig /all', and 'netsh interface ipv4 show addresses' only display the relevant information for an adaptor that is enabled.

Thanks in advance!

Recommended Answers

All 3 Replies

If the adapter is disabled it does not have an IP address. If you have used a fixed address and disabled it then the address is stored in your OS but not being used. If you are using DHCP then the NIC is disabled and therefor has not requested an address from the DHCP server. So technically you could say the address is 0.0.0.0.

If the adapter is disabled it does not have an IP address. If you have used a fixed address and disabled it then the address is stored in your OS but not being used. If you are using DHCP then the NIC is disabled and therefor has not requested an address from the DHCP server. So technically you could say the address is 0.0.0.0.

Is there any way of viewing this data via the cmd line?

Not that I am aware of. However if you gave it a fixed (static) IP address then you already know it and it does not change.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.