本帖最后由 xmzhqw 于 2026-4-28 13:26 编辑
哈哈,发现四个网络版的只要添加下列文件及注册码,都可以实现“滑动关机”功能。不过要增加1M左右。娱乐一下。
增加的文件列表:
Windows\System32\authui.dll
Windows\System32\CredProvCommonCore.dll
Windows\System32\directmanipulation.dll
Windows\System32\SlideToShutDown.exe
Windows\System32\zh-CN\authui.dll.mui
Windows\SystemResources\authui.dll.mun(Win10.10586没有)
补充几个CLSID注册码:
- Windows Registry Editor Version 5.00
- [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{79DEA627-A08A-43AC-8EF5-6900B9299126}]
- [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{79DEA627-A08A-43AC-8EF5-6900B9299126}\InProcServer32]
- @=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,00,25,\
- 00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,64,00,69,00,\
- 72,00,65,00,63,00,74,00,6d,00,61,00,6e,00,69,00,70,00,75,00,6c,00,61,00,74,\
- 00,69,00,6f,00,6e,00,2e,00,64,00,6c,00,6c,00,00,00
- "ThreadingModel"="Both"
- [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{812F944A-C5C8-4CD9-B0A6-B3DA802F228D}]
- @="UIAnimationTransitionLibrary2"
- [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{812F944A-C5C8-4CD9-B0A6-B3DA802F228D}\InProcServer32]
- @=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,00,25,\
- 00,5c,00,53,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,55,00,49,00,\
- 41,00,6e,00,69,00,6d,00,61,00,74,00,69,00,6f,00,6e,00,2e,00,64,00,6c,00,6c,\
- 00,00,00
- "ThreadingModel"="Both"
- [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{BFCD4A0C-06B6-4384-B768-0DAA792C380E}]
- @="UIAnimationTimer"
- [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{BFCD4A0C-06B6-4384-B768-0DAA792C380E}\InProcServer32]
- @=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,00,25,\
- 00,5c,00,53,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,55,00,49,00,\
- 41,00,6e,00,69,00,6d,00,61,00,74,00,69,00,6f,00,6e,00,2e,00,64,00,6c,00,6c,\
- 00,00,00
- "ThreadingModel"="Both"
- [HKEY_CLASSES_ROOT\CLSID\{D25D8842-8884-4A4A-B321-091314379BDD}]
- @="UIAnimationManager2"
- [HKEY_CLASSES_ROOT\CLSID\{D25D8842-8884-4A4A-B321-091314379BDD}\InProcServer32]
- @=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,00,25,\
- 00,5c,00,53,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,55,00,49,00,\
- 41,00,6e,00,69,00,6d,00,61,00,74,00,69,00,6f,00,6e,00,2e,00,64,00,6c,00,6c,\
- 00,00,00
- "ThreadingModel"="Both"
- [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{D93CE8B5-3BF8-462C-A03F-DED2730078BA}]
- @="Slide To Shut Down Screen"
- [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{D93CE8B5-3BF8-462C-A03F-DED2730078BA}\InProcServer32]
- @=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,00,25,\
- 00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,61,00,75,00,\
- 74,00,68,00,75,00,69,00,2e,00,64,00,6c,00,6c,00,00,00
- "ThreadingModel"="Apartment"
- [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{54E211B6-3650-4F75-8334-FA359598E1C5}]
- [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{54E211B6-3650-4F75-8334-FA359598E1C5}\InProcServer32]
- @=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,00,25,\
- 00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,64,00,69,00,\
- 72,00,65,00,63,00,74,00,6d,00,61,00,6e,00,69,00,70,00,75,00,6c,00,61,00,74,\
- 00,69,00,6f,00,6e,00,2e,00,64,00,6c,00,6c,00,00,00
- "ThreadingModel"="Both"
复制代码
添加右键菜单(供参考)
- Windows Registry Editor Version 5.00
- [HKEY_LOCAL_MACHINE\Software\Classes\Directory\background\shell\SlideToShut]
- @="(&H) 滑动关闭计算机"
- "Icon"="shell32.dll,112"
- [HKEY_LOCAL_MACHINE\Software\Classes\Directory\background\shell\SlideToShut\Command]
- @="pecmd exec SlideToShutDown.exe"
- [HKEY_LOCAL_MACHINE\Software\Classes\DesktopBackground\Shell\SlideToShut]
- @="(&H) 滑动关闭计算机"
- "Icon"="shell32.dll,112"
- [HKEY_LOCAL_MACHINE\Software\Classes\DesktopBackground\Shell\SlideToShut\Command]
- @="pecmd exec SlideToShutDown.exe"
复制代码
|