|
混合挂载注册表文件的离线注册,请同时运行以下三个批处理文件(需关闭注册表编辑器后)后再行离线注册!
PE-SOFTWARE.CMD--------这只是sf示范脚本
@echo off
PUSHD %~dp0
REG LOAD HKLM\PE-SOFTWARE .\SOFTWARE
@echo 暂停一下,编辑完成后后按任意键退出注册表挂载
regedit.exe
PAUSE >NUL
REG UNLOAD HKLM\PE-SOFTWARE
PE-SYSTEM.CMD :
@echo off
PUSHD %~dp0
REG LOAD HKLM\PE-SYSTEM .\SYSTEM
@echo 暂停一下,编辑完成后后按任意键退出注册表挂载
regedit.exe /s .\Win7_8右键关机菜单.REG
regedit.exe
PAUSE >NUL
REG UNLOAD HKLM\PE-SYSTEM
PE-.DEFAULT.CMD :----位于原生HKCR段
@echo off
PUSHD %~dp0
REG LOAD HKLM\PE-.DEFAULT .\DEFAULT
@echo 暂停一下,编辑完成后后按任意键退出注册表挂载
regedit.exe
PAUSE >NUL
REG UNLOAD HKLM\PE-.DEFAULT
Win7_8右键关机菜单.REG
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\PE-SOFTWARE\Classes\DesktopBackground\Shell\Power Menu]
"MUIVerb"="重启或关机"
"SubCommands"="logoff;restart;shutdown"
"Icon"="shell32.dll,215"
"Position"="bottom"
[HKEY_LOCAL_MACHINE\PE-SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\logoff]
@="注销"
[HKEY_LOCAL_MACHINE\PE-SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\logoff\command]
@="Shutdown -l"
[HKEY_LOCAL_MACHINE\PE-SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\restart]
@="重启"
[HKEY_LOCAL_MACHINE\PE-SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\restart\command]
@="Shutdown -r -f -t 00"
[HKEY_LOCAL_MACHINE\PE-SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\shutdown]
@="关机"
[HKEY_LOCAL_MACHINE\PE-SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\shutdown\command]
@="Shutdown -s -f -t 00"
[ 本帖最后由 2010khmsoft 于 2013-3-25 17:39 编辑 ] |
|