Guidance
指路人
g.yi.org
Software / Reginald / Examples / repository / Desktop Management / System Restore / Mod.rex

Register 
注册
Search 搜索
首页 
Home Home
Software
Upload

  
/* Modifies the system restore configuration values on a computer, setting the global
 * interval to 100,000 seconds; the life interval to 8,000,000 seconds; and the session
 * interval to 500,000 seconds
 */
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_()

掌柜推荐
 
 
¥287.00 ·
 
 
¥2,600.00 ·
 
 
¥289.00 ·
 
 
¥1,370.00 ·
 
 
¥289.00 ·
 
 
¥1,480.00 ·
© Sun 2024-11-24  Guidance Laboratory Inc.
Email:webmaster1g.yi.org Hits:0 Last modified:2010-07-16 20:49:16