Skip to content

Commit 8a8b335

Browse files
committed
增加禁用 Windows 搜索联网功能的说明
1 parent d146938 commit 8a8b335

6 files changed

Lines changed: 124 additions & 5 deletions

File tree

content/_index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,11 +96,11 @@ type: docs
9696

9797
{{< commit_info >}}
9898

99+
- Content update: 增加禁用 Windows 搜索联网功能的操作说明 (25/10/17)
100+
- Experience update: 现在点击图片可以放大查看了 (25/9/30)
99101
- More more patches again: 各种小修改,主要是微调表述、补充说明和改正错别字 (25/9/24)
100102
- Publishing news: 更新出版动态 (25/8/23)
101103
- More more patches: 又修了一堆小地方 (25/7/19)
102-
- More patches: 修整许许多多在排 PDF 时遇到的不佳语段 (25/3/10)
103-
- ADs are not welcome: 调整对某压缩软件的推荐程度 (25/2/25)
104104
- [查看更多……]({{<relref "revisions.md">}})
105105

106106
## 著作权、许可与声明

content/revisions.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ type: docs
77

88
这里记录了本作品自面世以来的内容更新和修订。较大的更新和修订都会在这里记录,以便读者查阅。
99

10+
- Content update: 增加禁用 Windows 搜索联网功能的操作说明 (25/10/17)
11+
- Experience update: 现在点击图片可以放大查看了 (25/9/30)
1012
- More more patches again: 各种小修改,主要是微调表述、补充说明和改正错别字 (25/9/24)
1113
- Publishing news: 更新出版动态 (25/8/23)
1214
- More more patches: 又修了一堆小地方 (25/7/19)

content/windows-11-optimization.md

Lines changed: 27 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ reg delete "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Shell Extensions\Bloc
107107
适用于 22H2 及以上版本系统的方法不太一样:
108108

109109
- 找一个你喜欢的地方,新建一个文件,命名为 `ribbon.reg`(注意,此文件的扩展名是 `reg`,记得预先将「显示文件扩展名」打开);
110-
- 用记事本打开刚刚的文件,写入以下内容,保存:
110+
- 用记事本打开刚刚的文件(或者右键选择【编辑】或【在记事本中编辑】),写入以下内容,保存:
111111
```
112112
Windows Registry Editor Version 5.00
113113
@@ -155,7 +155,7 @@ reg delete "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Shell Extensions\Bloc
155155
可以通过如下的方式,禁用这一行为。此方法在 Windows 10 中亦可使用。
156156

157157
- 找一个你喜欢的地方,新建一个文件,命名为 `disable_f1_help_in_explorer.reg`(注意,此文件的扩展名是 `reg`,记得预先将「显示文件扩展名」打开);
158-
- 用记事本打开刚才新建的文件(或者右键选择【编辑】),然后写入如下内容,保存:
158+
- 用记事本打开刚才新建的文件(或者右键选择【编辑】或【在记事本中编辑】),然后写入如下内容,保存:
159159
```
160160
Windows Registry Editor Version 5.00
161161
@@ -168,7 +168,7 @@ reg delete "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Shell Extensions\Bloc
168168
- 关掉记事本,双击刚才编辑的文件,点两下【是】,然后点击【确定】。
169169
- 此时在资源管理器中按 F1 键,就不会再打开 Edge 浏览器了。
170170

171-
如果想恢复该功能,则使用如下的内容:
171+
如果想恢复该功能,请用相同的方法再新建一个 `reg` 文件,写入如下的内容后双击导入。
172172

173173
```
174174
Windows Registry Editor Version 5.00
@@ -179,6 +179,30 @@ Windows Registry Editor Version 5.00
179179

180180
你可以将这两个 `reg` 文件留着,以备不时之需。
181181

182+
## 禁用 Windows 搜索联网功能
183+
184+
在 Windows 10 和 Windows 11 中,Windows 搜索功能(包括任务栏搜索框、`Windows` + `S` 或是开始菜单中的搜索框)默认会使用必应搜索引擎联网搜索结果,并可能在我们未搜索内容时,提供一些广告内容,如下图所示:
185+
186+
![Windows 搜索提供的广告和在线结果](windows-11-optimization/Windows_Search_online_content.png#center)
187+
188+
要禁用 Windows 搜索的联网功能,可以按如下的方法操作:
189+
190+
-`Windows` + `X`,选择【终端管理员】,然后选择【是】。(旧称「Windows Powershell(管理员)」或「Windows 终端(管理员)」。)
191+
- 输入这行命令,然后按一次回车。重启后即见效果。
192+
```
193+
reg add "HKCU\Software\Policies\Microsoft\Windows\Explorer" /f /v DisableSearchBoxSuggestions /t REG_DWORD /d 1
194+
```
195+
196+
此时,Windows 搜索功能将只会搜索本机上的项目,而不再提供必应搜索结果;同时,未有搜索内容时,也不会再展示任何广告等推荐内容,如下图:
197+
198+
![干净的 Windows 搜索](windows-11-optimization/Clear_Windows_Search.png#center)
199+
200+
如果想恢复相关功能,请执行下面这条命令,重启即可恢复。
201+
202+
```
203+
reg delete "HKCU\Software\Policies\Microsoft\Windows\Explorer" /f /v DisableSearchBoxSuggestions
204+
```
205+
182206
## 练习
183207

184208
如果你不习惯 Windows 11 的某些改变,不妨按本章提供的方法进行修整。
458 KB
Loading
1.52 MB
Loading

content/windows-11-optimization/Windows_Search_online_content.svg

Lines changed: 93 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)