编辑 Windows 10 服务时出现“当该文件已存在时无法创建文件”

ant*_*-fx 5 windows windows-10

我正在尝试将Smart Card (SCardSvr)服务的状态从“禁用”更改为“手动”,但是当我单击“应用”时,我收到一条 Windows 消息说

Cannot create a file when that file already exists

在此处输入图片说明

我在网上找不到任何对此的参考,也找不到任何方法来知道哪个文件导致了问题。

有没有办法知道哪个文件导致了问题或解决这个问题的方法?

谢谢

更新:

sc从命令行运行给出以下

C:\WINDOWS\system32>sc config SCardSvr start=auto
[SC] ChangeServiceConfig FAILED 183:

Cannot create a file when that file already exists.

This error may occur if another service is already using a Named
Pipe or RPC trigger for the same endpoint or interface as the
given service.
Run Code Online (Sandbox Code Playgroud)

ant*_*-fx 3

我能够使用以下命令将服务的状态更改为手动regedit.exe

http://computerstepbystep.com/smart_card_service.html

仍然不确定为什么它不能通过服务管理器工作。


归档时间:

查看次数:

6480 次

最近记录:

8 年,3 月 前