喜欢折腾电脑的小伙伴平时要修改某个注册表设置的时候去找某个键的时候比较很费眼,所以我添加了一些系统设置的键值在里面,请根据自己的需求添加就行了
把以下内容保存为.bat或.cmd文件就可以了,文件编码为ANSI就可以,只要你的编码没错就不会乱码,都是自己用批处理写的,没有动手能力的勿入
@echo off
REM 检查是否为管理员
net session >nul 2>&1
if %errorLevel% neq 0 (
echo 正在请求管理员权限...
powershell -Command "Start-Process cmd.exe -ArgumentList '/c \"%~f0\"' -Verb RunAs"
exit /b
)
REM 以下是需要管理员权限的代码
set dep=注册表设置
REG ADD "HKCR\CLSID\{00000000-0000-0000-0000-000000000040}" /v "MuiVerb" /t REG_EXPAND_SZ /d "%dep%" /f
REG ADD "HKCR\CLSID\{00000000-0000-0000-0000-000000000040}" /v "TileInfo" /t REG_EXPAND_SZ /d "prop:System.ItemAuthors" /f
REG ADD "HKCR\CLSID\{00000000-0000-0000-0000-000000000040}" /v "InfoTip" /t REG_EXPAND_SZ /d "使注册表管理修改,变得更直观,简单,方便,快捷,注册表编辑辅助工具" /f
REG ADD "HKCR\CLSID\{00000000-0000-0000-0000-000000000040}" /v "System.ItemAuthors" /t REG_EXPAND_SZ /d "让注册表管理设置变得更简单,注册表编辑辅助工具" /f
REG ADD "HKCR\CLSID\{00000000-0000-0000-0000-000000000040}" /v "LocalizedString" /t REG_EXPAND_SZ /d "%dep%" /f
REG ADD "HKCR\CLSID\{00000000-0000-0000-0000-000000000040}" /v "System.ControlPanel.Category" /t REG_EXPAND_SZ /d "2,4" /f
REG ADD "HKCR\CLSID\{00000000-0000-0000-0000-000000000040}\DefaultIcon" /ve /t REG_EXPAND_SZ /d "regedit.exe" /f
rem REG ADD "HKCR\CLSID\{00000000-0000-0000-0000-000000000040}\DefaultIcon" /ve /t REG_EXPAND_SZ /d "D:\Program Files (x86)\Hotel\hotel.exe" /f
REG ADD "HKCR\CLSID\{00000000-0000-0000-0000-000000000040}\InProcServer32" /ve /t REG_EXPAND_SZ /d "%%SystemRoot%%\system32\shdocvw.dll" /f
REG ADD "HKCR\CLSID\{00000000-0000-0000-0000-000000000040}\InProcServer32" /v "ThreadingModel" /t REG_EXPAND_SZ /d "Apartment" /f
REG ADD "HKCR\CLSID\{00000000-0000-0000-0000-000000000040}\Instance\InitPropertyBag" /ve /t REG_SZ /d "" /f
REG ADD "HKCR\CLSID\{00000000-0000-0000-0000-000000000040}\Instance\InitPropertyBag" /v "Param1" /t REG_SZ /d "" /f
REG ADD "HKCR\CLSID\{00000000-0000-0000-0000-000000000040}\Instance\InitPropertyBag" /v "command" /t REG_SZ /d "" /f
REG ADD "HKCR\CLSID\{00000000-0000-0000-0000-000000000040}\Instance\InitPropertyBag" /v "method" /t REG_SZ /d "ShellExecute" /f
REG ADD "HKCR\CLSID\{00000000-0000-0000-0000-000000000040}\Instance\InitPropertyBag" /v "CLSID" /t REG_SZ /d "{13709620-C279-11CE-A49E-444553540000}" /f
reg delete "HKCR\CLSID\{00000000-0000-0000-0000-000000000040}\Shell" /f
Reg.exe add "HKCR\CLSID\{00000000-0000-0000-0000-000000000040}\Shell" /ve /t REG_EXPAND_SZ /d "Open" /f
Reg.exe add "HKCR\CLSID\{00000000-0000-0000-0000-000000000040}\Shell\(HKCU)SF" /v "Muiverb" /t REG_EXPAND_SZ /d "(HKCU)Shell Folders" /f
Reg.exe add "HKCR\CLSID\{00000000-0000-0000-0000-000000000040}\Shell\(HKCU)SF" /v "Icon" /t REG_EXPAND_SZ /d "%%WINDIR%%\REGEDIT.EXE" /f
Reg.exe add "HKCR\CLSID\{00000000-0000-0000-0000-000000000040}\Shell\(HKCU)SF\Command" /ve /t REG_EXPAND_SZ /d "cmd /c REG ADD \"HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Applets\Regedit\" /v \"LastKey\" /t REG_SZ /d \"HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders\" /f>nul®edit.exe|taskkill /f /im cmd.exe" /f
Reg.exe add "HKCR\CLSID\{00000000-0000-0000-0000-000000000040}\Shell\(HKCU)USF" /v "Muiverb" /t REG_EXPAND_SZ /d "(HKCU)User Shell Folders" /f
Reg.exe add "HKCR\CLSID\{00000000-0000-0000-0000-000000000040}\Shell\(HKCU)USF" /v "Icon" /t REG_EXPAND_SZ /d "%%WINDIR%%\REGEDIT.EXE" /f
Reg.exe add "HKCR\CLSID\{00000000-0000-0000-0000-000000000040}\Shell\(HKCU)USF\Command" /ve /t REG_EXPAND_SZ /d "cmd /c REG ADD \"HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Applets\Regedit\" /v \"LastKey\" /t REG_SZ /d \"HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders\" /f>nul®edit.exe|taskkill /f /im cmd.exe" /f
Reg.exe add "HKCR\CLSID\{00000000-0000-0000-0000-000000000040}\Shell\(HKLM)SF" /v "Muiverb" /t REG_EXPAND_SZ /d "(HKLM)Shell Folders" /f
Reg.exe add "HKCR\CLSID\{00000000-0000-0000-0000-000000000040}\Shell\(HKLM)SF" /v "Icon" /t REG_EXPAND_SZ /d "%%WINDIR%%\REGEDIT.EXE" /f
Reg.exe add "HKCR\CLSID\{00000000-0000-0000-0000-000000000040}\Shell\(HKLM)SF\Command" /ve /t REG_EXPAND_SZ /d "cmd /c REG ADD \"HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Applets\Regedit\" /v \"LastKey\" /t REG_SZ /d \"HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders\" /f>nul®edit.exe|taskkill /f /im cmd.exe" /f
Reg.exe add "HKCR\CLSID\{00000000-0000-0000-0000-000000000040}\Shell\(HKLM)USF" /v "Muiverb" /t REG_EXPAND_SZ /d "(HKLM)User Shell Folders" /f
Reg.exe add "HKCR\CLSID\{00000000-0000-0000-0000-000000000040}\Shell\(HKLM)USF" /v "Icon" /t REG_EXPAND_SZ /d "%%WINDIR%%\REGEDIT.EXE" /f
Reg.exe add "HKCR\CLSID\{00000000-0000-0000-0000-000000000040}\Shell\(HKLM)USF\Command" /ve /t REG_EXPAND_SZ /d "cmd /c REG ADD \"HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Applets\Regedit\" /v \"LastKey\" /t REG_SZ /d \"HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders\" /f>nul®edit.exe|taskkill /f /im cmd.exe" /f
Reg.exe add "HKCR\CLSID\{00000000-0000-0000-0000-000000000040}\Shell\ALLFile" /v "MuiVerb" /t REG_EXPAND_SZ /d "所有文件右键菜单管理" /f
Reg.exe add "HKCR\CLSID\{00000000-0000-0000-0000-000000000040}\Shell\ALLFile" /v "Icon" /t REG_EXPAND_SZ /d "%%WINDIR%%\REGEDIT.EXE" /f
Reg.exe add "HKCR\CLSID\{00000000-0000-0000-0000-000000000040}\Shell\ALLFile\Command" /ve /t REG_EXPAND_SZ /d "PowerShell -Command \"Start-Process -WindowStyle Hidden cmd.exe -ArgumentList '/c REG ADD HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Applets\Regedit /v LastKey /t REG_SZ /d HKEY_CLASSES_ROOT\*\shell /f & regedit.exe'\"" /f
Reg.exe add "HKCR\CLSID\{00000000-0000-0000-0000-000000000040}\Shell\clsid" /v "MuiVerb" /t REG_EXPAND_SZ /d "转到clsid" /f
Reg.exe add "HKCR\CLSID\{00000000-0000-0000-0000-000000000040}\Shell\clsid" /v "Icon" /t REG_EXPAND_SZ /d "regedit.exe" /f
Reg.exe add "HKCR\CLSID\{00000000-0000-0000-0000-000000000040}\Shell\clsid\Command" /ve /t REG_EXPAND_SZ /d "PowerShell -Command \"Start-Process -WindowStyle Hidden cmd.exe -ArgumentList '/c REG ADD HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Applets\Regedit /v LastKey /t REG_SZ /d HKEY_CLASSES_ROOT\CLSID /f & regedit.exe'\"" /f
Reg.exe add "HKCR\CLSID\{00000000-0000-0000-0000-000000000040}\Shell\CommandStore" /v "MuiVerb" /t REG_EXPAND_SZ /d "CommandStore" /f
Reg.exe add "HKCR\CLSID\{00000000-0000-0000-0000-000000000040}\Shell\CommandStore" /v "Icon" /t REG_EXPAND_SZ /d "%%WINDIR%%\REGEDIT.EXE" /f
Reg.exe add "HKCR\CLSID\{00000000-0000-0000-0000-000000000040}\Shell\CommandStore\Command" /ve /t REG_EXPAND_SZ /d "PowerShell -Command \"Start-Process -WindowStyle Hidden cmd.exe -ArgumentList '/c REG ADD HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Applets\Regedit /v LastKey /t REG_SZ /d HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell /f & regedit.exe'\"" /f
Reg.exe add "HKCR\CLSID\{00000000-0000-0000-0000-000000000040}\Shell\CurrentVersion1" /v "MuiVerb" /t REG_EXPAND_SZ /d "CurrentVersion1" /f
Reg.exe add "HKCR\CLSID\{00000000-0000-0000-0000-000000000040}\Shell\CurrentVersion1" /v "Icon" /t REG_EXPAND_SZ /d "%%WINDIR%%\REGEDIT.EXE" /f
Reg.exe add "HKCR\CLSID\{00000000-0000-0000-0000-000000000040}\Shell\CurrentVersion1\Command" /ve /t REG_EXPAND_SZ /d "PowerShell -Command \"Start-Process -WindowStyle Hidden cmd.exe -ArgumentList '/c REG ADD HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Applets\Regedit /v LastKey /t REG_SZ /d HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion /f & regedit.exe'\"" /f
Reg.exe add "HKCR\CLSID\{00000000-0000-0000-0000-000000000040}\Shell\CurrentVersion2" /v "MuiVerb" /t REG_EXPAND_SZ /d "CurrentVersion2" /f
Reg.exe add "HKCR\CLSID\{00000000-0000-0000-0000-000000000040}\Shell\CurrentVersion2" /v "Icon" /t REG_EXPAND_SZ /d "%%WINDIR%%\REGEDIT.EXE" /f
Reg.exe add "HKCR\CLSID\{00000000-0000-0000-0000-000000000040}\Shell\CurrentVersion2\Command" /ve /t REG_EXPAND_SZ /d "PowerShell -Command \"Start-Process -WindowStyle Hidden cmd.exe -ArgumentList '/c REG ADD HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Applets\Regedit /v LastKey /t REG_SZ /d HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion /f & regedit.exe'\"" /f
Reg.exe add "HKCR\CLSID\{00000000-0000-0000-0000-000000000040}\Shell\Drive" /v "MuiVerb" /t REG_EXPAND_SZ /d "驱动器右键菜单管理" /f
Reg.exe add "HKCR\CLSID\{00000000-0000-0000-0000-000000000040}\Shell\Drive" /v "Icon" /t REG_EXPAND_SZ /d "%%WINDIR%%\REGEDIT.EXE" /f
Reg.exe add "HKCR\CLSID\{00000000-0000-0000-0000-000000000040}\Shell\Drive\Command" /ve /t REG_EXPAND_SZ /d "PowerShell -Command \"Start-Process -WindowStyle Hidden cmd.exe -ArgumentList '/c REG ADD HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Applets\Regedit /v LastKey /t REG_SZ /d HKEY_CLASSES_ROOT\Drive\shell /f & regedit.exe'\"" /f
Reg.exe add "HKCR\CLSID\{00000000-0000-0000-0000-000000000040}\Shell\Explorer1" /v "MuiVerb" /t REG_EXPAND_SZ /d "Explorer" /f
Reg.exe add "HKCR\CLSID\{00000000-0000-0000-0000-000000000040}\Shell\Explorer1" /v "Icon" /t REG_EXPAND_SZ /d "regedit.exe" /f
Reg.exe add "HKCR\CLSID\{00000000-0000-0000-0000-000000000040}\Shell\Explorer1\Command" /ve /t REG_EXPAND_SZ /d "PowerShell -Command \"Start-Process -WindowStyle Hidden cmd.exe -ArgumentList '/c REG ADD HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Applets\Regedit /v LastKey /t REG_SZ /d HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer /f & regedit.exe'\"" /f
Reg.exe add "HKCR\CLSID\{00000000-0000-0000-0000-000000000040}\Shell\Favorites" /v "MuiVerb" /t REG_EXPAND_SZ /d "注册表收藏夹管理" /f
Reg.exe add "HKCR\CLSID\{00000000-0000-0000-0000-000000000040}\Shell\Favorites" /v "Icon" /t REG_EXPAND_SZ /d "regedit.exe" /f
Reg.exe add "HKCR\CLSID\{00000000-0000-0000-0000-000000000040}\Shell\Favorites\Command" /ve /t REG_EXPAND_SZ /d "PowerShell -Command \"Start-Process -WindowStyle Hidden cmd.exe -ArgumentList '/c REG ADD HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Applets\Regedit /v LastKey /t REG_SZ /d HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Applets\Regedit\Favorites /f & regedit.exe'\"" /f
Reg.exe add "HKCR\CLSID\{00000000-0000-0000-0000-000000000040}\Shell\Fold" /v "MuiVerb" /t REG_EXPAND_SZ /d "文件夹右键菜单管理" /f
Reg.exe add "HKCR\CLSID\{00000000-0000-0000-0000-000000000040}\Shell\Fold" /v "Icon" /t REG_EXPAND_SZ /d "%%WINDIR%%\REGEDIT.EXE" /f
Reg.exe add "HKCR\CLSID\{00000000-0000-0000-0000-000000000040}\Shell\Fold\Command" /ve /t REG_EXPAND_SZ /d "PowerShell -Command \"Start-Process -WindowStyle Hidden cmd.exe -ArgumentList '/c REG ADD HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Applets\Regedit /v LastKey /t REG_SZ /d HKEY_CLASSES_ROOT\Folder\shell /f & regedit.exe'\"" /f
Reg.exe add "HKCR\CLSID\{00000000-0000-0000-0000-000000000040}\Shell\foldera" /v "MuiVerb" /t REG_EXPAND_SZ /d "文件夹选项高级设置增加" /f
Reg.exe add "HKCR\CLSID\{00000000-0000-0000-0000-000000000040}\Shell\foldera" /v "Icon" /t REG_EXPAND_SZ /d "regedit.exe" /f
Reg.exe add "HKCR\CLSID\{00000000-0000-0000-0000-000000000040}\Shell\foldera\Command" /ve /t REG_EXPAND_SZ /d "PowerShell -Command \"Start-Process -WindowStyle Hidden cmd.exe -ArgumentList '/c REG ADD HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Applets\Regedit /v LastKey /t REG_SZ /d HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced\Folder /f & regedit.exe'\"" /f
Reg.exe add "HKCR\CLSID\{00000000-0000-0000-0000-000000000040}\Shell\iejrx" /v "MuiVerb" /t REG_EXPAND_SZ /d "IE兼容性视图" /f
Reg.exe add "HKCR\CLSID\{00000000-0000-0000-0000-000000000040}\Shell\iejrx" /v "Icon" /t REG_EXPAND_SZ /d "regedit.exe" /f
Reg.exe add "HKCR\CLSID\{00000000-0000-0000-0000-000000000040}\Shell\iejrx\Command" /ve /t REG_EXPAND_SZ /d "PowerShell -Command \"Start-Process -WindowStyle Hidden cmd.exe -ArgumentList '/c REG ADD HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Applets\Regedit /v LastKey /t REG_SZ /d HKEY_CURRENT_USER\SOFTWARE\Microsoft\Internet Explorer\BrowserEmulation\ClearableListData /f & regedit.exe'\"" /f
Reg.exe add "HKCR\CLSID\{00000000-0000-0000-0000-000000000040}\Shell\jxjc" /v "MuiVerb" /t REG_EXPAND_SZ /d "镜像动持" /f
Reg.exe add "HKCR\CLSID\{00000000-0000-0000-0000-000000000040}\Shell\jxjc" /v "Icon" /t REG_EXPAND_SZ /d "regedit.exe" /f
Reg.exe add "HKCR\CLSID\{00000000-0000-0000-0000-000000000040}\Shell\jxjc\Command" /ve /t REG_EXPAND_SZ /d "cmd /c REG ADD \"HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Applets\Regedit\" /v \"LastKey\" /t REG_SZ /d \"HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\" /f>nul®edit.exe|taskkill /F /IM cmd.exe\"" /f
Reg.exe add "HKCR\CLSID\{00000000-0000-0000-0000-000000000040}\Shell\Machine_run" /v "MuiVerb" /t REG_EXPAND_SZ /d "系统启动项管理Machine_run" /f
Reg.exe add "HKCR\CLSID\{00000000-0000-0000-0000-000000000040}\Shell\Machine_run" /v "Icon" /t REG_EXPAND_SZ /d "regedit.exe" /f
Reg.exe add "HKCR\CLSID\{00000000-0000-0000-0000-000000000040}\Shell\Machine_run\Command" /ve /t REG_EXPAND_SZ /d "PowerShell -Command \"Start-Process -WindowStyle Hidden cmd.exe -ArgumentList '/c REG ADD HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Applets\Regedit /v LastKey /t REG_SZ /d HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run /f & regedit.exe'\"" /f
Reg.exe add "HKCR\CLSID\{00000000-0000-0000-0000-000000000040}\Shell\MyPc" /v "MuiVerb" /t REG_EXPAND_SZ /d "我的电脑右键" /f
Reg.exe add "HKCR\CLSID\{00000000-0000-0000-0000-000000000040}\Shell\MyPc" /v "Icon" /t REG_EXPAND_SZ /d "regedit.exe" /f
Reg.exe add "HKCR\CLSID\{00000000-0000-0000-0000-000000000040}\Shell\MyPc\Command" /ve /t REG_EXPAND_SZ /d "PowerShell -Command \"Start-Process -WindowStyle Hidden cmd.exe -ArgumentList '/c REG ADD HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Applets\Regedit /v LastKey /t REG_SZ /d HKEY_CLASSES_ROOT\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\Shell /f & regedit.exe'\"" /f
Reg.exe add "HKCR\CLSID\{00000000-0000-0000-0000-000000000040}\Shell\mypcico" /v "MuiVerb" /t REG_EXPAND_SZ /d "资源管理器图标管理" /f
Reg.exe add "HKCR\CLSID\{00000000-0000-0000-0000-000000000040}\Shell\mypcico" /v "Icon" /t REG_EXPAND_SZ /d "C:\Windows\System32\imageres.dll,-109" /f
Reg.exe add "HKCR\CLSID\{00000000-0000-0000-0000-000000000040}\Shell\mypcico\Command" /ve /t REG_EXPAND_SZ /d "PowerShell -Command \"Start-Process -WindowStyle Hidden cmd.exe -ArgumentList '/c REG ADD HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Applets\Regedit /v LastKey /t REG_SZ /d HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace /f & regedit.exe'\"" /f
Reg.exe add "HKCR\CLSID\{00000000-0000-0000-0000-000000000040}\Shell\Net" /v "MuiVerb" /t REG_EXPAND_SZ /d "网上邻居右键设置" /f
Reg.exe add "HKCR\CLSID\{00000000-0000-0000-0000-000000000040}\Shell\Net" /v "Icon" /t REG_EXPAND_SZ /d "regedit.exe" /f
Reg.exe add "HKCR\CLSID\{00000000-0000-0000-0000-000000000040}\Shell\Net\Command" /ve /t REG_EXPAND_SZ /d "PowerShell -Command \"Start-Process -WindowStyle Hidden cmd.exe -ArgumentList '/c REG ADD HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Applets\Regedit /v LastKey /t REG_SZ /d HKEY_CLASSES_ROOT\CLSID\{F02C1A0D-BE21-4350-88B0-7367FC96EF3C}\Shell /f & regedit.exe'\"" /f
Reg.exe add "HKCR\CLSID\{00000000-0000-0000-0000-000000000040}\Shell\netplwiz" /v "MuiVerb" /t REG_EXPAND_SZ /d "多用户自动登录设置" /f
Reg.exe add "HKCR\CLSID\{00000000-0000-0000-0000-000000000040}\Shell\netplwiz" /v "Icon" /t REG_EXPAND_SZ /d "regedit.exe" /f
Reg.exe add "HKCR\CLSID\{00000000-0000-0000-0000-000000000040}\Shell\netplwiz\Command" /ve /t REG_EXPAND_SZ /d "cmd /c REG ADD \"HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\PasswordLess\Device\" /v \"DevicePasswordLessBuildVersion\" /t reg_dword /d \"0\" /f>nul&netplwiz.exe|taskkill /f /im cmd.exe" /f
Reg.exe add "HKCR\CLSID\{00000000-0000-0000-0000-000000000040}\Shell\Open" /v "MuiVerb" /t REG_EXPAND_SZ /d "打开注册表(&R)" /f
Reg.exe add "HKCR\CLSID\{00000000-0000-0000-0000-000000000040}\Shell\Open" /v "Icon" /t REG_EXPAND_SZ /d "regedit.exe" /f
Reg.exe add "HKCR\CLSID\{00000000-0000-0000-0000-000000000040}\Shell\Open\Command" /ve /t REG_EXPAND_SZ /d "cmd /c REG delete \"HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Applets\Regedit\" /v \"LastKey\" /f>nul®edit.exe|taskkill /f /im cmd.exe" /f
Reg.exe add "HKCR\CLSID\{00000000-0000-0000-0000-000000000040}\Shell\qdq" /v "MuiVerb" /t REG_EXPAND_SZ /d "驱动器右键菜单修改" /f
Reg.exe add "HKCR\CLSID\{00000000-0000-0000-0000-000000000040}\Shell\qdq" /v "Icon" /t REG_EXPAND_SZ /d "regedit.exe" /f
Reg.exe add "HKCR\CLSID\{00000000-0000-0000-0000-000000000040}\Shell\qdq\Command" /ve /t REG_EXPAND_SZ /d "PowerShell -Command \"Start-Process -WindowStyle Hidden cmd.exe -ArgumentList '/c REG ADD HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Applets\Regedit /v LastKey /t REG_SZ /d HKEY_CLASSES_ROOT\Drive\Shell\ /f & regedit.exe'\"" /f
Reg.exe add "HKCR\CLSID\{00000000-0000-0000-0000-000000000040}\Shell\RenamesYJ" /v "MuiVerb" /t REG_EXPAND_SZ /d "本菜单整理" /f
Reg.exe add "HKCR\CLSID\{00000000-0000-0000-0000-000000000040}\Shell\RenamesYJ" /v "Icon" /t REG_EXPAND_SZ /d "%%Windir%%\system32\shell32.dll,-16804" /f
Reg.exe add "HKCR\CLSID\{00000000-0000-0000-0000-000000000040}\Shell\RenamesYJ\Command" /ve /t REG_EXPAND_SZ /d "PowerShell -Command \"Start-Process -WindowStyle Hidden cmd.exe -ArgumentList '/c REG ADD HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Applets\Regedit /v LastKey /t REG_SZ /d HKCR\CLSID\{00000000-0000-0000-0000-000000000040}\Shell /f & regedit.exe'\"" /f
Reg.exe add "HKCR\CLSID\{00000000-0000-0000-0000-000000000040}\Shell\RunYJ" /v "MuiVerb" /t REG_EXPAND_SZ /d "”运行框“文字设置" /f
Reg.exe add "HKCR\CLSID\{00000000-0000-0000-0000-000000000040}\Shell\RunYJ" /v "Icon" /t REG_EXPAND_SZ /d "%%WINDIR%%\REGEDIT.EXE" /f
Reg.exe add "HKCR\CLSID\{00000000-0000-0000-0000-000000000040}\Shell\RunYJ\Command" /ve /t REG_EXPAND_SZ /d "PowerShell -Command \"Start-Process -WindowStyle Hidden cmd.exe -ArgumentList '/c REG ADD HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Applets\Regedit /v LastKey /t REG_SZ /d HKEY_CLASSES_ROOT\CLSID\{2559a1f3-21d7-11d4-bdaf-00c04f60b9f0} /f & regedit.exe'\"" /f
Reg.exe add "HKCR\CLSID\{00000000-0000-0000-0000-000000000040}\Shell\SendTo" /v "MuiVerb" /t REG_EXPAND_SZ /d "右键发送到菜单管理" /f
Reg.exe add "HKCR\CLSID\{00000000-0000-0000-0000-000000000040}\Shell\SendTo" /v "Icon" /t REG_EXPAND_SZ /d "%%WINDIR%%\explorer.EXE" /f
Reg.exe add "HKCR\CLSID\{00000000-0000-0000-0000-000000000040}\Shell\SendTo\Command" /ve /t REG_EXPAND_SZ /d "cmd /c explorer.exe %%APPDATA%%\Microsoft\Windows\SendTo" /f
Reg.exe add "HKCR\CLSID\{00000000-0000-0000-0000-000000000040}\Shell\Set Desktop" /v "MuiVerb" /t REG_EXPAND_SZ /d "设置桌面路径" /f
Reg.exe add "HKCR\CLSID\{00000000-0000-0000-0000-000000000040}\Shell\Set Desktop" /v "Icon" /t REG_EXPAND_SZ /d "C:\Windows\System32\imageres.dll,-109" /f
Reg.exe add "HKCR\CLSID\{00000000-0000-0000-0000-000000000040}\Shell\Set Desktop\Command" /ve /t REG_EXPAND_SZ /d "cmd /c title 请输入你要设置的桌面路径&set /p Desk=请输入路径[默认%%USERPROFILE%%\Desktop]: &® add \"HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders\" /v \"Desktop\" /t REG_EXPAND_SZ /d \"%%Desk%%\" /f" /f
Reg.exe add "HKCR\CLSID\{00000000-0000-0000-0000-000000000040}\Shell\start menu" /v "MUIVerb" /t REG_EXPAND_SZ /d "开始菜单应用程序快捷方式管理" /f
Reg.exe add "HKCR\CLSID\{00000000-0000-0000-0000-000000000040}\Shell\start menu" /v "Icon" /t REG_EXPAND_SZ /d "explorer.exe" /f
Reg.exe add "HKCR\CLSID\{00000000-0000-0000-0000-000000000040}\Shell\start menu\Command" /ve /t REG_SZ /d "explorer.exe /root,\"C:\ProgramData\Microsoft\Windows\Start Menu\Programs\"" /f
Reg.exe add "HKCR\CLSID\{00000000-0000-0000-0000-000000000040}\Shell\System" /v "MuiVerb" /t REG_EXPAND_SZ /d "System" /f
Reg.exe add "HKCR\CLSID\{00000000-0000-0000-0000-000000000040}\Shell\System" /v "Icon" /t REG_EXPAND_SZ /d "regedit.exe" /f
Reg.exe add "HKCR\CLSID\{00000000-0000-0000-0000-000000000040}\Shell\System\Command" /ve /t REG_EXPAND_SZ /d "PowerShell -Command \"Start-Process -WindowStyle Hidden cmd.exe -ArgumentList '/c REG ADD HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Applets\Regedit /v LastKey /t REG_SZ /d HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System /f & regedit.exe'\"" /f
Reg.exe add "HKCR\CLSID\{00000000-0000-0000-0000-000000000040}\Shell\User_run" /v "MuiVerb" /t REG_EXPAND_SZ /d "系统启动项管理User_run" /f
Reg.exe add "HKCR\CLSID\{00000000-0000-0000-0000-000000000040}\Shell\User_run" /v "Icon" /t REG_EXPAND_SZ /d "regedit.exe" /f
Reg.exe add "HKCR\CLSID\{00000000-0000-0000-0000-000000000040}\Shell\User_run\Command" /ve /t REG_EXPAND_SZ /d "PowerShell -Command \"Start-Process -WindowStyle Hidden cmd.exe -ArgumentList '/c REG ADD HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Applets\Regedit /v LastKey /t REG_SZ /d HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Run /f & regedit.exe'\"" /f
Reg.exe add "HKCR\CLSID\{00000000-0000-0000-0000-000000000040}\Shell\yxkjl" /v "MuiVerb" /t REG_EXPAND_SZ /d "运行框记录清除" /f
Reg.exe add "HKCR\CLSID\{00000000-0000-0000-0000-000000000040}\Shell\yxkjl" /v "Icon" /t REG_EXPAND_SZ /d "regedit.exe" /f
Reg.exe add "HKCR\CLSID\{00000000-0000-0000-0000-000000000040}\Shell\yxkjl\Command" /ve /t REG_EXPAND_SZ /d "PowerShell -Command \"Start-Process -WindowStyle Hidden cmd.exe -ArgumentList '/c REG ADD HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Applets\Regedit /v LastKey /t REG_SZ /d HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\RunMRU /f & regedit.exe'\"" /f
Reg.exe add "HKCR\CLSID\{00000000-0000-0000-0000-000000000040}\Shell\zmtbico" /v "MuiVerb" /t REG_EXPAND_SZ /d "桌面图标管理" /f
Reg.exe add "HKCR\CLSID\{00000000-0000-0000-0000-000000000040}\Shell\zmtbico" /v "Icon" /t REG_EXPAND_SZ /d "regedit.exe" /f
Reg.exe add "HKCR\CLSID\{00000000-0000-0000-0000-000000000040}\Shell\zmtbico\Command" /ve /t REG_EXPAND_SZ /d "PowerShell -Command \"Start-Process -WindowStyle Hidden cmd.exe -ArgumentList '/c REG ADD HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Applets\Regedit /v LastKey /t REG_SZ /d HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Desktop\NameSpace /f & regedit.exe'\"" /f
Reg.exe add "HKCR\CLSID\{00000000-0000-0000-0000-000000000040}\Shell\zmyj" /v "MuiVerb" /t REG_EXPAND_SZ /d "桌面右键菜单修改" /f
Reg.exe add "HKCR\CLSID\{00000000-0000-0000-0000-000000000040}\Shell\zmyj" /v "Icon" /t REG_EXPAND_SZ /d "regedit.exe" /f
Reg.exe add "HKCR\CLSID\{00000000-0000-0000-0000-000000000040}\Shell\zmyj\Command" /ve /t REG_EXPAND_SZ /d "PowerShell -Command \"Start-Process -WindowStyle Hidden cmd.exe -ArgumentList '/c REG ADD HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Applets\Regedit /v LastKey /t REG_SZ /d HKEY_CLASSES_ROOT\Directory\Background\Shell /f & regedit.exe'\"" /f
Reg.exe add "HKCR\CLSID\{00000000-0000-0000-0000-000000000040}\Shell\zyglqkz" /v "MuiVerb" /t REG_EXPAND_SZ /d "资源管理器扩展设置" /f
Reg.exe add "HKCR\CLSID\{00000000-0000-0000-0000-000000000040}\Shell\zyglqkz" /v "Icon" /t REG_EXPAND_SZ /d "regedit.exe" /f
Reg.exe add "HKCR\CLSID\{00000000-0000-0000-0000-000000000040}\Shell\zyglqkz\Command" /ve /t REG_EXPAND_SZ /d "PowerShell -Command \"Start-Process -WindowStyle Hidden cmd.exe -ArgumentList '/c REG ADD HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Applets\Regedit /v LastKey /t REG_SZ /d HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced /f & regedit.exe'\"" /f
REG ADD "HKCR\CLSID\{00000000-0000-0000-0000-000000000040}\Shellex\ContextMenuHandlers\ieframe" /ve /t REG_EXPAND_SZ /d "{00000000-0000-0000-0000-000000000040}" /f
REG ADD "HKCR\CLSID\{00000000-0000-0000-0000-000000000040}\Shellex\MayChangeDefaultMenu" /ve /t REG_EXPAND_SZ /d "" /f
REG ADD "HKCR\CLSID\{00000000-0000-0000-0000-000000000040}\ShellFolder" /v "Attributes" /t REG_DWORD /d "2684354564" /f
REG ADD "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Desktop\NameSpace\{00000000-0000-0000-0000-000000000040}" /ve /t REG_SZ /d "注册表设置" /f
REG ADD "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\ControlPanel\NameSpace\{00000000-0000-0000-0000-000000000040}" /ve /t REG_SZ /d "注册表设置" /f
REG ADD "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{00000000-0000-0000-0000-000000000040}" /ve /t REG_SZ /d "注册表设置" /f
卸载代码
REG delete "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Desktop\NameSpace\{00000000-0000-0000-0000-000000000040}" /f
REG delete "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\ControlPanel\NameSpace\{00000000-0000-0000-0000-000000000040}" /f
REG delete "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{00000000-0000-0000-0000-000000000040}" /f
附蓝奏云地址:https冒号//baolizhu点lanzouu点com/igXiY2smmkbg
|