本文共 1287 字,大约阅读时间需要 4 分钟。
- 1. import/export Windows registry through cmd:REGEDIT [/L:system] [/R:user] filename1REGEDIT [/L:system] [/R:user] /C filename2REGEDIT [/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.regSample 2: import registry from a file:regedit c:\test.reg2. use Windows Administrative Tools -- PerformanceSample: 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.
转载于:https://www.cnblogs.com/markjiao/archive/2009/08/21/1551626.html