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

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

  
/* Disables system restore on a computer. This is equivalent to selecting the checkbox Turn off System
 * Restore (found by right-clicking My Computer, clicking Properties, and then clicking on the System
 * Restore tab in the resulting dialog box).
 */
strcomputer = "."
objwmiservice = getobject("winmgmts:{impersonationLevel=impersonate}!\\" || strcomputer || "\root\default")
objitem = objwmiservice~get("SystemRestore")
errresults = objitem~disable("")
掌柜推荐
 
 
 
 
 
 
 
 
 
 
 
 
© Wed 2022-8-10  Guidance Laboratory Inc.
Email:webmaster1g.yi.org Hits:0 Last modified:2010-07-16 20:49:16