Windows服务给出了描述:<未能读取描述错误代码2> [英] Windows Service is giving Description: <Failed to read description error code 2>

查看:87
本文介绍了Windows服务给出了描述:<未能读取描述错误代码2>的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经厌倦了通过注册表卸载禁用的Windows服务它已从注册表中删除,但仍显示在Services.msc中

I have tired to uninstall a disabled windows service through registry It is removed from registry but it is still showing in Services.msc with

说明:无法读取说明错误代码2

Description: Failed to read description error code 2

推荐答案

直觉/您如何到达-

我假设您执行了这两项操作中的一个或两个都将出现在此错误消息中.通过HKEY_LOCAL_MACHINE \ SYSTEM \ CurrentControlSet \ Services从注册表中手动删除密钥,然后从此处删除该服务)

I am assuming you did either or both of these to land in this error message. a.Deleted the key manually from registry by HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services and deleted the service from here)

b.此服务处于自动"启动状态,因此删除该服务会以某种方式误导自动启动",因此产生了此代码无法读取描述错误代码2.这就是原因-在执行此操作之前,您应该已经停止了该服务,或者将其更改为手动启动".

b.This service was in "automatic" start - so on deleting the service was somehow mislead in "starting automatically" - and hence produced this code Failed to read description error code 2 . Here's why - You should have stopped the service, or changed it to "Start manually" before doing this.

如何修复它以及对我有用的东西-

[1]在管理员模式下转到cmd提示符(表示选择cmd->以管理员身份运行")

[1]Go to cmd prompt in admin mode (meaning select cmd -> "Run as Administrator")

您应该位于"C:/windows/system32/" 中[如果您处于管理员模式,则应使用默认设置,如上所示]键入-> sfc/scannow 此后,扫描将开始,并且将显示以下日志-

You should be in "C:/windows/system32/" [This should come up be default if you are in admin mode, as above] Type -> sfc /scannow After this the scan will begin and the following logs will appear --

开始系统扫描.此过程将需要一些时间.

Beginning system scan. This process will take some time.

从系统扫描的验证阶段开始.验证100%完全的.Windows资源保护发现损坏的文件,但是无法修复其中的一些.详细信息包含在CBS.Log中windir \ Logs \ CBS \ CBS.log.例如C:\ Windows \ Logs \ CBS \ CBS.log

Beginning verification phase of system scan. Verification 100% complete. Windows Resource Protection found corrupt files but was unable to fix some of them. Details are included in the CBS.Log windir\Logs\CBS\CBS.log. For example C:\Windows\Logs\CBS\CBS.log

系统文件修复更改将在下次重新启动后生效.

The system file repair changes will take effect after the next reboot.

[2] 最后重新启动系统!并且该服务将不再出现在services.msc中.

[2] Finally reboot your system ! And the service will no longer appear in services.msc.

这篇关于Windows服务给出了描述:<未能读取描述错误代码2>的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆