Garbage Collection Schedule

Microsoft.Windows.FileServices.Service.Deduplication.6.3.GCScheduleEnabled (UnitMonitor)

Knowledge Base article:

Summary

This object monitors the health of Garbage Collection schedules on the machine.

When Garbage Collection is not scheduled to run, unreferenced data due to deletion and update of files will not be freed. This will impact the amount of free space on the volume.

Causes

Garbage Collection schedule is not enabled.

Resolution

Create or enable a Garbage Collection schedule using the powershell cmdlets New-DedupSchedule and Set-DedupSchedule.

Additional

Deduplication Cmdlets in Windows PowerShell (http://go.microsoft.com/fwlink/?LinkId=255899)

Element properties:

TargetMicrosoft.Windows.FileServices.Service.Deduplication.6.3
Parent MonitorSystem.Health.ConfigurationState
CategoryConfigurationHealth
EnabledTrue
Alert GenerateTrue
Alert SeverityMatchMonitorHealth
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeMicrosoft.Windows.FileServices.Service.Deduplication.6.3.ScheduleJobCheck
RemotableTrue
AccessibilityPublic
Alert Message
No Deduplication Garbage Collection Schedules Enabled
Computer {0} has deduplication enabled. However there are no garbage collection schedules currently enabled.
RunAsDefault

Source Code:

<UnitMonitor ID="Microsoft.Windows.FileServices.Service.Deduplication.6.3.GCScheduleEnabled" TypeID="Microsoft.Windows.FileServices.Service.Deduplication.6.3.ScheduleJobCheck" Accessibility="Public" Target="Microsoft.Windows.FileServices.Service.Deduplication.6.3" Remotable="true" ParentMonitorID="SystemHealth!System.Health.ConfigurationState">
<Category>ConfigurationHealth</Category>
<AlertSettings AlertMessage="Microsoft.Windows.FileServices.Service.Deduplication.6.3.GCScheduleEnabled.AlertMessage">
<AlertOnState>Warning</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>MatchMonitorHealth</AlertSeverity>
<AlertParameters>
<AlertParameter1>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</AlertParameter1>
</AlertParameters>
</AlertSettings>
<OperationalStates>
<OperationalState MonitorTypeStateID="ScheduleNotEnabled" HealthState="Warning" ID="ScheduleNotEnabled"/>
<OperationalState MonitorTypeStateID="ScheduleEnabled" HealthState="Success" ID="ScheduleEnabled"/>
</OperationalStates>
<Configuration>
<IntervalSeconds>900</IntervalSeconds>
<TimeoutSeconds>300</TimeoutSeconds>
<SyncTime/>
<PropertyBagValueToCheck>GarbageCollectionSchedulesEnabled</PropertyBagValueToCheck>
<ComputerName>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</ComputerName>
</Configuration>
</UnitMonitor>