Advanced RegScanner Tips: Filters, Columns, and Exporting Results
Filters — practical uses
- Match types: Use “Exact match” for precise keys/values, “Contains” for partial text, and “Registry item contains any value” to list all values under a key.
- Base key targeting: Uncheck “Scan the following base keys” and type a full base key (e.g., HKLM\Software\Vendor) to limit scope.
- Data-length filter: Enable “Display only data with the following length range” to find large or tiny values (e.g., 1000–100000 bytes).
- Time-based filters: Use “Display only keys that their modified time is within the following range” or the “show only Registry keys modified in the last” shortcut to find recent changes.
- Key/value selection: Toggle “Add entry for each found key” vs. “Add only keys” to control whether each value is listed separately.
Columns — what to show and why
- Path / Name / Type: Essential for identifying items.
- Data / Data Length: Use Data Length to spot unusually large values; show Data when you need exact content.
- Modified Time: Crucial when investigating recent changes.
- Owner / Last Write / Value Type: Useful in audits or forensic work.
- Tip: customize visible columns to reduce noise and speed up review.
Exporting results — formats and workflows
- GUI exports: Right-click results to export to CSV, HTML, XML, TXT, or save selected items. Use HTML for human-readable reports, CSV/TSV for spreadsheets.
- Command-line exports: Use command-line options for automation:
- /sreg “” — export to .reg (importable by RegEdit)
- /scomma “” — export to CSV
- /stab “” — export to tab-delimited text
- /sxml “” — export to XML
- /shtml or /sverhtml “” — export to HTML
- Save/load configs: Save scan settings to a .cfg and reuse with /cfg “” for repeatable automated scans.
- Delete/undo: You can create “delete registry files” from results; always back up the Registry before applying deletions.
Command-line examples
Code
RegScanner.exe /cfg “C:\tools\mysearch.cfg” /scomma “C:\output\results.csv” RegScanner.exe /sreg “C:\output\exported_keys.reg” RegScanner.exe /regedit “HKEY_LOCAL_MACHINE\Software\Example”
Best practices
- Backup first: RegScanner has no built-in full backup — export or create a system restore point before bulk edits.
- Limit scope: Narrow base keys and use time/data filters to avoid huge result sets.
- Use RegEdit links: Enable “Support Reg: Links” to open items directly in RegEdit.
- Run elevated when needed: Use /RunAsAdmin or /RunAsSystem for keys requiring higher privileges.
Sources: NirSoft RegScanner documentation and utility notes (command-line options, filters, export features).
Leave a Reply