注意事项
运行完屏蔽或解除屏蔽的.reg文件, 需要重新启动Windows 资源管理器
才能看到效果, 而删除或还原则不需要.
屏蔽"上传到百度网盘"和"自动备份该文件夹"右键菜单
屏蔽本机"上传到百度网盘"和"自动备份该文件夹"右键菜单
baidunetdisk_hklm_block.reg
https://raw.githubusercontent.com/dnasdw/public_reference/master/Windows%20Registry%20Entries/baidunetdisk_hklm_block.reg
1
2
3
4
5
|
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Shell Extensions\Blocked]
"{6D85624F-305A-491d-8848-C1927AA0D790}"=""
|
屏蔽当前用户"上传到百度网盘"和"自动备份该文件夹"右键菜单
baidunetdisk_hkcu_block.reg
https://raw.githubusercontent.com/dnasdw/public_reference/master/Windows%20Registry%20Entries/baidunetdisk_hkcu_block.reg
1
2
3
4
5
|
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Shell Extensions\Blocked]
"{6D85624F-305A-491d-8848-C1927AA0D790}"=""
|
解除屏蔽"上传到百度网盘"和"自动备份该文件夹"右键菜单
解除屏蔽本机"上传到百度网盘"和"自动备份该文件夹"右键菜单
baidunetdisk_hklm_unblock.reg
https://raw.githubusercontent.com/dnasdw/public_reference/master/Windows%20Registry%20Entries/baidunetdisk_hklm_unblock.reg
1
2
3
4
5
|
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Shell Extensions\Blocked]
"{6D85624F-305A-491d-8848-C1927AA0D790}"=-
|
解除屏蔽当前用户"上传到百度网盘"和"自动备份该文件夹"右键菜单
baidunetdisk_hkcu_unblock.reg
https://raw.githubusercontent.com/dnasdw/public_reference/master/Windows%20Registry%20Entries/baidunetdisk_hkcu_unblock.reg
1
2
3
4
5
|
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Shell Extensions\Blocked]
"{6D85624F-305A-491d-8848-C1927AA0D790}"=-
|
解除屏蔽后清理可能不包含键值的空项
shell_ext_blocked_reg_clean.bat
https://raw.githubusercontent.com/dnasdw/public_reference/master/Batchfile/shell_ext_blocked_reg_clean.bat
1
2
3
4
5
|
%1 mshta vbscript:CreateObject^("Shell.Application"^).ShellExecute^("cmd.exe","/C "^&chr^(34^)^&chr^(34^)^&"%~f0"^&chr^(34^)^&" REM"^&chr^(34^),"","runas",1^)^(window.close^) & GOTO :EOF
PUSHD "%~dp0"
REG QUERY "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Shell Extensions\Blocked" && ((REG QUERY "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Shell Extensions\Blocked" | FINDSTR REG_) || REG DELETE "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Shell Extensions\Blocked" /f)
REG QUERY "HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Shell Extensions\Blocked" && ((REG QUERY "HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Shell Extensions\Blocked" | FINDSTR REG_) || REG DELETE "HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Shell Extensions\Blocked" /f)
POPD
|
删除"上传到百度网盘"和"自动备份该文件夹"右键菜单
baidunetdisk_hkcr_delete.reg
https://raw.githubusercontent.com/dnasdw/public_reference/master/Windows%20Registry%20Entries/baidunetdisk_hkcr_delete.reg
1
2
3
4
5
6
7
8
|
Windows Registry Editor Version 5.00
[-HKEY_CLASSES_ROOT\*\shellex\ContextMenuHandlers\YunShellExt]
[-HKEY_CLASSES_ROOT\Directory\shellex\ContextMenuHandlers\YunShellExt]
[-HKEY_CLASSES_ROOT\lnkfile\shellex\ContextMenuHandlers\YunShellExt]
|
还原"上传到百度网盘"和"自动备份该文件夹"右键菜单
baidunetdisk_hkcr_add.reg
https://raw.githubusercontent.com/dnasdw/public_reference/master/Windows%20Registry%20Entries/baidunetdisk_hkcr_add.reg
1
2
3
4
5
6
7
8
9
10
11
|
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\*\shellex\ContextMenuHandlers\YunShellExt]
@="{6D85624F-305A-491d-8848-C1927AA0D790}"
[HKEY_CLASSES_ROOT\Directory\shellex\ContextMenuHandlers\YunShellExt]
@="{6D85624F-305A-491d-8848-C1927AA0D790}"
[HKEY_CLASSES_ROOT\lnkfile\shellex\ContextMenuHandlers\YunShellExt]
@="{6D85624F-305A-491d-8848-C1927AA0D790}"
|