Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Comprehensive List of ERUNT Commands with Descriptions
#1
Comprehensive List of ERUNT Commands with Descriptions

**ERUNT** (Emergency Recovery Utility NT) is a utility for backing up and restoring the Windows Registry. It is particularly useful for creating registry backups that can be restored in case of system failures. Below is a detailed list of ERUNT commands, along with descriptions and examples.



1. Backing Up the Registry
Description: Creates a backup of the entire Windows Registry. By default, the backup is stored in a folder named after the current date.
Code:
erunt.exe [BackupPath]
Example: To back up the registry to `C:\RegBackups`:
Code:
erunt.exe C:\RegBackups
Note: If no path is specified, ERUNT will create a backup in the `C:\WINDOWS\ERDNT` directory by default.

2. Backing Up the Registry with a Custom Folder Name
Description: Creates a registry backup with a custom folder name instead of the default date-based name.
Code:
erunt.exe [BackupPath]\[CustomFolderName]
Example: To back up the registry to `C:\RegBackups\MyBackup`:
Code:
erunt.exe C:\RegBackups\MyBackup

3. Silent Mode Backup
Description: Performs a registry backup without displaying any prompts or confirmation dialogs.
Code:
erunt.exe [BackupPath] /noconfirmdelete /noprogresswindow /days:0
Example: To silently back up the registry to `C:\RegBackups`:
Code:
erunt.exe C:\RegBackups /noconfirmdelete /noprogresswindow /days:0

4. Automated Daily Backup
Description: Configures ERUNT to create daily backups automatically, storing backups in a specified directory.
Code:
erunt.exe [BackupPath] /days:[NumberOfDays]
Example: To set up automated daily backups in `C:\RegBackups` and keep backups for 7 days:
Code:
erunt.exe C:\RegBackups /days:7

5. Restoring the Registry from a Backup
Description: Restores the registry from a previously created backup. The restoration process should be performed from Safe Mode or from outside of Windows.
Code:
erdnt.exe [BackupPath]
Example: To restore the registry from a backup located in `C:\RegBackups\20230902`:
Code:
erdnt.exe C:\RegBackups\20230902

6. Restoring the Registry Silently
Description: Restores the registry without any prompts or user interaction.
Code:
erdnt.exe [BackupPath] /silent
Example: To restore the registry from a backup located in `C:\RegBackups\20230902` without any prompts:
Code:
erdnt.exe C:\RegBackups\20230902 /silent

7. Backing Up Only Specific Parts of the Registry
Description: Allows you to back up only specific registry hives such as `SYSTEM`, `SOFTWARE`, or `DEFAULT`.
Code:
erunt.exe [BackupPath] /registry [hive1] [hive2] ...
Example: To back up only the `SYSTEM` and `SOFTWARE` hives to `C:\RegBackups\PartialBackup`:
Code:
erunt.exe C:\RegBackups\PartialBackup /registry system software

8. Creating a Backup and Including the User Registry
Description: Backs up the entire registry including the user registry hives (`NTUSER.DAT`).
Code:
erunt.exe [BackupPath] /user
Example: To back up the registry including the user registry to `C:\RegBackups`:
Code:
erunt.exe C:\RegBackups /user

9. Restoring the Registry with the User Registry
Description: Restores the entire registry including the user registry hives.
Code:
erdnt.exe [BackupPath] /user
Example: To restore the registry including the user registry from `C:\RegBackups\20230902`:
Code:
erdnt.exe C:\RegBackups\20230902 /user

10. Automating the Backup Process via Task Scheduler
Description: Automates the backup process by scheduling it with Windows Task Scheduler. This is not a direct ERUNT command but can be set up using Task Scheduler.
Code:
schtasks /create /tn "DailyRegistryBackup" /tr "C:\Path\To\erunt.exe C:\RegBackups /noconfirmdelete /noprogresswindow /days:7" /sc daily /st 02:00
Example: To create a daily registry backup at 2 AM:
Code:
schtasks /create /tn "DailyRegistryBackup" /tr "C:\ERUNT\erunt.exe C:\RegBackups /noconfirmdelete /noprogresswindow /days:7" /sc daily /st 02:00



Conclusion

ERUNT is a valuable tool for backing up and restoring the Windows Registry. By using these commands, you can ensure that your system's registry is safely backed up and can be restored in the event of a system issue. Regular backups can prevent significant data loss and simplify recovery processes.

Happy Scripting!
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)