我删除了 WSUSService,如何重新执行此操作?

use*_*911 3 wsus windows-server-2012

我酸溜溜地输入了我的 cmd:sc delete WSUSService。现在我的 WSUS 给出了错误:One or more Updates Service components could not be contacted. Check your server status and ensure that Windows Server Update Services is running. Non-running services: WSUSService . 我仍然可以看到我所有的更新和计算机。如何重新获取 WSUSService?

编辑:另一个问题(或可能相同):在我的服务器管理器@服务中,它告诉我 WSUSService 已停止。当我尝试启动它时,它告诉我:Failed, one or more services cannot be started

EDIT2:尝试在services. 我收到错误:Error 2: the system cannot find the file specified。我的 wsuscontent 文件夹在 c:

提前致谢

The*_*ner 5

老实说,我不知道这是否可行,但欢迎您尝试。

您可以尝试使用以下方法重新创建服务:

sc create WSUSService binpath= "C:\Program Files\Update Services\Service\bin\WsusService.exe" start= auto

我会确保网络服务是登录帐户并将其设置为“失败时重新启动”。