Wednesday, September 1, 2010

Few words about windows service

What is windows service?
it's a program that runs invisibly in the background. But can't the same thing be said for a number of programs that run in the background such as anti-virus programs. Yes, but the real difference is that services load and start running whether or not anyone logs into the computer, unlike a program that is launched from the Startup Folder under All Programs. 

Two ways to view Services
1) Typing msconfig.exe in the Run box accessed via the Start Menu, followed by clicking the Services tab. If you want a quick visual of which items are running or stopped, this is fine, but the information is limited. 
2) launch services.msc from the Run option on the Start Menu.


How To Delete A Service? 
  • Start | Run and type cmd in the Open: line. Click OK.
  • Type: sc delete service-name
  • Reboot the system
 How To Create A Service?
  • Start | Run and type cmd in the Open: line. Click OK.
  • Type: sc create service-name
  • Reboot the system

No comments: