Error when try to disable one service ”The parameter is incorrect”

To disable the OneSyncSvc_xxxx service, you need to edit the regedit. Please perform a backup of the regedit before doing any change.

When you try to disable the OneSyncSvc through mmc, you will get the following error:

2017-11-03_09h40_49

Services – The parameter is incorrect

If you try to disable through ”sc config OneSyncSvc_xxxx start=disabled”, it will also not work and you will get the following error:

[SC] ChangeServiceConfig2 (delayed autostart flag) FAILED 87:

The parameter is incorrect.

Workaround

  1. Open the regedit
  2. Locate the key HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\OneSyncSvc
  3. Change the ”Start” REG_DWORD from 2 (Enable) to 4 (Disable)

2017-11-03_09h41_29.png

(mer …)