Windows Service

1. Create Service
Format
sc [servername] create Servicename [Optionname= Optionvalues]

Localhost Example: 
sc create emailrelay binpath= "\"C:\emailrelay\emailrelay-service.exe\"

Remote Example: 
sc create svnservice binpath= "\"D:\Servers\Subversion\bin\svnserve.exe\" --service -r E:\SVN\repository" displayname= "SVNService" depend= Tcpip start= auto

2. Delete Service
Format
sc [ServerName] delete [ServiceName]

Localhost Example:
sc delete svnservice

3. Stop Service
Format
sc stop ServiceName

Background Intelligent Transfer Service (BITS)
a component of Microsoft Windows XP and later operating systems that facilitates prioritized, throttled, and asynchronous transfer of files between machines using idle network bandwidth. It is most commonly used by recent versions of Windows UpdateMicrosoft UpdateWindows Server Update Services, and Systems Management Server to deliver software updates to clients, Microsoft's anti-virus scanner Microsoft Security Essentials (later merged to and renamed to Windows Defender) to fetch signature updates, and is also used by Microsoft's instant messaging products to transfer files. BITS is exposed throughComponent Object Model (COM), making it possible to use with virtually any programming language.


Comments

Popular posts from this blog

Nginx Proxy & Load Balance & LNMP

Snort+barnyard2+Snorby CentOS 6.5_64 Installation

ORACLE Error