Overview
This article contains steps to restart the inSync service and processes on Windows devices. An administrator may use these scripts to temporarily stop and then start the inSync services as part of a troubleshooting process.
Note that these commands need to be executed using an administrator elevated command prompt.
Commands to manage inSync services on Windows
The administrator can use separate scripts to stop the inSync service and processes and to start the inSync service and processes -
Stop inSync services and processes -
Run the following script to stop the inSync service and processes -
net stop inSyncCPHService
TIMEOUT -t 10
taskkill /f /im inSync.exe
taskkill /f /im inSyncAgent.exe
taskkill /f /im inSyncCPHwnet64.exe
taskkill /f /im inSyncUSyncer.exe
taskkill /f /im inSyncUpgrade.exe
Start inSync service and processes -
Run the following script to start the inSync service -
net start inSyncCPHService
Note - once the inSync CPH Service is started, the corresponding inSync processes will also start
The administrator can use a common script to restart the inSync service and processes -
Restart the inSync inSync Client services -
Run the following script to restart the inSync inSync Client services:
net stop inSyncCPHService
TIMEOUT -t 10
taskkill /f /im inSync.exe
taskkill /f /im inSyncAgent.exe
taskkill /f /im inSyncCPHwnet64.exe
taskkill /f /im inSyncUSyncer.exe
taskkill /f /im inSyncUpgrade.exe
net start inSyncCPHService
Alternatively, the administrator can use Task Manager / Services.msc to stop and start the inSync service and processes.
Note - Task Manager / Services.msc to be started with administrator elevated permissions
To Stop inSync service and processes -
Step 1 - Open the command prompt using run as administrator -
Step 2 - Run taskmgr
Step 3 - Go to Services ➜ Search for inSyncCPHService ➜ Right click ➜ Select Stop
Step 4 - Go to Details ➜ Search for the processes starting with inSync ➜ Right click ➜ Select “End task”
Once all the inSync related processes are terminated, then the inSync will be in an inactive state.
To Start inSync service and processes -
Step 1 - In the administrator elevated Task Manager ➜ Go to Services ➜ Search for inSyncCPHService ➜ Right click ➜ Select Start
Note - once the inSync CPH Service is started, the corresponding inSync processes will also start