locked
How to check OCS server is installed on a machine ? RRS feed

  • Question

  • Hi ,

    I want to check whether OCS server has been installed on a machine from a C# app.
    I was thinking of checking the presence of RTCSRV , but I was not aware how this could be done.
    Any help is appreciated .
    Monday, October 26, 2009 11:47 AM

Answers

  • you can do several things:
    - Check the Services and look for OCS Services
    - Check the install path for OCS
    - Check the registry

    you must be aware that for different roles there are different services!
    - Belgian Unified Communications Community : http://www.pro-exchange.be -
    Monday, October 26, 2009 12:34 PM
  • Depends which role you want to recognize.

    You can use the backend database to determin which roles are installed on which server. As well you can use the registry to see which services are installed. or the Windows Service controller class to determin which services are running.

    Hope that helps
    ThorstenWujek
    Monday, October 26, 2009 12:39 PM
  • Yes you should be able to use the Service Controller class to find the RTC Service
    http://msdn.microsoft.com/en-us/library/system.serviceprocess.servicecontroller.aspx

    RTSCRV is used by Front-End but also by the EDGE server
    - Belgian Unified Communications Community : http://www.pro-exchange.be -
    Monday, October 26, 2009 3:42 PM

All replies

  • you can do several things:
    - Check the Services and look for OCS Services
    - Check the install path for OCS
    - Check the registry

    you must be aware that for different roles there are different services!
    - Belgian Unified Communications Community : http://www.pro-exchange.be -
    Monday, October 26, 2009 12:34 PM
  • Depends which role you want to recognize.

    You can use the backend database to determin which roles are installed on which server. As well you can use the registry to see which services are installed. or the Windows Service controller class to determin which services are running.

    Hope that helps
    ThorstenWujek
    Monday, October 26, 2009 12:39 PM
  • Does RTCSRV implies that this is a front-end server ? If yes, this is what I need to find out ....
    Can Windows Service controller class provide this capability ?
    Monday, October 26, 2009 3:29 PM
  • Yes you should be able to use the Service Controller class to find the RTC Service
    http://msdn.microsoft.com/en-us/library/system.serviceprocess.servicecontroller.aspx

    RTSCRV is used by Front-End but also by the EDGE server
    - Belgian Unified Communications Community : http://www.pro-exchange.be -
    Monday, October 26, 2009 3:42 PM