blog sistemITecblog sistemITec

    Subscribe to Updates

    Get the latest creative news from FooBar about art, design and business.

    What's Hot

    Schedule a job on Aruba Switch

    July 5, 2023

    How to decrypt and verify text or files with GPG Services

    June 28, 2023

    How to send WhatsApp messages to someone without saving their phone number

    June 19, 2023
    Facebook Twitter Instagram
    • sistemITec website
    • contact us
    Facebook Instagram YouTube LinkedIn
    blog sistemITecblog sistemITec
    • IT Fundamentals
        Featured
        IT Fundamentals

        How to send WhatsApp messages to someone without saving their phone number

        By Cornel CabaJune 19, 20230
        Recent

        How to send WhatsApp messages to someone without saving their phone number

        June 19, 2023

        Network Topology Guide

        June 19, 2023

        Top 20 Essential ESXCLI Commands

        June 19, 2023
      1. Gaming
          Featured
          Gaming

          Application load error 5:0000065434 in Steam

          By sistemitec's teamAugust 8, 20210
          Recent

          Application load error 5:0000065434 in Steam

          August 8, 2021

          The Best Overlooked Video Game Of 2020

          August 2, 2021

          Hearts of Iron IV Review

          August 2, 2021
        1. Software
            Featured
            Software

            Schedule a job on Aruba Switch

            By Cornel CabaJuly 5, 20230
            Recent

            Schedule a job on Aruba Switch

            July 5, 2023

            How to decrypt and verify text or files with GPG Services

            June 28, 2023

            Windows Server 2019/ Product Key Free

            June 19, 2023
          1. Gadgets
              Featured
              Gadgets

              How to Simulate Arduino Projects With Proteus

              By Cornel CabaMarch 17, 20220
              Recent

              How to Simulate Arduino Projects With Proteus

              March 17, 2022

              How connect Apple AirPods to a Windows PC

              February 10, 2022

              How to Put Ebooks on Amazon Kindle

              October 12, 2021
            1. Tech
                Featured
                Tech

                Lenovo Unveils IdeaPad Laptops, 5G Internet & a Snapdragon 8cx Chipset

                By Cornel CabaJanuary 15, 20210
                Recent

                Lenovo Unveils IdeaPad Laptops, 5G Internet & a Snapdragon 8cx Chipset

                January 15, 2021

                2021 Apple MacBook Air: Apples New Leak Reveals Razor-thin Redesign

                January 15, 2021
                8.9

                Review: Xiaomi’s New Loudspeakers for Hi-fi and Home Cinema Systems

                January 15, 2021
              blog sistemITecblog sistemITec
              Home»Software»Start or stop Windows service from command line
              Software

              Start or stop Windows service from command line

              Cornel CabaBy Cornel CabaMarch 2, 2022Updated:September 4, 2022No Comments2 Mins Read
              Facebook Twitter Pinterest LinkedIn Tumblr Email
              Share
              Facebook Twitter LinkedIn Pinterest Email

              We normally use Services.msc to start or stop or disable or enable any service. We can do the same from windows command line also using net and sc utilities. Below are commands for controlling the operation of a service.

              Command to stop a service:

              net stop servicename

              To start a service:

              net start servicename

              You need to have administrator privileges to run net start/stop commands. If you are just a normal user on the computer, you would get an error like below.

              C:\>net start webclient
              System error 5 has occurred.
              Access is denied.
              C:\>

              To disable a service:

              sc config servicename start= disabled

              To enable a service:

              sc config servicename start= demand

              To make a service start automatically with system boot:

              sc config servicename start= auto

              Note: Space is mandatory after ‘=’ in the above sc commands.

              This SC command works on a Windows 7 machine and also on the down-level editions of Windows i.e Windows XP/2003 and Windows Vista. Again, if you do not have administrator previliges you would get the below error.

              C:\>sc config webclient start= auto
              [SC] OpenService FAILED 5:
              Access is denied.

              Note that the service name is not the display name of a service. Each service is given a unique identification name which can be used with net or sc commands. For example, Remote procedure call (RPC) is the display name of the service. But the service name we need to use in the above commands is RpcSs.
              So to start Remote procedure call service the command is:

              net start RpcSsTo stop Remote procedure call service
              net stop RpcSs

              These service names are listed below for each service. The first column shows the display name of a service and the second column shows the service name that should be used in net start or net stop or sc config commands.

              services windows
              Share. Facebook Twitter Pinterest LinkedIn Tumblr Email
              Previous ArticleHow to use RemoteFx to Redirect USB Devices in Windows
              Next Article How to Simulate Arduino Projects With Proteus
              Cornel Caba
              • Website

              Related Posts

              Schedule a job on Aruba Switch

              July 5, 2023

              How to decrypt and verify text or files with GPG Services

              June 28, 2023

              Windows Server 2019/ Product Key Free

              June 19, 2023

              Sysprep Windows 10 and 11 Machine: Step by Step Guide

              June 19, 2023
              Add A Comment

              Leave A Reply Cancel Reply

              Editors Picks

              Shrinking VMDK Virtual Disk Size on VMWare ESXi

              August 11, 2022

              Oculus Quest X Headset: Discover a Shining New Star

              January 5, 2021

              iPhone Pro 13 Rumored to Feature 1 TB of Storage

              January 5, 2021

              Fujifilm’s 102-Megapixel Camera is the Size of a Typical DSLR

              January 5, 2021
              Top Reviews
              9.1

              Review: Mi 10 Mobile with Qualcomm Snapdragon 870 Mobile Platform

              By Cornel Caba
              8.9

              Comparison of Mobile Phone Providers: 4G Connectivity & Speed

              By Cornel Caba
              8.9

              Which LED Lights for Nail Salon Safe? Comparison of Major Brands

              By Cornel Caba
              Advertisement
              © 2023 sistemITec. Designed by Cornel Caba.
              • sistemITec.com
              • cornelcaba.com

              Type above and press Enter to search. Press Esc to cancel.