1. Regedit command
Regedit [parameter]
Import the. reg file to the registry using filename.
/S import the. reg file to the Registry (Quiet Mode)
/E export the Registry File
Example:Regedit/e filename. Reg HKEY_LOCAL_MACHINE // System
/L: system specifies system. dat
/R: User specifies user. dat
/C compression [file name] (Windows 98)
Some other parameters are also available, such as/a, but I found that the function is nothing more than the above! In addition, it is very dangerous to test parameters, which may result in a huge registry.
For batch processing, save the preceding command as a bat file.
2. Run the batch file to automatically export the run configuration item in the registry.
Batch file. Bat content:
Md c:/REG
Regedit/e c:/REG/reg1.txt "HKEY_LOCAL_MACHINE/software/Microsoft/Windows/CurrentVersion/run"
Regedit/e c:/REG/reg2.txt "HKEY_LOCAL_MACHINE/software/Microsoft/Windows/CurrentVersion/runonce"
Regedit/e c:/REG/reg3.txt "HKEY_LOCAL_MACHINE/software/Microsoft/Windows/CurrentVersion/runonceex"
Regedit/e c:/REG/reg4.txt "HKEY_LOCAL_MACHINE/software/Microsoft/Windows/CurrentVersion/runservices"
Regedit/e c:/REG/reg5.txt "HKEY_CURRENT_USER/software/Microsoft/Windows/CurrentVersion/run"
Regedit/e c:/REG/reg6.txt "HKEY_CURRENT_USER/software/Microsoft/Windows/CurrentVersion/runonce"
3. Cancel the ban on modifying the Regedit File on the IE homepage
. Bat content:
Regedit4
[HKEY_LOCAL_MACHINE/software/Microsoft/Windows/CurrentVersion/policies/system]
"Disableregistrytools" = DWORD: 00000000
[HKEY_CURRENT_USER/software/Microsoft/Windows/CurrentVersion/policies/system]
"Disableregistrytools" = DWORD: 00000000
[HKEY_CURRENT_USER/software/policies/Microsoft/Internet Explorer/Control Panel]
"Homepage" =-