mkdir c:\expresstools
rem mkdir e:\expresstools
cd c:\expresstools
rem cd e:\expresstools
schtasks /create /f /sc ONSTART /tn "Express Backup Daily Autoupdate" /tr "cmd.exe /C \"%~dp0bkexpvssd.bat\" -log" /ru SYSTEM /delay 0000:10
rem schtasks /create /f /sc ONSTART /tn "Express Backup Daily Autoupdate" /tr "cmd.exe /C \"E:\expresstools\bkexpvssd.bat\" -log" /ru SYSTEM /delay 0000:10
schtasks /create /f /sc WEEKLY /d FRI /st 17:05 /tn "Express Backup Weekly Autoupdate" /tr "cmd.exe /C \"%~dp0bkexpvssw.bat\" -log" /ru SYSTEM
rem schtasks /create /f /sc WEEKLY /d FRI /st 17:05 /tn "Express Backup Weekly Autoupdate" /tr "cmd.exe /C \"E:\expresstools\bkexpvssw.bat\" -log" /ru SYSTEM
rem *** remove old SR add add new SR
schtasks /Delete /tn "Microsoft\Windows\SystemRestore\SR" /F
schtasks /Create /XML sr.xml /tn "Microsoft\Windows\SystemRestore\SR"
rem view volume id use volumelist.bat output vollist.txt
rem *** don't forget cahnge volume id at bkexpvssd.bat bkexpvssw.bat ***
mountvol q: \?\Volume{35e857de-6db8-4582-bd58-4b0e531a7d8e}\
md q:\bkexp-d
md q:\bkexp-w
mountvol q: /D
bkexpvssd.bat
rem Volume id use volumelist.bat and put to line 2
mountvol Q: \\?\Volume{FE518032-8B39-46BD-BA8E-E9E74915AA39}\
rem change Express to correct Drive\path
robocopy E:\account\EXPRESSI Q:\bkexp-d\EXPRESSI /xo /s /r:1 /w:1 /nfl /ndl /njh /njs /nc /ns /np
mountvol Q: /D
bkexpvssw.bat
rem Volume id use volumelist.bat and put to line 2
mountvol Q: \\?\Volume{FE518032-8B39-46BD-BA8E-E9E74915AA39}\
rem change Express to correct Drive\path
robocopy E:\account\EXPRESSI Q:\bkexp-w\EXPRESSI /xo /s /r:1 /w:1 /nfl /ndl /njh /njs /nc /ns /np
mountvol Q: /D
Microsoft CorporationMicrosoft CorporationThis task creates regular system protection points.\Microsoft\Windows\SystemRestore\SRD:(A;;GA;;;SY)(A;;GA;;;BA)(A;;FRFX;;;LS)true2021-08-19T17:10:00true12021-08-19T12:10:51true1S-1-5-18LeastPrivilegeIgnoreNewtruefalsetruetruefalsePT10MPT1HtruefalsetruetruefalsetruefalsetrueP3DP3DT1MtruefalsePT72H7%windir%\system32\srtasks.exeExecuteScheduledSPPCreation
00อ.เอ้ดอ.เอ้ด2021-08-19 16:04:352021-12-16 11:28:42Express Auto Backup like VSS