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.
How to Add a Port in Windows Firewall
Adding a port in your Windows XP Firewall allows an application or service to communicate with your computer. With a port, the...