11.29.2012

How to Install Windows Service in Server 2008

1.  Open command as administrator
2.  Go to C:\Windows\Microsoft.NET\Framework64\v2.0.50727
3.  Install service:
C:\Windows\Microsoft.NET\Framework64\v2.0.50727>installutil MyNewService.exe
4.  Go to Services: services.msc in cmd and then start the service.
5.  To uninstall.  First stop the service, then do:
C:\Windows\Microsoft.NET\Framework64\v2.0.50727 installutil /u MyNewService.exe

No comments:

Post a Comment