Help
  • Explore Community
  • Get Started
  • Ask the Community
  • How-To & Best Practices
  • Contact Support
Notifications
Login / Register
Community
Community
Notifications
close
  • Forums
  • Knowledge Center
  • Events & Webinars
  • Ideas
  • Blogs
Help
Help
  • Explore Community
  • Get Started
  • Ask the Community
  • How-To & Best Practices
  • Contact Support
Login / Register
Sustainability
Sustainability

Join our "Ask Me About" community webinar on May 20th at 9 AM CET and 5 PM CET to explore cybersecurity and monitoring for Data Center and edge IT. Learn about market trends, cutting-edge technologies, and best practices from industry experts.
Register and secure your Critical IT infrastructure

The Status of a Windows service continually indicates Starting or Stopping

Building Automation Knowledge Base

Schneider Electric Building Automation Knowledge Base is a self-service resource to answer all your questions about EcoStruxure Building suite, Andover Continuum, Satchwell, TAC…

cancel
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • Home
  • Schneider Electric Community
  • Knowledge Center
  • Building Automation Knowledge Base
  • The Status of a Windows service continually indicates Starting or Stopping
Options
  • Bookmark
  • Subscribe
  • Email to a Friend
  • Printer Friendly Page
  • Report Inappropriate Content
Invite a Co-worker
Send a co-worker an invite to the portal.Just enter their email address and we'll connect them to register. After joining, they will belong to the same company.
You have entered an invalid email address. Please re-enter the email address.
This co-worker has already been invited to the Exchange portal. Please invite another co-worker.
Please enter email address
Send Invite Cancel
Invitation Sent
Your invitation was sent.Thanks for sharing Exchange with your co-worker.
Send New Invite Close

Related Forums

  • Intelligent Devices Forum

Previous Next
Contributors
  • JohnBoehmer
    JohnBoehmer
  • JonGreen
    JonGreen

Invite a Colleague

Found this content useful? Share it with a Colleague!

Invite a Colleague Invite
Back to Building Automation Knowledge Base
Options
  • Bookmark
  • Subscribe
  • Email to a Friend
  • Printer Friendly Page
  • Report Inappropriate Content
0 Likes
1370 Views

Link copied. Please paste this link to share this article on your social media post.

Trying to translate this page to your language?
Select your language from the translate dropdown in the upper right. arrow
Translate to: English
  • (Français) French
  • (Deutsche) German
  • (Italiano) Italian
  • (Português) Portuguese
  • (Русский) Russian
  • (Español) Spanish

The Status of a Windows service continually indicates Starting or Stopping

Commander JonGreen Commander
‎2020-06-04 10:51 AM

on ‎2020-06-04 10:51 AM

Warning

Potential for Data Loss: The steps detailed in the resolution of this article may result in a loss of critical data if not performed properly. Before beginning these steps, make sure all important data is backed up in the event of data loss. If you are unsure or unfamiliar with any complex steps detailed in this article, please contact Product Support for assistance.

Issue

Sometimes as an administrator, you may need to kill a service which is stuck at starting or stopping in order to avoid having to reboot a server in the middle of the day. Or even after the reboot, the service will not start.

Product Line

EcoStruxure Building Operation

Environment

  • Building Operation Enterprise Server
  • Building Operation Enterprise Central
  • Building Operation Licensing Server
  • Security Expert Windows Services
  • Access Expert Windows Services (on-premise only)

Cause

Sometimes the service times out and gets stuck in a loop due to fallback protocols within the service

Resolution

Find out the name of the service

  • To do this, go into services and double click on the service which has stuck.  
  • Make a note of the “Service Name”.

Find out the PID of the service

  • Open an elevated command prompt and type in: "sc queryex servicename" (where servicename is the name of the service you obtained from Step 1).

  • Make note of the PID

Kill the PID

  • From the same command prompt type in: "taskkill /f /pid [PID]" (Where [PID] is the service number).

 

If it is successful you should receive the following message: "SUCCESS: The process with PID XXXX has been terminated." 

  

Be careful of what you are killing though. If you kill a critical windows service you may end up forcing the machine to reboot on it own.

 

If the service returns back into this state you may need to increase the time allotment for the service to start.

 

Global (entire system):

  • Open Windows Registry: Start -> Run -> regedit.exe
  • File --> Export --> make a backup of the current registry
  • Navigate to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\
  • Right click on the right page ---> New ---> DWORD
  • call the new DWORD "AutoStartDelay"
  • Set AutoStartDelay in milliseconds (decimal). E.G. 240000 is 240 seconds.

Per-service:

  • Open Windows Registry: Start -> Run -> regedit.exe
  • File --> Export --> make a backup of the current registry
  • Navigate to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\<servicename>
  • To increase the default delay of 120 seconds, right click the registry key and add new key AutoStartDelay (DWORD (32-bit))
  • Set AutoStartDelay in milliseconds (decimal). E.G. 240000 is 240 seconds.
Labels (3)
Labels:
  • EcoStruxure Access Expert
  • EcoStruxure Building Operation
  • EcoStruxure Security Expert
Tags (3)
  • Find more articles tagged with:
  • JonGreen20
  • os
  • Windows Service
Was this article helpful? Yes No
No ratings

Link copied. Please paste this link to share this article on your social media post.

To The Top!

Forums

  • APC UPS Data Center Backup Solutions
  • EcoStruxure IT
  • EcoStruxure Geo SCADA Expert
  • Metering & Power Quality
  • Schneider Electric Wiser

Knowledge Center

Events & webinars

Ideas

Blogs

Get Started

  • Ask the Community
  • Community Guidelines
  • Community User Guide
  • How-To & Best Practice
  • Experts Leaderboard
  • Contact Support
Brand-Logo
Subscribing is a smart move!
You can subscribe to this board after you log in or create your free account.
Forum-Icon

Create your free account or log in to subscribe to the board - and gain access to more than 10,000+ support articles along with insights from experts and peers.

Register today for FREE

Register Now

Already have an account? Login

Terms & Conditions Privacy Notice Change your Cookie Settings © 2025 Schneider Electric

This is a heading

With achievable small steps, users progress and continually feel satisfaction in task accomplishment.

Usetiful Onboarding Checklist remembers the progress of every user, allowing them to take bite-sized journeys and continue where they left.

of