NET START - how/where to get the service name?How can I resolve this error when using net start / stop:...

Is it acceptable for a professor to tell male students to not think that they are smarter than female students?

How do I handle a potential work/personal life conflict as the manager of one of my friends?

How seriously should I take size and weight limits of hand luggage?

Expand and Contract

Could the museum Saturn V's be refitted for one more flight?

A friend helped me with a presentation – plagiarism or not?

Why is consensus so controversial in Britain?

GFCI outlets - can they be repaired? Are they really needed at the end of a circuit?

Little known, relatively unlikely, but scientifically plausible, apocalyptic (or near apocalyptic) events

What do you call someone who asks many questions?

Zip/Tar file compressed to larger size?

How do I know where to place holes on an instrument?

What about the virus in 12 Monkeys?

I would say: "You are another teacher", but she is a woman and I am a man

Dreadful Dastardly Diseases, or Always Atrocious Ailments

What does “the session was packed” mean in this context?

Examples of smooth manifolds admitting inbetween one and a continuum of complex structures

A category-like structure without composition?

What does the expression "A Mann!" means

Can I run a new neutral wire to repair a broken circuit?

CAST throwing error when run in stored procedure but not when run as raw query

Is there an expression that means doing something right before you will need it rather than doing it in case you might need it?

Detention in 1997

Why is it a bad idea to hire a hitman to eliminate most corrupt politicians?



NET START - how/where to get the service name?


How can I resolve this error when using net start / stop: “The service name is invalid”?Why won't the Microsoft .NET Framework NGEN v4.0.30319_x64 service start?start ubuntu service as userService starts from services.msc but not with net startNo http service - Windows 10How to make two shortcuts: Enable+Start service & Disable+Stop any windows service?How to restart a service from the CMDOverwriting a service executable while the service is runningWindows logon script launch servicenet start telnet command gives service name is invalid













4















I need to create a common script to restart service:



net stop <service>
net start <service>


Problem is that I don't know the name of the service.
For example for "printer spooler" is the name "spooler".



How can I find the name for any service?










share|improve this question



























    4















    I need to create a common script to restart service:



    net stop <service>
    net start <service>


    Problem is that I don't know the name of the service.
    For example for "printer spooler" is the name "spooler".



    How can I find the name for any service?










    share|improve this question

























      4












      4








      4








      I need to create a common script to restart service:



      net stop <service>
      net start <service>


      Problem is that I don't know the name of the service.
      For example for "printer spooler" is the name "spooler".



      How can I find the name for any service?










      share|improve this question














      I need to create a common script to restart service:



      net stop <service>
      net start <service>


      Problem is that I don't know the name of the service.
      For example for "printer spooler" is the name "spooler".



      How can I find the name for any service?







      windows services






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Aug 24 '11 at 8:17









      gaffczgaffcz

      1781414




      1781414






















          3 Answers
          3






          active

          oldest

          votes


















          4














          You can view a list of your Windows Services by following these steps:




          1. Right-click on the "Computer" icon (it's usually on your Windows Desktop or in the Start Menu)

          2. Select "Manage" (this requires Administrative access)

          3. Double-Click on "Services and Applications" (to expand it)

          4. Click on "Services"


          The list on the right-hand side under the "Services" column shows all your services, sorted alphabetically by default.



          enter image description here



          Note: In addition to using the "Net" command, for manual control you can also use the GUI to Start/Stop many of the Windows Services that are available.






          share|improve this answer


























          • Yes, but there aren't its real names like spooler for printer spooler. I've found it in HKLMSystemCurrentControlSetServices :)

            – gaffcz
            Aug 24 '11 at 8:38






          • 1





            You can use this command to show all of them ("REG QUERY /?" reveals full usage information), although output is a bit excessive: REG QUERY "HKEY_LOCAL_MACHINESystemCurrentControlSetServices"

            – Randolf Richardson
            Aug 24 '11 at 8:59






          • 3





            You can use the long names of the service so long as you put them in quotes it's just tedious.

            – Col
            Aug 24 '11 at 9:07






          • 3





            If you right click a service and choose properties The general tab shows the actual service name at the top.

            – klennepette
            Aug 24 '11 at 13:23



















          3














          Run services.msc to get a list of all the services.



          Click properties on the service you want, there you can see the "service name" and the "display name".



          The service name is what you need to use with the net command.






          share|improve this answer































            1














            This handy guide from Black Viper lists down the name of the services which can be used with the "net start/stop" commands. He has lists for services included in Windows XP, Vista, Server 2008, and 7. For example, here's the list for Windows 7 SP1 (you may need to scroll a bit down for the actual table).






            share|improve this answer
























              Your Answer








              StackExchange.ready(function() {
              var channelOptions = {
              tags: "".split(" "),
              id: "3"
              };
              initTagRenderer("".split(" "), "".split(" "), channelOptions);

              StackExchange.using("externalEditor", function() {
              // Have to fire editor after snippets, if snippets enabled
              if (StackExchange.settings.snippets.snippetsEnabled) {
              StackExchange.using("snippets", function() {
              createEditor();
              });
              }
              else {
              createEditor();
              }
              });

              function createEditor() {
              StackExchange.prepareEditor({
              heartbeatType: 'answer',
              autoActivateHeartbeat: false,
              convertImagesToLinks: true,
              noModals: true,
              showLowRepImageUploadWarning: true,
              reputationToPostImages: 10,
              bindNavPrevention: true,
              postfix: "",
              imageUploader: {
              brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
              contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
              allowUrls: true
              },
              onDemand: true,
              discardSelector: ".discard-answer"
              ,immediatelyShowMarkdownHelp:true
              });


              }
              });














              draft saved

              draft discarded


















              StackExchange.ready(
              function () {
              StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f327336%2fnet-start-service-how-where-to-get-the-service-name%23new-answer', 'question_page');
              }
              );

              Post as a guest















              Required, but never shown

























              3 Answers
              3






              active

              oldest

              votes








              3 Answers
              3






              active

              oldest

              votes









              active

              oldest

              votes






              active

              oldest

              votes









              4














              You can view a list of your Windows Services by following these steps:




              1. Right-click on the "Computer" icon (it's usually on your Windows Desktop or in the Start Menu)

              2. Select "Manage" (this requires Administrative access)

              3. Double-Click on "Services and Applications" (to expand it)

              4. Click on "Services"


              The list on the right-hand side under the "Services" column shows all your services, sorted alphabetically by default.



              enter image description here



              Note: In addition to using the "Net" command, for manual control you can also use the GUI to Start/Stop many of the Windows Services that are available.






              share|improve this answer


























              • Yes, but there aren't its real names like spooler for printer spooler. I've found it in HKLMSystemCurrentControlSetServices :)

                – gaffcz
                Aug 24 '11 at 8:38






              • 1





                You can use this command to show all of them ("REG QUERY /?" reveals full usage information), although output is a bit excessive: REG QUERY "HKEY_LOCAL_MACHINESystemCurrentControlSetServices"

                – Randolf Richardson
                Aug 24 '11 at 8:59






              • 3





                You can use the long names of the service so long as you put them in quotes it's just tedious.

                – Col
                Aug 24 '11 at 9:07






              • 3





                If you right click a service and choose properties The general tab shows the actual service name at the top.

                – klennepette
                Aug 24 '11 at 13:23
















              4














              You can view a list of your Windows Services by following these steps:




              1. Right-click on the "Computer" icon (it's usually on your Windows Desktop or in the Start Menu)

              2. Select "Manage" (this requires Administrative access)

              3. Double-Click on "Services and Applications" (to expand it)

              4. Click on "Services"


              The list on the right-hand side under the "Services" column shows all your services, sorted alphabetically by default.



              enter image description here



              Note: In addition to using the "Net" command, for manual control you can also use the GUI to Start/Stop many of the Windows Services that are available.






              share|improve this answer


























              • Yes, but there aren't its real names like spooler for printer spooler. I've found it in HKLMSystemCurrentControlSetServices :)

                – gaffcz
                Aug 24 '11 at 8:38






              • 1





                You can use this command to show all of them ("REG QUERY /?" reveals full usage information), although output is a bit excessive: REG QUERY "HKEY_LOCAL_MACHINESystemCurrentControlSetServices"

                – Randolf Richardson
                Aug 24 '11 at 8:59






              • 3





                You can use the long names of the service so long as you put them in quotes it's just tedious.

                – Col
                Aug 24 '11 at 9:07






              • 3





                If you right click a service and choose properties The general tab shows the actual service name at the top.

                – klennepette
                Aug 24 '11 at 13:23














              4












              4








              4







              You can view a list of your Windows Services by following these steps:




              1. Right-click on the "Computer" icon (it's usually on your Windows Desktop or in the Start Menu)

              2. Select "Manage" (this requires Administrative access)

              3. Double-Click on "Services and Applications" (to expand it)

              4. Click on "Services"


              The list on the right-hand side under the "Services" column shows all your services, sorted alphabetically by default.



              enter image description here



              Note: In addition to using the "Net" command, for manual control you can also use the GUI to Start/Stop many of the Windows Services that are available.






              share|improve this answer















              You can view a list of your Windows Services by following these steps:




              1. Right-click on the "Computer" icon (it's usually on your Windows Desktop or in the Start Menu)

              2. Select "Manage" (this requires Administrative access)

              3. Double-Click on "Services and Applications" (to expand it)

              4. Click on "Services"


              The list on the right-hand side under the "Services" column shows all your services, sorted alphabetically by default.



              enter image description here



              Note: In addition to using the "Net" command, for manual control you can also use the GUI to Start/Stop many of the Windows Services that are available.







              share|improve this answer














              share|improve this answer



              share|improve this answer








              edited Aug 24 '11 at 17:16

























              answered Aug 24 '11 at 8:26









              Randolf RichardsonRandolf Richardson

              13.5k2950




              13.5k2950













              • Yes, but there aren't its real names like spooler for printer spooler. I've found it in HKLMSystemCurrentControlSetServices :)

                – gaffcz
                Aug 24 '11 at 8:38






              • 1





                You can use this command to show all of them ("REG QUERY /?" reveals full usage information), although output is a bit excessive: REG QUERY "HKEY_LOCAL_MACHINESystemCurrentControlSetServices"

                – Randolf Richardson
                Aug 24 '11 at 8:59






              • 3





                You can use the long names of the service so long as you put them in quotes it's just tedious.

                – Col
                Aug 24 '11 at 9:07






              • 3





                If you right click a service and choose properties The general tab shows the actual service name at the top.

                – klennepette
                Aug 24 '11 at 13:23



















              • Yes, but there aren't its real names like spooler for printer spooler. I've found it in HKLMSystemCurrentControlSetServices :)

                – gaffcz
                Aug 24 '11 at 8:38






              • 1





                You can use this command to show all of them ("REG QUERY /?" reveals full usage information), although output is a bit excessive: REG QUERY "HKEY_LOCAL_MACHINESystemCurrentControlSetServices"

                – Randolf Richardson
                Aug 24 '11 at 8:59






              • 3





                You can use the long names of the service so long as you put them in quotes it's just tedious.

                – Col
                Aug 24 '11 at 9:07






              • 3





                If you right click a service and choose properties The general tab shows the actual service name at the top.

                – klennepette
                Aug 24 '11 at 13:23

















              Yes, but there aren't its real names like spooler for printer spooler. I've found it in HKLMSystemCurrentControlSetServices :)

              – gaffcz
              Aug 24 '11 at 8:38





              Yes, but there aren't its real names like spooler for printer spooler. I've found it in HKLMSystemCurrentControlSetServices :)

              – gaffcz
              Aug 24 '11 at 8:38




              1




              1





              You can use this command to show all of them ("REG QUERY /?" reveals full usage information), although output is a bit excessive: REG QUERY "HKEY_LOCAL_MACHINESystemCurrentControlSetServices"

              – Randolf Richardson
              Aug 24 '11 at 8:59





              You can use this command to show all of them ("REG QUERY /?" reveals full usage information), although output is a bit excessive: REG QUERY "HKEY_LOCAL_MACHINESystemCurrentControlSetServices"

              – Randolf Richardson
              Aug 24 '11 at 8:59




              3




              3





              You can use the long names of the service so long as you put them in quotes it's just tedious.

              – Col
              Aug 24 '11 at 9:07





              You can use the long names of the service so long as you put them in quotes it's just tedious.

              – Col
              Aug 24 '11 at 9:07




              3




              3





              If you right click a service and choose properties The general tab shows the actual service name at the top.

              – klennepette
              Aug 24 '11 at 13:23





              If you right click a service and choose properties The general tab shows the actual service name at the top.

              – klennepette
              Aug 24 '11 at 13:23













              3














              Run services.msc to get a list of all the services.



              Click properties on the service you want, there you can see the "service name" and the "display name".



              The service name is what you need to use with the net command.






              share|improve this answer




























                3














                Run services.msc to get a list of all the services.



                Click properties on the service you want, there you can see the "service name" and the "display name".



                The service name is what you need to use with the net command.






                share|improve this answer


























                  3












                  3








                  3







                  Run services.msc to get a list of all the services.



                  Click properties on the service you want, there you can see the "service name" and the "display name".



                  The service name is what you need to use with the net command.






                  share|improve this answer













                  Run services.msc to get a list of all the services.



                  Click properties on the service you want, there you can see the "service name" and the "display name".



                  The service name is what you need to use with the net command.







                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered Aug 24 '11 at 8:57









                  Kim GybelsKim Gybels

                  311




                  311























                      1














                      This handy guide from Black Viper lists down the name of the services which can be used with the "net start/stop" commands. He has lists for services included in Windows XP, Vista, Server 2008, and 7. For example, here's the list for Windows 7 SP1 (you may need to scroll a bit down for the actual table).






                      share|improve this answer




























                        1














                        This handy guide from Black Viper lists down the name of the services which can be used with the "net start/stop" commands. He has lists for services included in Windows XP, Vista, Server 2008, and 7. For example, here's the list for Windows 7 SP1 (you may need to scroll a bit down for the actual table).






                        share|improve this answer


























                          1












                          1








                          1







                          This handy guide from Black Viper lists down the name of the services which can be used with the "net start/stop" commands. He has lists for services included in Windows XP, Vista, Server 2008, and 7. For example, here's the list for Windows 7 SP1 (you may need to scroll a bit down for the actual table).






                          share|improve this answer













                          This handy guide from Black Viper lists down the name of the services which can be used with the "net start/stop" commands. He has lists for services included in Windows XP, Vista, Server 2008, and 7. For example, here's the list for Windows 7 SP1 (you may need to scroll a bit down for the actual table).







                          share|improve this answer












                          share|improve this answer



                          share|improve this answer










                          answered Aug 24 '11 at 8:42









                          IsxekIsxek

                          3,53512133




                          3,53512133






























                              draft saved

                              draft discarded




















































                              Thanks for contributing an answer to Super User!


                              • Please be sure to answer the question. Provide details and share your research!

                              But avoid



                              • Asking for help, clarification, or responding to other answers.

                              • Making statements based on opinion; back them up with references or personal experience.


                              To learn more, see our tips on writing great answers.




                              draft saved


                              draft discarded














                              StackExchange.ready(
                              function () {
                              StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f327336%2fnet-start-service-how-where-to-get-the-service-name%23new-answer', 'question_page');
                              }
                              );

                              Post as a guest















                              Required, but never shown





















































                              Required, but never shown














                              Required, but never shown












                              Required, but never shown







                              Required, but never shown

































                              Required, but never shown














                              Required, but never shown












                              Required, but never shown







                              Required, but never shown







                              Popular posts from this blog

                              VNC viewer RFB protocol error: bad desktop size 0x0I Cannot Type the Key 'd' (lowercase) in VNC Viewer...

                              Tribunal Administrativo e Fiscal de Mirandela Referências Menu de...

                              looking for continuous Screen Capture for retroactivly reproducing errors, timeback machineRolling desktop...