前几天更新了下系统,是用360更新的(也可能是中毒了)今天突然发现win7的开始菜单中的搜索功能失效了,我的电脑里面的搜索功能也失效了,同时附加的现象还有开始菜单中的控制面板点不开,原因到现在还没找到。。。。不过总算在网上找到了解决方法。转帖一下吧。
解决方案:
1.win+r,输入regedit,查看一下[HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/Windows/CurrentVersion/Explorer/Desktop/NameSpace],是否有下面三项:(此三项应该是关于window7 搜索相关的注册表项)
a.
[HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/Windows/CurrentVersion/Explorer/Desktop/NameSpace/{04731B67-D933-450a-90E6-4ACD2E9408FE}]
@="CLSID_SearchFolder"
b.
[HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/Windows/CurrentVersion/Explorer/Desktop/NameSpace/{4336a54d-038b-4685-ab02-99bb52d3fb8b}]
@="Public folder"
c.
[HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/Windows/CurrentVersion/Explorer/Desktop/NameSpace/{daf95313-e44d-46af-be1b-cbacea2c3065}]
@="CLSID_StartMenuProviderFolder"
如果都有的话,直接进入2。如果没有的话,将上面的粘贴到一个文本中,并修改后缀名为reg,暂且命名为1.reg。然后双击导入即可。
注意文件的头要写上:
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/Windows/CurrentVersion/Explorer/Desktop/NameSpace]
2.进入[HKEY_CLASSES_ROOT/CLSID/,分别搜索04731B67-D933-450a-90E6-4ACD2E9408FE,4336a54d-038b-4685-ab02-99bb52d3fb8b和daf95313-e44d-46af-be1b-cbacea2c3065。三者都有问题。需要从正常win7系统中相应的注册表中导入相应的项。注意需要将原来有的删除,删除的过程可能需要权限,改为administrators权限即可。正确的注册表导入之后,即恢复了搜索功能。
下面附上正常win7系统导出的三个项的reg文件内容:
a.04731B67-D933-450a-90E6-4ACD2E9408FE.reg:
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT/CLSID/{04731B67-D933-450a-90E6-4ACD2E9408FE}]
@="CLSID_SearchFolder"
"LocalizedString"=hex(2):40,00,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,53,00,65,00,61,00,72,00,63,00,68,00,46,00,6f,00,6c,00,64,00,65,00,/
72,00,2e,00,64,00,6c,00,6c,00,2c,00,2d,00,33,00,30,00,35,00,32,00,33,00,00,/
00
[HKEY_CLASSES_ROOT/CLSID/{04731B67-D933-450a-90E6-4ACD2E9408FE}/DefaultIcon]
@=hex(2):40,00,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,53,00,/
65,00,61,00,72,00,63,00,68,00,46,00,6f,00,6c,00,64,00,65,00,72,00,2e,00,64,/
00,6c,00,6c,00,2c,00,2d,00,33,00,32,00,33,00,00,00
[HKEY_CLASSES_ROOT/CLSID/{04731B67-D933-450a-90E6-4ACD2E9408FE}/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,53,00,65,00,/
61,00,72,00,63,00,68,00,46,00,6f,00,6c,00,64,00,65,00,72,00,2e,00,64,00,6c,/
00,6c,00,00,00
"ThreadingModel"="Apartment"
[HKEY_CLASSES_ROOT/CLSID/{04731B67-D933-450a-90E6-4ACD2E9408FE}/ShellFolder]
"Attributes"=dword:20180000
b.4336a54d-038b-4685-ab02-99bb52d3fb8b.reg:
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT/CLSID/{4336a54d-038b-4685-ab02-99bb52d3fb8b}]
@="Public Folder"
"LocalizedString"=hex(2):40,00,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,73,00,68,00,65,00,6c,00,6c,00,33,00,32,00,2e,00,64,00,6c,00,6c,00,/
2c,00,2d,00,39,00,31,00,31,00,33,00,00,00
"SortOrderIndex"=dword:0000004c
[HKEY_CLASSES_ROOT/CLSID/{4336a54d-038b-4685-ab02-99bb52d3fb8b}/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,73,00,68,00,/
64,00,6f,00,63,00,76,00,77,00,2e,00,64,00,6c,00,6c,00,00,00
"ThreadingModel"="Apartment"
[HKEY_CLASSES_ROOT/CLSID/{4336a54d-038b-4685-ab02-99bb52d3fb8b}/Instance]
"CLSID"="{F3364BA0-65B9-11CE-A9BA-00AA004AE837}"
[HKEY_CLASSES_ROOT/CLSID/{4336a54d-038b-4685-ab02-99bb52d3fb8b}/Instance/InitPropertyBag]
"TargetKnownFolder"="{DFDF76A2-C82A-4D63-906A-5644AC457385}"
"Attributes"="0x00000011"
"DescriptionID"="0x3"
[HKEY_CLASSES_ROOT/CLSID/{4336a54d-038b-4685-ab02-99bb52d3fb8b}/ShellFolder]
"Attributes"=dword:f094010d
"WantsFORPARSING"=""
c.daf95313-e44d-46af-be1b-cbacea2c3065.reg:
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT/CLSID/{daf95313-e44d-46af-be1b-cbacea2c3065}]
@="CLSID_StartMenuProviderFolder"
[HKEY_CLASSES_ROOT/CLSID/{daf95313-e44d-46af-be1b-cbacea2c3065}/DefaultIcon]
@=hex(2):40,00,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,53,00,/
65,00,61,00,72,00,63,00,68,00,46,00,6f,00,6c,00,64,00,65,00,72,00,2e,00,64,/
00,6c,00,6c,00,2c,00,2d,00,33,00,32,00,33,00,00,00
[HKEY_CLASSES_ROOT/CLSID/{daf95313-e44d-46af-be1b-cbacea2c3065}/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,53,00,65,00,/
61,00,72,00,63,00,68,00,46,00,6f,00,6c,00,64,00,65,00,72,00,2e,00,64,00,6c,/
00,6c,00,00,00
"ThreadingModel"="Both"
[HKEY_CLASSES_ROOT/CLSID/{daf95313-e44d-46af-be1b-cbacea2c3065}/ShellFolder]
"Attributes"=dword:20180000
注:我在最后添加的过程中提示说失败,但搜索却可以用了。