Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 65779
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 10, 20262026-05-10T19:00:00+00:00 2026-05-10T19:00:00+00:00

I know there is already a question about this but my issue is more

  • 0

I know there is already a question about this but my issue is more oriented to remote scenarios.

With net start/stop you can specify a /y parameter to bounce users off current sessions but you cannot start/stop remotely.

With sc you can start/stop remotely but if the SQLServer instance is being used it won’t let you stop the service (with a ‘[SC] ControlService FAILED 1051: A stop control has been sent to a service that other running services are dependent on.’ message)

So my question is: what’s the best way of kicking out users stopping the SqlServer service remotely?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. 2026-05-10T19:00:00+00:00Added an answer on May 10, 2026 at 7:00 pm

    I think the /y just answers Yes to the ‘Are you sure?’ prompt. I’d think that sc could be used as well, though it may time out waiting for the service to stop if there’s a lot of inflight transactions. Does it give you any specifics of why it can’t stop?

    Here’s a couple of other methods to stop a remote SQL instance. Except for SHUTDOWN WITH NOWAIT, I’d recommend any of them.

    • psexec will let you run net stop remotely.
    • There’s also the SQL SHUTDOWN command – you can issue that WITH NOWAIT to avoid waiting for current transactions to finish and checkpointing, which will make shutdown faster (but subsequent startup slower, and could lead to lost data).
    • Or you could use either Configuration Manager or Management Studio to stop a remote instance.

    Edit: The error is pretty self explanatory. It means you must stop dependent services first. Sql Agent is probably at least one of them. Checking Admin Tools->Services will show you the rest.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I know there is a question about this subject already but I think it's
There's already a question on this here. But i want to know if its
I know there was already a question about this topic (cleanest way to add
Ok, I know there are already questions on here about this but none are
I know that there are some questions about this already, most relate to either
I know there are similar questions about this topic,but somehow I'm not able to
OK, I know there have already been questions about getting started with TDD ..
I know there are already many questions like mine but I found no answer
First of, I know there are similar questions already on stackoverflow ( this ,
I know there are a few questions on stack already regarding this, and I

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.