System command

logman start and logman stop command

This guide gathers the Microsoft Learn syntax and parameter reference for logman start and logman stop, a Windows command or tool subcommand. Availability can depend on Windows version, role, optional feature and execution context.

Availability: Microsoft Learn command reference spanning Windows client and Windows Server releases; some entries are legacy, role-specific, optional-feature or interactive subcommands.中文

Documented syntax

logman start <[-n] <name>> [options]
logman stop <[-n] <name>> [options]

The linked Microsoft Learn article is the upstream authority. Availability may depend on Windows release, role, optional feature or interactive tool context.

Examples

Example from the linked Microsoft Learn article. Check its paths, targets and availability before adapting it.

logman start perf_log -s server_1

Parameters, options and clauses

Option / clauseDescription
start / stopStart a data collector or stop a Data Collector Set.
[-n] <name>Identify the target object by name.
-s <computer name>Run against the specified remote computer.
-config <value>Load command options from a settings file.
-etsSend commands directly to Event Trace Sessions without saving or scheduling.
-asPerform the requested operation asynchronously.
/?Display context-sensitive help.
Safety note

Review a command and its target before running it. Commands that alter files, services, accounts, disks, permissions or databases may be difficult to reverse. Test in a safe environment and keep backups.

Official reference ↗Back to directory