Wednesday, July 20, 2011

Windows Service Configuration Via CommandPrompt

STEP:1
Goto Run-->type cmd-->Command Prompt ---> type cd\
c:\> CD c:\WINDOWS\Microsoft.NET\Framework\v1.1.4322
Give Enter

STEP:2 (For Install Windows Service)
C:\windows\Microsoft.NET\Framework\v1.14322> Installutil /i Your Exe Path

example :

C:\windows\Microsoft.NET\Framework\v1.14322> Installutil /i D:\DirectI_RenewDomainservice\bin\DirectI_RenewDomainservice.exe


Give enter Some commands run in that command prompt

Check That Window Service

Mycomputer ->right click -->manage--> Services and application-->services-->check ur Exe Name

Step:3 (For Unistall Windows Service)
C:\windows\Microsoft.NET\Framework\v1.14322> Installutil /u Your Exe Path

example :

C:\windows\Microsoft.NET\Framework\v1.14322> Installutil /u D:\DirectI_RenewDomainservice\bin\DirectI_RenewDomainservice.exe

No comments:

Post a Comment