Advertisement
0utsidethebox

Scheduled task for Windows registry backup

Nov 1st, 2018
1,466
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Batch 0.46 KB | None | 0 0
  1. md %WinDir%\system32\config\MyRegBack & schtasks /create /ru system /sc weekly /st 12:00:00 /tn "MyRegIdleBackup" /tr "cmd /c del /f /q %WinDir%\system32\config\MyRegBack & cd /d %WinDir%\system32\config\MyRegBack & reg save HKLM\SAM SAM & reg save HKLM\SECURITY SECURITY & reg save HKLM\SOFTWARE SOFTWARE & reg save HKLM\SYSTEM SYSTEM & reg save HKU\.DEFAULT DEFAULT"
  2.  
  3. :: http://www.outsidethebox.ms/12505/
  4. :: https://twitter.com/sterkin_ru/status/1057531772311928833
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement