Manage services and jobs

Use Services Manager on the desktop or svctl in a terminal to see what is running and control it. Both talk to peinit, the service manager that runs as PID 1. Start with a status check; change the definition only when the running service needs different configuration.

$ svctl list
$ svctl status jellyfin
$ svctl boot

Replace jellyfin with the service name you want to inspect. list shows only services you have permission to query.

Where to start #

What you needStart here
Check, start, stop, restart, or reload a serviceControlling services
Understand Failed, Backoff, Skipped, or AbandonedRead service states and Troubleshooting
Find output from a failed run or hookService output and logging
Create a service or change its settingsDefining a service
Change automatic starts or a scheduleTriggers and timers
Diagnose a reduced boot or reboot loopBoot modes
Shut down or reboot deliberatelyShutdown

For exact field types and defaults, use the Registry key reference. For implementation and protocol details, use the peinit Technical Reference Manual.

Three kinds of object #

In status or logsMeaningWhat to inspect
ServiceA named definition and its current state.svctl status <service>
JobOne execution of a service, hook, health check, or submitted program. A restart gets a new job ID.The job ID in status and the matching logs.
OperationOne request to start, stop, restart, reload, or reset a service.svctl operation-status <id> when a command returned without waiting.

See Jobs and operations to follow a run or submit a one-off job.

peinit in one sentence #

peinit starts services from registry definitions, runs each under its configured identity, supervises it, and stops services in dependency order at shutdown. You use svctl or Services Manager to request those actions.

What peinit is not #

Service definitions live under Machine\System\Services\ in the registry. There are no systemd unit files or Windows SCM commands to edit or translate. Use Defining a service for configuration and Service types for programs that need to stay in the foreground.

Logs and durable history belong to eventd. Open Logs… for a service in Services Manager, or follow Service output and logging. The TRM compatibility notes describe the interface boundaries.

The one operational invariant #

peinit uses a cached service configuration. A saved change may wait for the next start or another relevant operation; it does not necessarily change a running process. Check when configuration changes apply. The event-loop design explains why.

Where peinit sits in the system #

The service’s Identity controls what its process may access. Its ServiceSecurity permissions control who may manage it. Permission to edit its registry definition is separate again. See Service identity and Who can manage a service. The TRM system map covers the components behind these checks.

Edit this page