Windows常见痛点体验优化

发布于 2023-01-01  72 次阅读


我认真整理了一些微软痛点常用优化,毕竟微软冗长的右键菜单非常影响工作效率,作为强迫症必须把那些早已用不到的右键菜单删除掉,毕竟干干净净的右键菜单才能满足强迫症呢。

删除此电脑中 3D 文件夹&视频&图片&文档&下载&音乐&桌面文件夹。

你只需要保存以下代码到记事本,另存为.reg,然后以管理员身份运行即可。

Windows Registry Editor Version 5.00
[-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{f86fa3ab-70d2-4fc7-9c99-fcbf05467f3a}]
[-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{d3162b92-9365-467a-956b-92703aca08af}]
[-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{B4BFCC3A-DB2C-424C-B029-7FE99A87C641}]
[-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{3dfdf296-dbec-4fb4-81d1-6a3438bcf4de}]
[-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{088e3905-0323-4b02-9826-5d99428e115f}]
[-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{0DB7E03F-FC29-4DC6-9020-FF41B59E513A}]
[-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{24ad3ad4-a569-4530-98e1-ab02f9417aa8}]

删除右键菜单使用 Windows Defender 扫描

你只需要保存以下代码到记事本,另存为.cmd,然后以管理员身份运行即可。

regsvr32 /u "C:\Program Files\Windows Defender\shellext.dl

删除右键菜单" Cast to Device " 。

你只需要保存以下代码到记事本,另存为.reg,然后以管理员身份运行即可。

Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Shell Extensions\Blocked]
"{7AD84985-87B4-4a16-BE58-8B72A5B390F7}"="Cast to Device"

删除右键菜单" Edit with Photos "&" CreateVideo "。常见于图片和视频文件。

你只需要保存以下代码到记事本,另存为.reg,然后以管理员身份运行即可。

Windows Registry Editor Version 5.00
[-HKEY_CURRENT_USER\Software\Classes\AppX43hnxtbyyps62jhe9sqpdzxn1790zetc\Shell\ShellEdit]
[-HKEY_CLASSES_ROOT\AppX43hnxtbyyps62jhe9sqpdzxn1790zetc\Shell\ShellCreateVideo]

删除右键菜单" 发送到 "。容易导致低配电脑卡死。

你只需要保存以下代码到记事本,另存为.reg,然后以管理员身份运行即可。

Windows Registry Editor Version 5.00
[-HKEY_CLASSES_ROOT\AllFilesystemObjects\shellex\ContextMenuHandlers\SendTo]

删除右键菜单" 固定到开始屏幕 "。

你只需要保存以下代码到记事本,另存为.reg,然后以管理员身份运行即可。

Windows Registry Editor Version 5.00
[-HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Folder\shellex\ContextMenuHandlers\PintoStartScreen]
[-HKEY_CLASSES_ROOT\exefile\shellex\ContextMenuHandlers\PintoStartScreen]

删除右键" 固定到任务栏" 。

你只需要保存以下代码到记事本,另存为.reg,然后以管理员身份运行即可。

Windows Registry Editor Version 5.00
[-HKEY_CLASSES_ROOT\*\shellex\ContextMenuHandlers\{90AA3A4E-1CBA-4233-B8BB-535773D48449}]

删除右键" 还原到以前的版本" 。

打开注册表,Ctrl+F查找,输入{596AB062-B4D2-4215-9F74-E9109B0A8153},然后取消勾选值和数据
将查找到的文件夹全部删除!(删一个后,再查找下一个,直到没有)
之后你就会发现右键中还原到以前的版本选项消失了。(大概有15个比较多耐心删,别删错了)

删除右键" 兼容性疑难解答" 。

你只需要保存以下代码到记事本,另存为.reg,然后以管理员身份运行即可。

Windows Registry Editor Version 5.00
[-HKEY_CLASSES_ROOT\exefile\shellex\ContextMenuHandlers\Compatibility]

解决已卸载程序在任务栏上显示白色图标的问题。

你只需要保存以下代码到记事本,另存为.bat,然后以管理员身份运行即可。

taskkill /f /im explorer.exe
attrib -h -i %userprofile%\AppData\Local\IconCache.db
del %userprofile%\AppData\Local\IconCache.db /a
start explorer
taskkill /f /im explorer.exe
attrib -h -s -r "%userprofile%\AppData\Local\IconCache.db"
del /f "%userprofile%\AppData\Local\IconCache.db"
attrib /s /d -h -s -r "%userprofile%\AppData\Local\Microsoft\Windows\Explorer*"
del /f "%userprofile%\AppData\Local\Microsoft\Windows\Explorer\thumbcache_32.db"
del /f "%userprofile%\AppData\Local\Microsoft\Windows\Explorer\thumbcache_96.db"
del /f "%userprofile%\AppData\Local\Microsoft\Windows\Explorer\thumbcache_102.db"
del /f "%userprofile%\AppData\Local\Microsoft\Windows\Explorer\thumbcache_256.db"
del /f "%userprofile%\AppData\Local\Microsoft\Windows\Explorer\thumbcache_1024.db"
del /f "%userprofile%\AppData\Local\Microsoft\Windows\Explorer\thumbcache_idx.db"
del /f "%userprofile%\AppData\Local\Microsoft\Windows\Explorer\thumbcache_sr.db"
echo y|reg delete "HKEY_CLASSES_ROOT\Local Settings\Software\Microsoft\Windows\CurrentVersion\TrayNotify" /v IconStreams
echo y|reg delete "HKEY_CLASSES_ROOT\Local Settings\Software\Microsoft\Windows\CurrentVersion\TrayNotify" /v PastIconsStream
start explorer

清除注册表的WLAN记录,解决控制面板WiFi名出现"WiFi名1""WiFi名2"的问题。

你只需要保存以下代码到记事本,另存为.reg,然后以管理员身份运行即可。

Windows Registry Editor Version 5.00
[-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\NetworkList\Signatures\Unmanaged]
[-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\NetworkList\Profiles]

卸载人脉 & 闹钟 & 获取帮助。

你只需要保存以下代码到记事本,另存为.ps1,然后以管理员身份运行即可。

get-appxpackage Microsoft.People | remove-appxpackage
get-appxpackage Microsoft.GetHelp | remove-appxpackage
get-appxpackage Microsoft.WindowsAlarms | remove-appxpackage

清除Windows defender保护历史记录。常见于强迫症。删除以下路径的文件。

C:\ProgramData\Microsoft\Windows Defender\Scans\History\Results
C:\ProgramData\Microsoft\Windows Defender\Scans\History\Service\DetectionHistory