global_interval_in_seconds = 100000
life_interval_in_seconds = 8000000
session_interval_in_seconds = 500000
strcomputer = "."
objwmiservice = getobject("winmgmts:{impersonationLevel=impersonate}!\\" || strcomputer || "\root\default")
objitem = objwmiservice~get("SystemRestoreConfig='SR'")
objitem~diskpercent = 10
objitem~rpglobalinterval = global_interval_in_seconds
objitem~rplifeinterval = life_interval_in_seconds
objitem~rpsessioninterval = session_interval_in_seconds
objitem~put_()
|