How to Add New Windows Services

Save

Windows services are applications that run in the background when you boot up your computer. You do not need to start a Windows service. Instead, you create a service by adding it to the list of startup services. The "sc" command in the Windows command prompt facilitates the addition of a Windows service. The service is added to the registry, so it automatically starts after you execute the "sc" command.

  • Click the Windows "Start" button and type "cmd" into the text box. Press "Enter" to open the Windows command line.

  • Type "cd \" to move the prompt to the root of your hard drive. Use the "cd" command to navigate to the location of the service executable. For instance, if you want to add the service named "My Service" located in the "C:\myfolder" directory to Windows, type "cd myfolder" to point to that directory.

  • Type the following command to add the service:

    sc mycomputer myservice.exe "My Service Name"

    Replace "mycomputer" with the name of your computer. "Myservice.exe" represents the executable, and "My Service Name" is the label you give the service that shows in the Task Manager.

  • Press "Enter" to execute the command. The service is added to Windows. The next time you boot, it starts automatically.

References

Promoted By Zergnet

Comments

You May Also Like

Related Searches

Check It Out

Geek Vs Geek: Robot battles, hoverboard drag race, and more

M
Is DIY in your DNA? Become part of our maker community.
Submit Your Work!