【问题标题】:Run "ipconfig/release" in Windows to do DHCP在 Windows 中运行“ipconfig/release”来做 DHCP
【发布时间】:2014-03-30 03:52:39
【问题描述】:

由于我无法通过的要求,我在开始作业时遇到问题。

我们被指示在 Windows 命令行界面中执行 ipconfig/releaseipconfig/renew。我尝试了第一个,但它说:

No operation can be performed on Local Area Connection while it has its media disconnected.

我们家有 WiFi,我的电脑通过无线网络连接。

我找到了教程“" IPCONFIG / release all " The operation failed as no adapter is in the state permissible for this operation.”。我尝试了所有步骤(甚至按照说明重新启动我的机器),但 LAN 断开警报仍然存在。我在网上尝试了多个“netsh”指令,但我的问题仍然没有停止。

我只想在我的 WNC 中执行此操作。用 WAN 可以做到这一点吗?

我试过ipconfig/release "Name of my WAN"ipconfig/release "Wireless Network Connection"ipconfig/release "Home network",但三个人都说:

The operation failed as no adapter is in the state permissible for this operation.

这是我在 Windows + WiFi 设置中难以执行的指令的屏幕截图:

【问题讨论】:

    标签: networking wireshark dhcp netsh ipconfig


    【解决方案1】:

    这是一个较旧的线程 - 但仍然相关。

    如果您遇到此错误The operation failed as no adapter is in the state permissible for this operation,您应该尝试以下操作:

    1. 尝试运行网络疑难解答 - 只需右键单击任务栏中的网络图标并选择“疑难解答...”
    2. 如上所述,check 并确保您的接口的 IPv4 配置设置为“自动”(DHCP) 获取网络地址,而不是静态设置。
    3. 以管理员身份打开cmd。最简单的方法是点击开始按钮,在搜索框中输入cmd,右键单击cmd 搜索结果,然后选择“以管理员身份运行”
    4. 运行 netsh winsock resetnetsh int ip reset
    5. 如果在这些命令的输出中的任何位置显示“Permission Denied”或“Access Denied”,您应该卸载已安装的防病毒软件。如果您使用的是 Windows Defender,请忽略。
    6. 完成上述操作后重启。

    如果有人有其他修复,请在 cmets 中提供它们,我会不断更新此评论。

    引用:

    【讨论】:

      【解决方案2】:

      您可能没有该机器的管理员权限,因此您不能公开您的 IP 地址。

      【讨论】:

        【解决方案3】:

        将适配器设置从静态更改为动态。

        Ipconfig/release 表示 Adapter 放弃它的 ip。

        Ipconfig/renew 意味着它最好从 DHCP 请求一个新的 ip 服务器。

        如果适配器配置为静态,则其 IP 已修复,无法从 DHCP 服务器获取 ip。

        【讨论】:

          猜你喜欢
          • 1970-01-01
          • 1970-01-01
          • 1970-01-01
          • 1970-01-01
          • 2011-03-29
          • 1970-01-01
          • 1970-01-01
          • 1970-01-01
          • 2017-05-16
          相关资源
          最近更新 更多