ipconfig /release is not working, why is that?

here is a sequence where I put my cable in get an IP, try ipconfig /release and it tells me it can't release wireless, but there is no wireless connection. i'm just trying to release the wired one.

 C:\>ipconfig

Windows IP Configuration


Ethernet adapter Wireless Network Connection:

        Media State . . . . . . . . . . . : Media disconnected

Ethernet adapter Local Area Connection:

        Media State . . . . . . . . . . . : Media disconnected

Fine so I plug my cable in

C:\>ipconfig

Windows IP Configuration


Ethernet adapter Wireless Network Connection:

        Media State . . . . . . . . . . . : Media disconnected

Ethernet adapter Local Area Connection:

        Connection-specific DNS Suffix  . :
        IP Address. . . . . . . . . . . . : 0.0.0.0
        Subnet Mask . . . . . . . . . . . : 0.0.0.0
        Default Gateway . . . . . . . . . :

C:\>ipconfig

Windows IP Configuration


Ethernet adapter Wireless Network Connection:

        Media State . . . . . . . . . . . : Media disconnected

Ethernet adapter Local Area Connection:

        Connection-specific DNS Suffix  . :
        IP Address. . . . . . . . . . . . : 192.168.1.8
        Subnet Mask . . . . . . . . . . . : 255.255.255.0
        Default Gateway . . . . . . . . . : 192.168.1.254

Fine so from above, it clearly has an iP

C:\>ipconfig /release

Windows IP Configuration

No operation can be performed on Wireless Network Connection while it has its me
dia disconnected.

C:\>
link|improve this question

69% accept rate
@datatoo yes I do have a cable connected, of course, re-read the question, and ipconfig /release should work – barlop Jul 1 '11 at 19:07
@datatoo no you've totally misread, I have no wireless 0.0.0.0 you may as well remove your comment it's a complete shambles. – barlop Jul 1 '11 at 22:14
1  
you are absolutely right, misread it totally – datatoo Jul 1 '11 at 23:31
@KCotreau I notice your answer has been deleted, or you deleted it. Do you still contend that it released, despite my screenshots which were in comments with your answer, proving that it didn't. Did you delete it because you decided you were wrong? – barlop Jul 4 '11 at 10:32
feedback

1 Answer

up vote 5 down vote accepted

Normally without a specific adapter being listed, ipconfig is supposed to work on all the adapters. Obviously yours is not in this case. Try focusing ipconfig on the local area connection adapter instead:

ipconfig /release local*
link|improve this answer
that's better now I get the specific message, "Adapter Local Area Connection is not enabled for Dhcp." and changing it to DHCP now I can do /release. So, solved. nice one. – barlop Jul 1 '11 at 19:10
1  
ipconfig /release all – Moab Jul 1 '11 at 19:30
@Moab an interesting one to know of +1, though that gives a different error in that situation, it says "The operation failed as no adapter is in the state permissible for this operation.", an error msg that is not so specific. but good to know about anyway. – barlop Jul 1 '11 at 22:07
ipconfig /release * <-- that covers lan* gives the same (useful) specific error message. – barlop Jul 1 '11 at 22:07
When I get that error message, I reboot, if that does not work, uninstall the network device in Device Manager, reboot. – Moab Jul 1 '11 at 22:37
show 3 more comments
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.