Comprehensive List of ERUNT Commands with Descriptions - Printable Version +- WildlandsTech (https://wildlandstech.com) +-- Forum: Programming (https://wildlandstech.com/forumdisplay.php?fid=3) +--- Forum: Batch & Shell Scripting (https://wildlandstech.com/forumdisplay.php?fid=42) +--- Thread: Comprehensive List of ERUNT Commands with Descriptions (/showthread.php?tid=144) |
Comprehensive List of ERUNT Commands with Descriptions - Sneakyone - 09-03-2024 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] Code: erunt.exe C:\RegBackups 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] 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 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] 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] 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 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] ... 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 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 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 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! |