Many administrators (including me) are not happy with two services in Server 2016. This services are OneSyncSvc (synchronizes mail, contacts, calendar and various other user data) and Download Maps Manager (for application access to downloaded maps) and are really not critical on server OS.
This is the reason why, you can disable them in almost all cases without any deep research. Anyway, when you try to disable OneSyncSvc from services console, you will receive an error, as this service cannot be disabled. At this point, use a trick and disable both services form elevated command prompt using commands:
sc config “OneSyncSvc” start= disabled
sc config “MapsBroker” start= disabled
Of course, before you run this commands, services have to be stopped, otherwise you will receive an error. You can do this also from command prompt:
sc stop “OneSyncSvc”
sc stop “MapsBroker”
This two simple commands will put services into startup type “disabled” and errors in Server Manager that are related to non-running services will disappear. Problem solved.
Microsoft just changed Server 2016 so this does not work anymore.
I know. Here is a new post: https://em-soft.si/myblog/elvis/?p=975
Very similar and I don’t know for how long it will work.
I just made this change on a new 2016 box, it worked fine
Get-Service -Name MapsBroker | Set-Service -StartupType Disabled -Confirm:$false
Get-Service -Name OneSyncSvc | Set-Service -StartupType Disabled -Confirm:$false
Set-ItemProperty -Path ‘HKLM:\System\CurrentControlSet\Services\MapsBroker’ -Name Start -Value 4
$onesync = (Get-ChildItem ‘HKLM:\System\CurrentControlSet\Services’ | ?{$_.PSChildName -like “OneSync*”}).Name
$here = Get-Location
cd HKLM:\
ForEach($sync in $onesync) {
Set-ItemProperty -Path $sync -Name Start -Value 4
}
cd $here
Get-Service OneSync* | Stop-Service -Force
Get-Service MapsBroker | Stop-Service -Force