Windows Services的1053错误的解决办法之一:修改注册表允许的响应时间

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Windows Services的1053错误的解决办法之一:修改注册表允许的响应时间相关的知识,希望对你有一定的参考价值。

Error: ‘The service did not respond in a timely fashion‘ (ServicesPipeTimeout) when attempting when attempting to start, stop or pause a service

PROBLEM

When attempting to start, stop or pause a service, one of the following error messages is encountered:
  • ‘Error 1053: The service did not respond to the start or control request in a timely fashion.‘
  • ‘Error 7000: The <ServiceName> failed to start due to the following error: The service did not respond to the start or control request in a timely fashion.‘
  • ‘Error 7009: Timeout (30000 milliseconds) waiting for the <ServiceName> service to connect.‘

ENVIRONMENT

  • Microsoft Server 2003 32/64 bit
  • Microsoft Server 2008 32/64 bit
  • Microsoft Server 2008 R2
  • Windows XP 32/64 bit
  • Windows Vista 32/64 bit
  • Windows 7 32/64 bit

SOLUTION

IMPORTANT: Incorrect use of the Microsoft Windows Registry Editor may cause serious problems with your computer, up to and including general operating system corruption and inability to boot. Registry editing should only be performed by those who are sufficiently experienced in the use of the registry editor application.
  1. Go to Start > Run > and type regedit
  2. Navigate to: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control
  3. With the control folder selected, right click in the pane on the right and select new DWORD Value
  4. Name the new DWORD: ServicesPipeTimeout 
  5. Right-click ServicesPipeTimeout, and then click Modify
  6. Click Decimal, type ‘180000‘, and then click OK
  7. Restart the computer

CAUSE

The Microsoft Windows Service Control Manager controls the state (i.e., started, stopped, paused, etc.) of all installed Windows services. By default, the Service Control Manager will wait 30,000 milliseconds (30 seconds) for a service to respond. However, certain configurations, technical restrictions, or performance issues may result in the service taking longer than 30 seconds to start and report ready to the Service Control Manager.  
 
By editing or creating the ServicesPipeTimeout DWORD value, the Service Control Manager timeout period can be overridden, thereby giving the service more time to start up and report ready to the Service. 
 
http://www.gfi.com/support/products/gfi-archiver/Error-The-service-did-not-respond-in-a-timely-fashion-ServicesPipeTimeout-when-attempting-when-attempting-to-start-stop-or-pause-a-service

以上是关于Windows Services的1053错误的解决办法之一:修改注册表允许的响应时间的主要内容,如果未能解决你的问题,请参考以下文章

MySQL启动1053错误解决方法

在本地计算机无法启动windows backup服务,错误1053:服务没有及时响应启动或控制

错误 1053 服务没有及时响应启动或控制请求

Windows10错误1053

windows服务程序运行时错误显示“错误1053服务没有及时响应启动或控制请求。”怎么办?

windows服务程序运行时错误显示“错误1053服务没有及时响应启动或控制请求。”怎么办?