reg
Windows Registry Editor Version 5.00
; 打开资源管理器时显示此电脑
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced]
"LaunchTo"=dword:00000001
; 文件扩展名: 0:显示; 1:隐藏
"HideFileExt"=dword:00000000
; 显示所有隐藏文件(夹): 0:隐藏; 1:显示
"Hidden"=dword:00000001
; 受保护的系统文件: 0:隐藏; 1:显示
"ShowSuperHidden"=dword:00000000
; 在同一个窗口打开每个文件夹
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\CabinetState]
"Settings"=hex(3):0C,00,02,00,0A,01,00,00,60,00,00,00
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer]
; 显示常用文件夹: 0:隐藏; 1:显示
"ShowFrequent"=dword:00000000
;;;;;;;;; 显示来自 office.com 的文件 ;;;;;;;;;
; 0:隐藏; 1:显示
"ShowCloudFilesInQuickAccess"=dword:00000000
;;;;;;;;; 自动完成模式 ;;;;;;;;;
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\AutoComplete]
"Append Completion"="yes"
"AutoSuggest"="yes"
;;;;;;;;; 启用 Windows 资源管理器自动刷新 ;;;;;;;;;
[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Update]
"UpdateMode"=dword:00000001
;;;;;;;;; 导航窗口图标 ;;;;;;;;;
; 资源管理器导航窗口中的库: 1:显示; 0:隐藏
[HKEY_CURRENT_USER\Software\Classes\CLSID\{031E4825-7B94-4dc3-B131-E946B44C8DD5}]
"System.IsPinnedToNameSpaceTree"=dword:00000000
; 显示所有文件夹: 1:显示; 0:隐藏
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced]
"NavPaneShowAllFolders"=dword:00000000
;;;;;;;;; 桌面图标 ;;;;;;;;;
[HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\NewStartPanel]
; 在桌面显示我的电脑: 0:显示; 1:隐藏
"{20D04FE0-3AEA-1069-A2D8-08002B30309D}"=dword:00000000
; 在桌面显示回收站: 0:显示; 1:隐藏
"{645FF040-5081-101B-9F08-00AA002F954E}"=dword:00000000
; 在桌面隐藏显示控制面板: 0:显示; 1:隐藏
"{5399E694-6CE5-4D6C-8FCE-1D8870FDCBA0}"=dword:00000001
; 在桌面隐藏显示用户文件夹: 0:显示; 1:隐藏
"{59031a47-3f72-44a7-89c5-5595fe6b30ee}"=dword:00000001
; 在桌面隐藏显示网络: 0:显示; 1:隐藏
"{F02C1A0D-BE21-4350-88B0-7367FC96EF3C}"=dword:00000001
; 在桌面隐藏显示库: 0:显示; 1:隐藏
"{031E4825-7B94-4dc3-B131-E946B44C8DD5}"=dword:00000001
; 优化图标缓存
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer]
"Max Cached Icons"=dword:00001000
右键菜单
reg
Windows Registry Editor Version 5.00
;;;;;;;;; 添加右键 "复制到文件夹" ;;;;;;;;;
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\AllFilesystemObjects\shellex\ContextMenuHandlers\Copy To]
@="{C2FBB630-2971-11D1-A18C-00C04FD75D13}"
;;;;;;;;; 添加右键 "移动到文件夹" ;;;;;;;;;
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\AllFilesystemObjects\shellex\ContextMenuHandlers\Move To]
@="{C2FBB631-2971-11D1-A18C-00C04FD75D13}"
;;;;;;;;; 添加右键 "清空回收站" ;;;;;;;;;
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\*\shell\empty]
"CommandStateHandler"="{c9298eef-69dd-4cdd-b153-bdbc38486781}"
"Description"="@shell32.dll,-31332"
"Icon"="shell32.dll,-254"
"MUIVerb"="@shell32.dll,-10564"
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\*\shell\empty\command]
"DelegateExecute"="{48527bb3-e8de-450b-8910-8c4099cb8624}"
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Folder\shell\empty]
"CommandStateHandler"="{c9298eef-69dd-4cdd-b153-bdbc38486781}"
"Description"="@shell32.dll,-31332"
"Icon"="shell32.dll,-254"
"MUIVerb"="@shell32.dll,-10564"
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Folder\shell\empty\command]
"DelegateExecute"="{48527bb3-e8de-450b-8910-8c4099cb8624}"
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Directory\background\shell\empty]
"CommandStateHandler"="{c9298eef-69dd-4cdd-b153-bdbc38486781}"
"Description"="@shell32.dll,-31332"
"Icon"="shell32.dll,-254"
"MUIVerb"="@shell32.dll,-10564"
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Directory\background\shell\empty\command]
"DelegateExecute"="{48527bb3-e8de-450b-8910-8c4099cb8624}"
;;;;;;;;; 右键添加 "重启资源管理器" ;;;;;;;;;
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Directory\background\shell\RestartExplorer]
@="重启资源管理器"
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Directory\background\shell\RestartExplorer\Command]
@="tskill explorer"
;;;;;;;;; 右键添加 "管理员获得所有权" ;;;;;;;;;
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\*\shell\runas]
@="管理员取得所有权"
"NoWorkingDirectory"=""
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\*\shell\runas\Command]
@="cmd.exe /c takeown /f \"%1\" && icacls \"%1\" /grant administrators:F"
"IsolatedCommand"="cmd.exe /c takeown /f \"%1\" && icacls \"%1\" /grant administrators:F"
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\exefile\shell\TakeAuthority]
@="管理员取得所有权"
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\exefile\shell\TakeAuthority\Command]
@="cmd.exe /c takeown /f \"%1\" && icacls \"%1\" /grant administrators:F"
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Directory\shell\runas]
@="管理员取得所有权"
"NoWorkingDirectory"=""
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Directory\shell\runas\Command]
@="cmd.exe /c takeown /f \"%1\" /r /d y && icacls \"%1\" /grant administrators:F /t"
"IsolatedCommand"="cmd.exe /c takeown /f \"%1\" /r /d y && icacls \"%1\" /grant administrators:F /t"
;;;;;;;;; 右键添加 "用记事本打开该文件" ;;;;;;;;;
;[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\*\shell\Notepad]
;@="用记事本打开"
;[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\*\shell\Notepad\Command]
;@="notepad %1"
;;;;;;;;; 右键展示 显示/隐藏 文件扩展名 ;;;;;;;;;
;[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\*\shell\DisplayFileExt]
;@="显示/隐藏 文件扩展名"
;[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\*\shell\DisplayFileExt\Command]
;@="WScript.exe C:\\Windows\\HideExtendName.vbs"
;[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Folder\shell\DisplayFileExt]
;@="显示/隐藏 文件扩展名"
;[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Folder\shell\DisplayFileExt\Command]
;@="WScript.exe C:\\Windows\\HideExtendName.vbs"
;[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Directory\background\shell\DisplayFileExt]
;@="显示/隐藏 文件扩展名"
;[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Directory\background\shell\DisplayFileExt\Command]
;@="WScript.exe C:\\Windows\\HideExtendName.vbs"
;;;;;;;;; 右键添加 显示/隐藏 隐藏文件 ;;;;;;;;;
;[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\*\shell\HideFile]
;@="显示/不显示 隐藏的文件"
;[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\*\shell\HideFile\Command]
;@="WScript.exe C:\\Windows\\HideFile.vbs"
;[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Folder\shell\HideFile]
;@="显示/不显示 隐藏的文件"
;[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Folder\shell\HideFile\Command]
;@="WScript.exe C:\\Windows\\HideFile.vbs"
;[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Directory\background\shell\HideFile]
;@="显示/不显示 隐藏的文件"
;[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Directory\background\shell\HideFile\Command]
;@="WScript.exe C:\\Windows\\HideFile.vbs"
; 禁用可执行文件的“兼容性疑难解答”右键菜单
[HKEY_CLASSES_ROOT\exefile\shellex\ContextMenuHandlers\Compatibility]
[HKEY_CLASSES_ROOT\Msi.Package\ShellEx\ContextMenuHandlers\Compatibility]
[HKEY_CLASSES_ROOT\lnkfile\shellex\ContextMenuHandlers\Compatibility]
[HKEY_CLASSES_ROOT\batfile\ShellEx\ContextMenuHandlers\Compatibility]
[HKEY_CLASSES_ROOT\cmdfile\ShellEx\ContextMenuHandlers\Compatibility]
; 禁用文件、文件夹以及磁盘的“使用Windows Defender扫描”右键菜单
[HKEY_CLASSES_ROOT\Drive\ShellEx\ContextMenuHandlers\EPP]
[HKEY_CLASSES_ROOT\Directory\ShellEx\ContextMenuHandlers\EPP]
[HKEY_CLASSES_ROOT\*\ShellEx\ContextMenuHandlers\EPP]
; 禁用磁盘的“启用Bitlocker”右键菜单
[HKEY_CLASSES_ROOT\Drive\shell\encrypt-bde]
[HKEY_CLASSES_ROOT\Drive\shell\encrypt-bde-elev]
; 禁用磁盘的“以便携式方式打开”右键菜单
[HKEY_CLASSES_ROOT\Drive\shellex\ContextMenuHandlers\{D6791A63-E7E2-4fee-BF52-5DED8E86E9B8}]
; 禁用磁盘的“复制磁盘”右键菜单
[HKEY_CLASSES_ROOT\Drive\shellex\ContextMenuHandlers\{59099400-57FF-11CE-BD94-0020AF85B590}]
; 禁用新建的“联系人”右键菜单
[HKEY_CLASSES_ROOT\.contact\ShellNew]
; 禁用新建、文件以及文件夹的“公文包”右键菜单
[HKEY_CLASSES_ROOT\Briefcase\ShellNew]
[HKEY_CLASSES_ROOT\*\shellex\ContextMenuHandlers\BriefcaseMenu]
[HKEY_CLASSES_ROOT\Folder\ShellEx\ContextMenuHandlers\BriefcaseMenu]
; 禁用新建“ZIP/RAR文件”右键菜单
[HKEY_CLASSES_ROOT\.rar\ShellNew]
[HKEY_CLASSES_ROOT\.zip\ShellNew]
; 禁用文件、磁盘以及属性的“还原以前版本”右键菜单
[HKEY_CLASSES_ROOT\AllFilesystemObjects\shellex\ContextMenuHandlers\{596AB062-B4D2-4215-9F74-E9109B0A8153}]
[HKEY_CLASSES_ROOT\AllFilesystemObjects\shellex\PropertySheetHandlers\{596AB062-B4D2-4215-9F74-E9109B0A8153]
[HKEY_CLASSES_ROOT\CLSID\{450D8FBA-AD25-11D0-98A8-0800361B1103}\shellex\ContextMenuHandlers\{596AB062-B4D2-4215-9F74-E9109B0A8153}]
[HKEY_CLASSES_ROOT\CLSID\{450D8FBA-AD25-11D0-98A8-0800361B1103}\shellex\PropertySheetHandlers\{596AB062-B4D2-4215-9F74-E9109B0A8153}]
[HKEY_CLASSES_ROOT\Directory\shellex\ContextMenuHandlers\{596AB062-B4D2-4215-9F74-E9109B0A8153}]
[HKEY_CLASSES_ROOT\Directory\shellex\PropertySheetHandlers\{596AB062-B4D2-4215-9F74-E9109B0A8153}]
[HKEY_CLASSES_ROOT\Drive\shellex\ContextMenuHandlers\{596AB062-B4D2-4215-9F74-E9109B0A8153}]
[HKEY_CLASSES_ROOT\Drive\shellex\PropertySheetHandlers\{596AB062-B4D2-4215-9F74-E9109B0A8153}]
; 禁用桌面的“小工具”右键菜单
[HKEY_CLASSES_ROOT\Directory\Background\shellex\ContextMenuHandlers\Gadgets]
[HKEY_CLASSES_ROOT\DesktopBackground\Shell\Gadgets]
; 禁用磁盘的“刻录到光盘”右键菜单
[HKEY_CLASSES_ROOT\Drive\shellex\ContextMenuHandlers\{fbeb8a05-beee-4442-804e-409d6c4515e9}]
; 禁用所有对象的“共享”右键菜单
[HKEY_CLASSES_ROOT\*\shellex\ContextMenuHandlers\ModernSharing]
; 禁用文件、目录、桌面、磁盘以及库的“授予访问权限”右键菜单
[HKEY_CLASSES_ROOT\*\shellex\ContextMenuHandlers\Sharing]
[HKEY_CLASSES_ROOT\Directory\shellex\ContextMenuHandlers\Sharing]
[HKEY_CLASSES_ROOT\Directory\Background\shellex\ContextMenuHandlers\Sharing]
[HKEY_CLASSES_ROOT\Drive\shellex\ContextMenuHandlers\Sharing]
[HKEY_CLASSES_ROOT\LibraryFolder\background\shellex\ContextMenuHandlers\Sharing]
; 禁用目录、文件夹、所有对象、的“始终脱机可用”右键菜单
[HKEY_CLASSES_ROOT\Directory\shellex\ContextMenuHandlers\Offline Files]
[HKEY_CLASSES_ROOT\Folder\ShellEx\ContextMenuHandlers\Offline Files]
[HKEY_CLASSES_ROOT\AllFilesystemObjects\shellex\ContextMenuHandlers\{474C98EE-CF3D-41f5-80E3-4AAB0AB04301}]
; 禁用文件夹的“固定到快速访问”右键菜单
[HKEY_CLASSES_ROOT\Folder\shell\pintohome]
; 禁用文件的“OneDrive文件同步”右键菜单
[HKEY_CLASSES_ROOT\*\shellex\ContextMenuHandlers\ FileSyncEx]
; 禁用文件、目录、桌面、所有对象的“工作文件夹”右键菜单
[HKEY_CLASSES_ROOT\*\shellex\ContextMenuHandlers\WorkFolders]
[HKEY_CLASSES_ROOT\Directory\shellex\ContextMenuHandlers\WorkFolders]
[HKEY_CLASSES_ROOT\Directory\background\shellex\ContextMenuHandlers\WorkFolders]
[HKEY_CLASSES_ROOT\AllFilesystemObjects\shell\LaunchWorkfoldersControl]
; 禁用文件的“画图 3D”右键菜单
[HKEY_CLASSES_ROOT\SystemFileAssociations\.tiff\Shell\3D Edit]
[HKEY_CLASSES_ROOT\SystemFileAssociations\.tif\Shell\3D Edit]
[HKEY_CLASSES_ROOT\SystemFileAssociations\.png\Shell\3D Edit]
[HKEY_CLASSES_ROOT\SystemFileAssociations\.jpg\Shell\3D Edit]
[HKEY_CLASSES_ROOT\SystemFileAssociations\.jpeg\Shell\3D Edit]
[HKEY_CLASSES_ROOT\SystemFileAssociations\.jpe\Shell\3D Edit]
[HKEY_CLASSES_ROOT\SystemFileAssociations\.jfif\Shell\3D Edit]
[HKEY_CLASSES_ROOT\SystemFileAssociations\.gif\Shell\3D Edit]
[HKEY_CLASSES_ROOT\SystemFileAssociations\.fbx\Shell\3D Edit]
[HKEY_CLASSES_ROOT\SystemFileAssociations\.bmp\Shell\3D Edit]
[HKEY_CLASSES_ROOT\SystemFileAssociations\.3mf\Shell\3D Edit]
; 禁用文件夹的“包含到库中”右键菜单
[HKEY_CLASSES_ROOT\Folder\shellex\ContextMenuHandlers\Library Location]
; 禁用桌面的“NVIDIA 控制面板”右键菜单
[HKEY_CLASSES_ROOT\Directory\Background\shellex\ContextMenuHandlers\NvCplDesktopContext]
视频预览
reg
Windows Registry Editor Version 5.00
;;;;;;;;; 关闭视频预览 ;;;;;;;;;
[-HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.3gp\ShellEx]
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.3gp\-ShellEx\{BB2E617C-0920-11D1-9A0B-00C04FC2D6C1}]
@="{9DBD2C50-62AD-11D0-B806-00C04FD706EC}"
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.3gp\-ShellEx\{e357fccd-a995-4576-b01f-234630154e96}]
@="{9DBD2C50-62AD-11D0-B806-00C04FD706EC}"
[-HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.avi\ShellEx]
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.avi\-ShellEx\{BB2E617C-0920-11D1-9A0B-00C04FC2D6C1}]
@="{9DBD2C50-62AD-11D0-B806-00C04FD706EC}"
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.avi\-ShellEx\{e357fccd-a995-4576-b01f-234630154e96}]
@="{9DBD2C50-62AD-11D0-B806-00C04FD706EC}"
[-HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.mkv\ShellEx]
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.mkv\-ShellEx\{BB2E617C-0920-11D1-9A0B-00C04FC2D6C1}]
@="{9DBD2C50-62AD-11D0-B806-00C04FD706EC}"
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.mkv\-ShellEx\{e357fccd-a995-4576-b01f-234630154e96}]
@="{9DBD2C50-62AD-11D0-B806-00C04FD706EC}"
[-HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.mp4\ShellEx]
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.mp4\-ShellEx\{BB2E617C-0920-11D1-9A0B-00C04FC2D6C1}]
@="{9DBD2C50-62AD-11D0-B806-00C04FD706EC}"
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.mp4\-ShellEx\{e357fccd-a995-4576-b01f-234630154e96}]
@="{9DBD2C50-62AD-11D0-B806-00C04FD706EC}"
[-HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.mpeg\ShellEx]
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.mpeg\-ShellEx\{BB2E617C-0920-11D1-9A0B-00C04FC2D6C1}]
@="{9DBD2C50-62AD-11D0-B806-00C04FD706EC}"
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.mpeg\-ShellEx\{e357fccd-a995-4576-b01f-234630154e96}]
@="{9DBD2C50-62AD-11D0-B806-00C04FD706EC}"
[-HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.mpg\ShellEx]
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.mpg\-ShellEx\{BB2E617C-0920-11D1-9A0B-00C04FC2D6C1}]
@="{9DBD2C50-62AD-11D0-B806-00C04FD706EC}"
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.mpg\-ShellEx\{e357fccd-a995-4576-b01f-234630154e96}]
@="{9DBD2C50-62AD-11D0-B806-00C04FD706EC}"
[-HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.rm\ShellEx]
[-HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.rmvb\ShellEx]
[-HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.wmv\ShellEx]
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.wmv\-ShellEx\{BB2E617C-0920-11D1-9A0B-00C04FC2D6C1}]
@="{9DBD2C50-62AD-11D0-B806-00C04FD706EC}"
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.wmv\-ShellEx\{e357fccd-a995-4576-b01f-234630154e96}]
@="{9DBD2C50-62AD-11D0-B806-00C04FD706EC}"