Windows里面如何恢复EXE文件关联?

现象:

今天norton说有个stealp什么什么的病毒,杀不掉,就让它删了一个hidcra.exe的文件,说是位于system32下。之后快捷方式应用程序都执行不了了,说是要确定所有需要的库文件是否可用。我用的win2000p,别人的机器里找不到这个文件!!急!!!由工作要完成!!!
---------------------------------------------------------------

解决方法1:

注册表里
[HKEY_CLASSES_ROOT\exefile\shell\open\command]
把里面的Default对应的值改为%1就好。

解决方法2:
重新启动系统,进入带命令安全模式。
c:>assoc .exe=exefile

C:>help assoc
Displays or modifies file extension associations

ASSOC [.ext[=[fileType]]]

.ext Specifies the file extension to associate the file type with
fileType Specifies the file type to associate with the file extension

Type ASSOC without parameters to display the current file associations.
If ASSOC is invoked with just a file extension, it displays the current
file association for that file extension. Specify nothing for the file
type and the command will delete the association for the file extension.

方法3:

选择
HKEY_CLASSES_ROOT/exefile/shell/open/command
HKEY_CLASSES_ROOT/exefile/shell/runas/command
看看默认值是不是"%1"%*,不是,把它改回来。

看看注册表的开始启动菜单,有没有异常服务启动。

如果regedit.exe那个时候不能运行,可以改名regedit.com

Published At
Categories with 服务器类
Tagged with
comments powered by Disqus