Share via


Systems Management SamplesĀ 

The following table lists Windows Vista samples that pertain to systems management and scheduling tasks. They are installed under the Samples folder in the following path:

\Program Files\Microsoft SDKs\Windows\v6.0\samples

For build instructions and additional information about the samples, see the Readme.txt files and other documents in the sample folders.

Sample Description Location (under Samples)

Windows  Event Log Configuration Sample

Demonstrates the configuration capabilities of the new Windows Event Log.

SysMgmt\Events\Config

Windows  Event Log Maintenance Sample

Demonstrates the logging capabilities of the new Windows Event Log.

SysMgmt\Events\Logging

Windows  Event Log Publisher Metadata Sample

Demonstrates the publisher and event discovery capabilities of the new Windows Event Log.

SysMgmt\Events\PublisherMetadata

Windows  Event Log Reading Events Sample

Demonstrates the querying and rendering capabilities of the new Windows Event Log.

SysMgmt\Events\Querying

Windows  Event Log Subscribing Sample

Demonstrates the subscription capabilities of the new Windows Event Log.

SysMgmt\Events\Subscribe

Windows  Event Collector Sample

Demonstrates the Windows Event Collector APIs.

SysMgmt\Events\WEC\CPP

Reduce Reboot on Windows Installer Update Sample

Reduces computer restarts by unloading Msi.Dll in all system processes.

SysMgmt\Msi\RebootReduction

Execute Task on System Startup Sample

Creates a task to run an executable at system startup.

SysMgmt\TaskSched\ExeOnBoot

Execute  Task on System Startup Sample

Creates a task that runs an executable at system startup.

SysMgmt\TaskSched\ExeOnBoot

Execute Task on Logon Sample

Creates a task to run an executable on logon.

SysMgmt\TaskSched\ExeOnLogon

Execute Task on Registration Sample

Creates a task to run an executable on registration.

SysMgmt\TaskSched\ExeOnRegistration

Enumerate Registered Tasks Sample

Enumerates registered tasks.

SysMgmt\TaskSched\RegisteredTaskEnum

Windows  Remote Management Sample

Shows how to use Windows Remote Management (WinRM) to change a property value for a hardware component.

SysMgmt\WinRM\HardwareManagement

See Also

Concepts

Multimedia Samples
Networking and Services Samples
Security Samples
Windows Base Samples
Windows UI Samples
XML Samples