Skip to main content

Schedule Cloud Connect Server service restarts using Windows Task Scheduler

Purpose: This process is designed to mitigate issues after Windows server maintenance that can affect the Cloud Connect Server services. It is recommended that it is run after any scheduled server maintenance windows but before users come online and can be run daily or less often depending on the issue or when server maintenance occurs. Please contact Tenfold support if you have questions.

Note

The Tenfold Bridge is a legacy feature that Tenfold no longer installs or recommends. Information on the bridge is included for customers with older Tenfold configurations. Using Cloud Connect Client is the current approach.

Tenfold suggests all Tenfold Bridge users move to Cloud Connect Client. If you would like to make this change and need help, contact Tenfold Support.

  1. Open Notepad and enter:

    • NET STOP “UcServer"

    • NET START “UcServer”

      ccs_restart_screenshot.png
  2. Select Save as and select All Files and enter a name that ends with .bat and save the file in a folder on the C drive. For example, restart_ucserver.bat.

  3. Open Notepad and repeat the same process for UcTelephony.

    • NET STOP “UcTelephony <site name>”

    • NET START “UcTelephony <site name>”

      • The site name can be found by opening Services, right-clicking the "Cloud Connect Telephony <site name>", selecting Properties, and looking at the Service name field.

        Screenshot_17.png
  4. Select Save as and select All Files and enter a name that ends with ".bat" and save the file in the same folder on the C drive. For example, restart_uctelephony.bat.

Note: Legacy configurations: If you need to schedule a restart for Cloud Connect Client or Tenfold Bridge, you can repeat the steps above using either "Cloud Connect Client” or "TenfoldBridge" in the applicable batch files.

  1. Open Task Scheduler and create three tasks.

    1. Create the first task to run the UCServer batch file.

      1. Set the Action to Start a Program and browse to the batch file.

        Schedule_SS.png
      2. Use the Trigger tab to set the frequency of the restart. It should be done during off-hours.

        Screenshot_14.png
      3. Under General, set it to ‘Run whether user is logged on or not’ and ‘Run with highest privileges.

      4. Set it to run with an admin or system user that does not have to be logged in when the task is run.

        Screenshot_15.png
    2. Create a second task to run 1 minute after the UcServer restart task.

      Follow the same steps as above except set the Action to the UcTelephony batch file.

  2. Test by manually running the UcServer task, let it complete, and then run the UcTelephony task. Once complete, load UCConfig and verify the phone system is connected and you see extension statuses and calls.

  3. If it doesn't work properly check the Windows Event Viewer Application logs or the History for the task in Task Scheduler for the cause.