Some useful tips on Windows: import/export Windows registry through cmd
1. import/export Windows registry through cmd:
REGEDIT [/L:system] [/R:user] filename1
REGEDIT [/L:system] [/R:user] /C filename2
REGEDIT [/L:system] [/R:user] /E filename3 [regpath]
/L:system Specifies the location of the SYSTEM.DAT file.
/R:user Specifies the location of the USER.DAT file.
filename1 Specifies the file(s) to import into the regist
/C filename2 Specifies the file to create the registry from.
/E filename3 Specifies the file to export the registry to.
regpath Specifies the starting registry key to export from.
(Defaults to exporting the entire registry).
/S (Windows) Silent - no message on completion.
Sample 1: export all registry to a file:
regedit /e c:\test.reg
Sample 2: import registry from a file:
regedit c:\test.reg
2. use Windows Administrative Tools -- Performance
Sample: export Memory and CPU utilization to a text file;
- Performance -> Performance Logs and Alerts -> Counter Logs: right click and select "New Log settings..."
- input name: RecordMemoryProsessorUsage
- General -> Add Counters...
- Add Conters: (Performance object: Processor: % Processor Time _Total) (Memory: Available KBytes) click "Add";
- Log Files: (type: Text File) (End file names with: mmddhhmm);
- Schedule: Manually.