Jump to content
YOUR-AD-HERE
HOSTING
TOOLS
992Proxy

Locked Funcion Habilitar-Deshabilitar Restaurar Sistema [By Pink]


Expermicid

Recommended Posts

[lenguaje=autoit]#cs -------------------------------------------------------

AutoIt Version: 3.3.8.1

Author..........: Pink

Script Function...: Habilitar()-Deshabilitar()

Uso..............: Habilitar()-Deshabilitar() Respectivamente

#ce -------------------------------------------------------

 

 

Func Habilitar()

$Computer = @ComputerName

$WMI = ObjGet("winmgmts://" & $Computer & "/root/default:SystemRestore")

$WMI.Enable("")

EndFunc

 

 

Func Deshabilitar()

$Computer = @ComputerName

$WMI = ObjGet("winmgmts://" & $Computer & "/root/default:SystemRestore")

$WMI.Disable("")

EndFunc [/lenguaje]

 

Autor: Pink

 

Saludos

Edited by Expermicid
Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.