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:
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.
- Open the regedit
- Locate the keyÂ HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\OneSyncSvc
- Change the “Start” REG_DWORD from 2 (Enable) to 4 (Disable)
More info about the Start value
|Data type||Range||Default value|
|REG_DWORD||0-4||(There is no default value for this entry.)|
Specifies how the service is loaded or started. If the service is a Win32 service, the value of this entry must be 2, 3, or 4. This entry is not used for network adapters.
|0||Boot (loaded by kernel loader). Components of the driver stack for the boot (startup) volume must be loaded by the kernel loader.|
|1||System (loaded by I/O subsystem). Specifies that the driver is loaded at kernel initialization.|
|2||Automatic (loaded by Service Control Manager). Specifies that the service is loaded or started automatically.|
|3||Manual. Specifies that the service does not start until the user starts it manually, such as by using Device Manager.|
|4||Disabled. Specifies that the service should not be started.|
More info about the values: https://technet.microsoft.com/en-us/library/cc959920.aspx
All the change it is your own responsibility, and good luck!