Interacting with services requires administrative privileges.
To view a list of installed services, type (this command does not require administrative privileges):
net start
Powershell can also be used, then it would be:
get-service | select Name
To start a service, type:
net start <name of service>
Or using powershell:
start-service -name <short name of service>
start-service -displayname <long name of service>
To stop a service, type:
net stop <name of service>
Or using powershell:
stop-service -name <short name of service>
stop-service -displayname <long name of service>
Note, services have a long and short name. For example: "Windows Update" is also known as wuauserv. Typing a service that contains a space needs to be quoted.
To modify the startup type of a service (example Automatic or disabled) use:
sc config "<name of service>" start=auto
sc config "<name of service>" start=disabled
Or using Powershell:
Set-Service -Name <short name of service> -StartupType automatic
Set-Service -DisplayName <long name of service> -StartupType disabled
The -name and -displayname obviously work for both setting the startup type to automatic and disabled, its just an example.
Given that you also mention Microsoft OneDrive, keep in mind that OneDrive is very stubborn and will likely be able to activate itself when you open the explorer. If you don't want to use OneDrive, consider going to start->Add/remove programs, and uninstall Microsoft OneDrive.
Also how could i stop arbitary service, given by its name? Some are specific executables, some are svchost and i cant just terminate it via process manager, as they could host over vital services. I event could not manage which svchost hosts what? – xakepp35 – 2017-05-31T10:52:51.557
Are they actually registry entries or what? Where did this random disease, called "services", sits? – xakepp35 – 2017-05-31T10:53:34.437
What do you mean by disease? And what OS are you using? – Jimmy_A – 2017-05-31T11:01:14.087
@D.A windows 10 x64 – xakepp35 – 2017-05-31T11:30:30.217