banner

[SystemRestore]

Answer File = Unattend.txt

The [SystemRestore] section contains entries for specifying the System Restore feature.

Entry Description
CheckpointCalendarFrequency Specifies the calendar frequency with which Setup creates automatic system checkpoints or restore points.
CheckpointSessionFrequency Specifies the session length frequency after which Setup creates an automatic system checkpoint or restore point.
MaximumDataStorePercentOfDisk Specifies the maximum percentage of the hard disk to use for the System Restore datastore.
RestorePointLife Specifies the maximum age of a restore point before Setup automatically purges it from the datastore.

Sample

This sample demonstrates one use of the [SystemRestore] section of Unattend.txt.

[SystemRestore]
CheckpointCalendarFrequency = 2
CheckpointSessionFrequency = 10
MaximumDataStorePercentOfDisk = 25
RestorePointLife = 10

CheckpointCalendarFrequency

Specifies the calendar frequency with which Setup creates automatic system checkpoints or restore points.

Syntax CheckpointCalendarFrequency = days
Value days

An integer.

Default Value 1
Registry entry HKEY_LM\SOFTWARE\Microsoft\WindowsNT\CurrentVersion\
SystemRestore\RPGlobalInterval
Example
CheckpointCalendarFrequency = 2
Comments Setup calculates the time since the last restore point, converts this entry to its equivalent number of seconds, and then writes that value to the registry. CheckpointCalendarFrequency is checked before CheckpointSessionFrequency.

icon Return to top

CheckpointSessionFrequency

Specifies the session length frequency after which Setup creates an automatic system checkpoint or restore point.

Syntax CheckpointSessionFrequency = hours
Value hours

An integer.

Default Value 10
Registry entry HKEY_LM\SOFTWARE\Microsoft\WindowsNT\CurrentVersion\
SystemRestore\RPSessionInterval
Example
CheckpointSessionFrequency = 10
Comments Setup calculates the time since the last restore point, converts this entry to its equivalent number of seconds, and then writes that value to the registry. CheckpointCalendarFrequency is checked before CheckpointSessionFrequency.

icon Return to top

MaximumDataStorePercentOfDisk

Specifies the maximum percentage of the hard disk to use for the System Restore datastore.

Syntax MaximumDataStorePercentOfDisk = disk_percentage
Value disk_percentage

A two-digit integer.

Default Value 12
Registry entry HKEY_LM\SOFTWARE\Microsoft\WindowsNT\CurrentVersion\
SystemRestore\DiskPercent
Example
MaximumDataStorePercentOfDisk = 25
Comments If the size of the datastore is minimal, Setup might purge restore points before they reach the maximum age set by RestorePointLife.

icon Return to top

RestorePointLife

Specifies the maximum age of a restore point before Setup automatically purges it from the datastore.

Syntax RestorePointLife = integer
Value days

An integer.

Default Value 30
Registry entry HKEY_LM\SOFTWARE\Microsoft\WindowsNT\CurrentVersion\
SystemRestore\RPLifeInterval
Example
RestorePointLife = 10
Comments Setup converts this entry to its equivalent number of seconds and writes that value to the registry.

icon Return to top