为什么Windows服务无法启动​​后自动启动的窗口 [英] Why windows service not start automatic after windows start

查看:216
本文介绍了为什么Windows服务无法启动​​后自动启动的窗口的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

为什么Windows服务无法启动​​后自动启动的窗口。

Why windows service not start automatic after windows start.

我设置服务安装属性启动类型为自动。

I set service installer property start type to automatic.

有哪些需要设置其他财产?

Is there other property which need to be set?

登录服务是本地系统帐户。和服务可以手动每次启动。

Logon for service is local system account. And service can be started manually every time.

推荐答案

此情况最常时服务所需的资源不可用当Windows尝试启动它。请检查您的服务需要运行,并确保您需要设定每个资源的依存关系是什么。例如,如果您的服务使用网络,请尝试将它依赖工作站服务(名为LanmanWorkstation)。

This happens most often when a resource needed by your service is not available when Windows tries to start it. Please review what your service needs to operate and ensure that you setup a dependency for each resource required. For example, if your service uses the network, try making it dependent on the "Workstation" service (named "LanmanWorkstation").

如果你是在后Vista的世界上,你也可以设置为自动延迟的启动类型设置为让Windows由约一分钟耽误你的服务的启动。这通常是足够的时间对所有重要/核心服务来建立自己。

If you are in the post-Vista world, you can also set the startup type to "Automatic Delayed" to have Windows delay the starting of your service by about a minute. This is usually enough time for all the important/core services to establish themselves.

这篇关于为什么Windows服务无法启动​​后自动启动的窗口的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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