Sync Host_x: The parameter is incorrect when changing startup type of service (FAILED 87)

Inspired by some Services errors on my Windows Server 2016 machine, I noticed a service called OneSyncSvc_x.

The service has the following description:

This service synchronizes mail, contacts, calendar and various other user data. Mail and other applications dependent on this functionality will not work properly when this service is not running.

Well, no, I don’t care about these applications to sync, so let’s disable this OneSyncSvc. When I tried set the Service Startup Type to Disabled, I got the following error:

Services – The parameter is incorrect

onesyncsvc 86b61 cannot change startup type parameter is incorrect

When I tried to use ‘sc config OneSyncSvc_2deeb start=disabled’, it returned:

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

The parameter is incorrect.

sc config OneSyncSvc_2deeb start disabled

Grrr, annoying, and since I’m pretty stubborn in these situations, I used my last escape: Registry Editor:

Go to the following key:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\OneSyncSvc

Then find the name “Start” and change the value to 4. (where 4 stands for Disabled)

Since I got 3 OneSyncSvc’s, I changed it for all three keys.

onesyncsvc 86b61 cannot change startup type registry setting

I don’t think this will cause any problems, but as always: all actions are on your own responsibility :)

Leave a Reply

2 Comments on "Sync Host_x: The parameter is incorrect when changing startup type of service (FAILED 87)"

Notify of
avatar
Sort by:   newest | oldest | most voted
Chavi
Guest

The problem I have with this is that once you reboot , the services comes up with a different number

wpDiscuz