Backing Up Registry using Batch + Explained!

Status
Not open for further replies.

l0calh0st

Active Member
4,052
2010
713
0
Take a fast backup using Batch. So you can always revert changes that are made by software or windows update.

Batch Level: N00B.

Code:
: Full Registry Backup - Example by l0calh0st
: START CMD

: Disable echo
@echo off

: Whitespace
echo.

: Display message
echo Backing up registry...
REG EXPORT HKCU HKCU_BAK.reg
REG EXPORT HKLM HKLM_BAK.reg

: Whitespace
echo.

: Display message
echo Backup finsihed!

: Wait on user
pause

: STOP CMD

Paste into notepad and save a .bat extension and run it!

The backup will be exported as .REG file.
 
Status
Not open for further replies.
Back
Top