“网址预订删除失败,错误:87”当我'netsh http删除'


7

删除规则时出现以下错误:

C:> netsh http delete urlacl url=http://localhost:80

URL reservation delete failed , Error: 87
The parameter is incorrect.

当我做'netsh http show urlacl'时,我看到这条规则:

  Reserved URL            : http://localhost:80/
      User: myself
          Listen: Yes
          Delegate: No
          SDDL: D:(A;;GX;;;S-1-5-21-124525095-708259637-1543119021-1467807)

问题的原因是什么?

Answers:


10

你错过了一个尾随斜线。而是使用:

netsh http delete urlacl url=http://localhost:80/

当你使用 netsh show urlacl 在同一URL上,保留URL条目具有尾部斜杠。这是您应该用于任何urlacl操作的URL。

By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.