Announcement

Collapse
No announcement yet.

Service stucked in "stopping"

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Service stucked in "stopping"

    Hi Guys,

    how can i force a service to be stopped, it is stucked on stopping?
    i tried PSTOOLS but it is not the way..

    Thanks,
    Retaliator.
    Thanks & Regards

    Retaliator

    MCSA/MCSE/CCNA
    Computer Science Graduate

  • #2
    Re: Service stucked in "stopping"

    Hi, Retaliator.
    What OS are we talking about here?

    Sorin Solomon


    In order to succeed, your desire for success should be greater than your fear of failure.
    -

    Comment


    • #3
      Re: Service stucked in "stopping"

      Assuming we're talking Windows Server 2003 I would be looking at "PSKill" or rebooting the box...


      Tom
      For my own and your protection, I do not provide support by private message under any circumstances. All such messages will be deleted and ignored.

      Anything you say will be misquoted and used against you

      Comment


      • #4
        Re: Service stucked in "stopping"

        Reboot always help
        But if we're talking XP, or 2003, for instance, sc query might give us a hint. Geee, I don't remember how you do that on 2000 (if it's possible). I know sc does not work.

        Sorin Solomon


        In order to succeed, your desire for success should be greater than your fear of failure.
        -

        Comment


        • #5
          Re: Service stucked in "stopping"

          Try this via Start / Run:
          AT hh:mm /INTERACTIVE cmd.exe

          Where hh:mm is the computer time PLUS two minutes later.
          wait these 2 minutes then...
          A command-box opened by it self,
          type: MMC SERVICES.MSC

          (or directly: AT hh:mm /INTERACTIVE mmc.exe services.msc)

          Go to that service and change the startup type to 'disabled'
          Now try to stop the service, if no success stopping it, re-boot the computer and the service won't run.

          By using AT (system scheduler) with the "interactive" switch, you can run any program as the systemaccount. In this case run CMD, so you can use a command-line.

          \Rem

          EDIT:
          before you change the startup type to Disable, be sure this service is not vital for booting the system
          (You did not mensioned a name of the service)
          p.s. check whether the service is activated for all the hardware profiles, and also check its dependencies
          Last edited by Rems; 22nd March 2007, 18:24.

          This posting is provided "AS IS" with no warranties, and confers no rights.

          __________________

          ** Remember to give credit where credit's due **
          and leave Reputation Points for meaningful posts

          Comment


          • #6
            Re: Service stucked in "stopping"

            Hi,

            i used PsTools from sysinternals and that's helped, easier then everything,
            what i saw is that the service loads EXE file, and it won't end from Task manager, only with PsKill i could end it..

            Thanks all,
            Retaliator
            Thanks & Regards

            Retaliator

            MCSA/MCSE/CCNA
            Computer Science Graduate

            Comment


            • #7
              Re: Service stucked in "stopping"

              Originally posted by Retaliator View Post
              Hi,

              i used PsTools from sysinternals and that's helped, easier then everything,
              what i saw is that the service loads EXE file, and it won't end from Task manager, only with PsKill i could end it..

              Thanks all,
              Retaliator
              Yes the pstools are nice tools, can be very handy on some occasions

              I think with;
              AT hh:mm /INTERACTIVE taskmgr.exe
              you were also be able to kill the process, manualy in this case. I advised this trick several time to solve registry (use regedit.exe) problems. It does pretty much the same as when using the -s switch with PsExec.

              Thank you for the feedback!

              \Rem

              This posting is provided "AS IS" with no warranties, and confers no rights.

              __________________

              ** Remember to give credit where credit's due **
              and leave Reputation Points for meaningful posts

              Comment


              • #8
                Re: Service stucked in "stopping"

                No problems, i learned something today from ya, gave you a point !

                Retaliator.
                Thanks & Regards

                Retaliator

                MCSA/MCSE/CCNA
                Computer Science Graduate

                Comment

                Working...
                X