Systemwiederherstellungspunkt Batch
Hi alle miteinander,
ich hab mit Autoit ein Programm geschrieben, dass Windows XP optimieren. (Ich hab mein eigenes geschrieben weil ich von TuneUp etc. nix halt).
Nun hab ichs ausprobiert und festgestellt dass manche Sachen nicht mehr richtig funktionieren.
Also möchte ich einen Systemwiederherstellungspunkt erstellen bevor das Programm gestartet wird.
Mit AutoIt geht das glaub ich nicht.
Aber mit der CMD geht das doch bestimmt.
Google hat mir auch nicht geholfen.
Die Exe für die Systemwiederherstulung liegt unter
Kann mir irgendjemand vllt helfen?
Schon mal vielen Dank im vorraus,
Andreas
ich hab mit Autoit ein Programm geschrieben, dass Windows XP optimieren. (Ich hab mein eigenes geschrieben weil ich von TuneUp etc. nix halt).
Nun hab ichs ausprobiert und festgestellt dass manche Sachen nicht mehr richtig funktionieren.
Also möchte ich einen Systemwiederherstellungspunkt erstellen bevor das Programm gestartet wird.
Mit AutoIt geht das glaub ich nicht.
Aber mit der CMD geht das doch bestimmt.
Google hat mir auch nicht geholfen.
Die Exe für die Systemwiederherstulung liegt unter
C:\WINDOWS\system32\Restore\rstrui.exe
. Ich kann aber keine Parameter mitgeben. (bzw. ich kann schon aber es bringt nichts)Kann mir irgendjemand vllt helfen?
Schon mal vielen Dank im vorraus,
Andreas
Bitte markiere auch die Kommentare, die zur Lösung des Beitrags beigetragen haben
Content-ID: 162643
Url: https://administrator.de/forum/systemwiederherstellungspunkt-batch-162643.html
Ausgedruckt am: 22.02.2025 um 08:02 Uhr
3 Kommentare
Neuester Kommentar
Moin.
Per batch geht das nicht.
Hilft Dir das http://www.planetsourcecode.com/vb/scripts/ShowCode.asp?txtCodeId=38387 ... ?
HTH
MK
Per batch geht das nicht.
Hilft Dir das http://www.planetsourcecode.com/vb/scripts/ShowCode.asp?txtCodeId=38387 ... ?
HTH
MK
Ein bischen Googeln führt zu: http://www.techrepublic.com/article/10-things-you-should-know-about-win ...
Und dort findet man:
#7: Bypassing the System Restore Wizard
If you want to be able to manually create a restore pointwithout having to go through the wizard, you can create a simple two-lineVBScript file that uses WMI (Windows Management Instrumentation) to instantlycreate a restore point. Just launch Notepad and type these two lines:
Set IRP =getobject("winmgmts:\\.\root\default:Systemrestore")
MYRP = IRP.createrestorepoint ("My Restore Point", 0, 100)
Then, save the file as MyRestorePoint.vbs. Now, you can easilycreate an restore point by double-clicking the script's icon. When you do,System Restore will run in the background without displaying its interface andwill create a restore point called MyRestore Point.
Und dort findet man:
#7: Bypassing the System Restore Wizard
If you want to be able to manually create a restore pointwithout having to go through the wizard, you can create a simple two-lineVBScript file that uses WMI (Windows Management Instrumentation) to instantlycreate a restore point. Just launch Notepad and type these two lines:
Set IRP =getobject("winmgmts:\\.\root\default:Systemrestore")
MYRP = IRP.createrestorepoint ("My Restore Point", 0, 100)
Then, save the file as MyRestorePoint.vbs. Now, you can easilycreate an restore point by double-clicking the script's icon. When you do,System Restore will run in the background without displaying its interface andwill create a restore point called MyRestore Point.