解锁注册表
新建扩展名为.reg的文件,输入以下内容,保存并双击运行即可。

Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\System]
"DisableRegistryTools"=dword:00000000

注意事项:
1.因为注册表被锁定时,修改后无法保存,只能通过此方法来解锁。
2.注册表修改都可以采用此方法来处理,采用批处理文件在处理多个注册表项时,比较方便。


注册表删除项

Windows Registry Editor Version 5.00
[-HKEY_CLASSES_ROOT\Directory\Background\shellex\ContextMenuHandlers\XXXX] 
"XXXX"=-

注册表删除值

Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Update]
"UpdateMode"=-

取消快捷方式文字
当前用户-->软件-->微软-->Windows/当前版本/浏览器
HKEY_CURRENT_USER/Software/Microsoft/Windows/CurrentVersion/Explorer
修改link键值为 00 00 00 00 即可;
如果不存在该键,则创建该键(二进制)

Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER/Software/Microsoft/Windows/CurrentVersion/Explorer]
"link"=dword:00000000

串口列表 本机-->硬件-->设备-->串口
HKEY_LOCAL_MACHINE/HARDWARE/DEVICEMAP/SERIALCOMM

删除安装在“我的电脑”下的盘符(百度云管家等)
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace
删除NameSpace下面的相关项。

本机-->软件-->微软-->Windows-->当前版本-->浏览器-->我的电脑-->命名空间


删除多余的右键菜单
HKEY_CLASSES_ROOT\Directory\Background\shellex\ContextMenuHandlers
根类-->目录-->背景-->扩展命令-->右键菜单
所有关于右键菜单的项目都在这里了,删除不需要的项即可。

Windows Registry Editor Version 5.00
[-HKEY_CLASSES_ROOT\Directory\Background\shellex\ContextMenuHandlers\XXXX] 
"XXXX"=-

注意事项:这里的-的位置,表示删除该项目。

添加右键打开方式

Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\*\shell\EmEditor]
@="EmEditor"
"Icon"="D:\\Editor\\EmEditor\\EmEditor.exe"
[HKEY_CLASSES_ROOT\*\shell\EmEditor\command]
@="\"D:\\Editor\\EmEditor\\EmEditor.exe\" \"%1\""

第1项是设置图标,可省略
第2项是设置执行动作,%1表示选定的文件


Win7文件夹不能自动刷新: 表现在复制或删除文件后要手动刷新才显示

Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Update]
"UpdateMode"=dword:00000000

指定用户不显示的登录列表中:

Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\SpecialAccounts\UserList]
"username"=dword:00000000

username为全名

关机延时: 单位为ms,字符串类型不加修饰

Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control]
"WaitToKillServiceTimeout"="5000"