I was wondering if it's possible to run the command ipconfig /release /renew while using a static IP address. I'm trying to customize the 3rd and 4th octet of my IP, but when I use the command in CMD, I get an error that says, "Operation failed as no adapter is in the state permissible for this operation." Can someone clarify this for me?
3 Answers
You can't release or renew a static IP because, by definition, it's static. A workaround would be to disable and re-enable your network interface card (NIC) or unplug it and plug it back in again if you need to refresh your connection.
You might want to use netsh to manually set your IP address instead. You can try a command like `netsh interface ipv4 set address "" static `. There are also PowerShell alternatives if you're into that!
No, you can't run ipconfig /release or /renew with a static IP. Those commands are meant for dynamic IPs acquired through DHCP. If you want to set a static IP, you should handle it differently depending on your OS. Check the support documentation for your specific system for guidance!
So if I manually assign my desired IP address, I should still see it in CMD when I run IPCONFIG, right?