Ručno
Start >> Run >> SystemPropertiesProtection >> pa slijedi upute
batch.cmd
Koristi se powershell 5
-
powershell -version 5 -command "Checkpoint-Computer -Description (Get-Date -UFormat %Y%m%d) -RestorePointType 'MODIFY_SETTINGS'"
pwsh7.ps1
-ne znam-
wscript.vbs
Pozor! Ovo je prestalo raditi s novijim apdejtima Windowsa 10 :/ Ali bez greške i dalje javlja “OK”. Skripta može poslužiti kao temelj za analizu i prilagodbu novim uvjetima.
# Skripta CreateSystemRestorePoint.vbs
Set objArguments = Wscript.Arguments
CrtRPn = objArguments(0)
Set obj = GetObject("winmgmts:{impersonationLevel=impersonate}!root/default:SystemRestore")
If (obj.CreateRestorePoint(CrtRPn, 0, 100)) = 0 Then
wscript.Echo "MOŽDA NE NAPRAVIH NIŠTA ALI OK"
Else
wscript.Echo "Možda ne napravih ništa jer se dogodio neki usrani error"
End If
|
Pokrećeš je kao administrator naredbom: wscript CreateSystemRestorePoint.vbs "MojRodjeniRestorePoint"
srp xsrp systemrestorepoint xsystemrestorepoint restorepoint xrestorepoint point xpoint system restore point create xcreate kreiraj xkreiraj backup xbackup


1 thought on “Kreiraj SystemRestorePoint”
Comments are closed.