注意事项
运行完.reg文件, 需要重新启动Windows 资源管理器
才能看到效果.
屏蔽"使用 Skype 共享"右键菜单
屏蔽本机"使用 Skype 共享"右键菜单
skype_hklm_block.reg
https://raw.githubusercontent.com/dnasdw/public_reference/master/Windows%20Registry%20Entries/skype_hklm_block.reg
1
2
3
4
5
|
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Shell Extensions\Blocked]
"{776DBC8D-7347-478C-8D71-791E12EF49D8}"=""
|
屏蔽当前用户"使用 Skype 共享"右键菜单
skype_hkcu_block.reg
https://raw.githubusercontent.com/dnasdw/public_reference/master/Windows%20Registry%20Entries/skype_hkcu_block.reg
1
2
3
4
5
|
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Shell Extensions\Blocked]
"{776DBC8D-7347-478C-8D71-791E12EF49D8}"=""
|
解除屏蔽"使用 Skype 共享"右键菜单
解除屏蔽本机"使用 Skype 共享"右键菜单
skype_hklm_unblock.reg
https://raw.githubusercontent.com/dnasdw/public_reference/master/Windows%20Registry%20Entries/skype_hklm_unblock.reg
1
2
3
4
5
|
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Shell Extensions\Blocked]
"{776DBC8D-7347-478C-8D71-791E12EF49D8}"=-
|
解除屏蔽当前用户"使用 Skype 共享"右键菜单
skype_hkcu_unblock.reg
https://raw.githubusercontent.com/dnasdw/public_reference/master/Windows%20Registry%20Entries/skype_hkcu_unblock.reg
1
2
3
4
5
|
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Shell Extensions\Blocked]
"{776DBC8D-7347-478C-8D71-791E12EF49D8}"=-
|
解除屏蔽后清理可能不包含键值的空项
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
|