命令行删除名称中带有连字符的凭据

问题描述 投票:0回答:1

重要我需要使用命令行执行此操作,我可以使用UI进行此操作。我需要消除名称中带有连字符的凭据。

cmdkey  /delete:"LegacyGeneric:target=OneDrive Cached Credential Business - Business1"

我的测试如果我无法列出,则无法删除。问题是由于名称中的连字符(蓝色下划线)Show credentials如果我用以下方式列出特定项目:

cmdkey  /list:"LegacyGeneric:target=OneDrive Cached Credential Business - Business1"

我收到了cmdKey的语法错误Shown credetentias with hyphen fail

如果尝试使用^或\进行转义,请避免错误,但找不到任何项目。Item not found with escaped hyphen

我尝试过-^^-没有成功。

用名称中的连字符消除这种credetianls的方法是什么?我只需要命令行

windows credentials
1个回答
0
投票

您有针对此问题的解决方案/解决方案吗?

© www.soinside.com 2019 - 2024. All rights reserved.