|
我用.bat将WinPE的注册表挂载到win7:
REG LOAD "HKLM\WinPE-DEFAULT" Default
REG LOAD "HKLM\WinPE-SOFTWARE" Software
REG LOAD "HKLM\WinPE-SYSTEM" System
START /B REGEDIT
例如我要加入WinRAR(只是例子不是要加WinRAR)到HKEY_CURRENT_USER\SOFTWARE:
[HKEY_CURRENT_USER\SOFTWARE\WinRAR\Extraction]
"DefFolder"="C:\\(Test-1)"
WinRAR.reg改成下面导入到.DEFAULT:
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\WinPE-.DEFAULT\SOFTWARE\WinRAR\Extraction]
"DefFolder"="C:\\(Test-1)"
导出注册表:
REG UNLOAD "HKLM\WinPE-.DEFAULT"
REG UNLOAD "HKLM\WinPE-SOFTWARE"
REG UNLOAD "HKLM\WinPE-SYSTEM"
attrib -s -h -r *.*
完成之后, 在WinPE内看到WinRAR是在HKEY_USERS\.DEFAULT\Software\WinRAR
HKEY_CURRENT_USER\Software内没有WinRAR.
请问如何才能加到HKEY_CURRENT_USER\Software内的?
谢谢. |
|