Autorun.infļ⣬ȥɾȻעвautorun.infָļ鵽shellɾɴD̡ʼ--"regedit"(ע) ,"Ctrl+F" 

ֲҶԻ"autorun.inf" ͿԿ shell  

ȻҼ--ɾ 
߲οķ 


(DΪ) 


ʼ 
 
cmdʾ 
D: 
dir /a ûвAǿģAʾе˼ 
ʱᷢһautorun.infļԼ49ֽ 
attrib autorun.inf -s -h -r ȥautorun.infļϵͳֻԣ޷ɾ 
del autorun.inf 

ﻹû꣬Ϊ˫D̷ûдȴõһҪλcommand.exeʱԶеϢѾעˡ 

עϢ 
ʼ 
 
regedit 
༭ 
 
command.exe 
ҵĵһD̵ԶУɾshellӼ 

ҲԲο· 
1´autorun.infһļɾԡ 



2ļô򿪷ʽXPΪ 

 ҵĵԣߣļѡļͣҵļСѡĸ⣬˫򲻿ѡ򲻿ļѡļС·ġ߼ڡ༭ļ͡Իġ½дopenдСopenָİ.exeļпָľѡ񡰱༭ִвӦóдexplorer.exeȷ󷵻ص༭ļ͡ڣѡСopenΪĬֵȷٴ򿪷ļп£ǲѻָ 



3ע 

aڷ˫ 

ʼУregeditҵ[HKEY_CLASSES_ROOT\Drive\shell]shellµȫɾȻرעF5ˢ£˫ٿ 

bļв˫ 

ʼУregeditҵ[HKEY_CLASSES_ROOT\Directory\shell]shellµȫɾȻرעF5ˢ£˫ٿ 
޸ĺִܻ´ڵó޸һļмɽ




ĻһIexplorer.exeĲȾɱӲ̾Ҳ˫ˣֻһ̷Ȼܴ򿪣ͬʱĬϵĴ򿪷ʽҲԭġ򿪡ˡԶš 

ȣʼ˵򿪡Сregeditע 

Ȼչ 

HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\MountPoints2 

Ŀ¼дӺš+չһcommandǱ۸ĹˡģʽһӦΪDropTarget 

ܼ򵥣ֻѡ䡱ӡAutoRun(עǴӡAutoRun)ȫɾɡ






ܿжˣ쿴̹ûп֮

¼ַԲοһ£
1 ´autorun.infһļɾ֮ԡ 

2 ļô򿪷ʽXPΪ 
ҵĵ \\ļѡ\ļ ҵļСѡĸ ˫򲻿ѡ 򲻿ļѡļС 
·ġ߼\ѡ༭ļ͡ġ½\дopenдִвӦóдexplorer.exeȷ 

󷵻ص༭ļ͡ڣѡopen,ΪĬֵ,ȷ 
ٴ򿪷ļп£ǲѻָ 


3 ע 
a ڷ˫ 
ʼ\ regedit ҵ[HKEY_CLASSES_ROOT\Drive\shell]shellµȫɾ Ȼرע F5ˢ ˫ٿ 
b ļв˫ 
ʼ\ regedit ҵ[HKEY_CLASSES_ROOT\Directory\shell]shellµȫɾ Ȼرע F5ˢ ˫ٿ 

4 С 
=ڸƵ±ڣ=Ϊopen.vbs˫мɣɱ棬ҷ֮ 
================================================================ 
'folder_open.vbs - Fixes problem where Search opens on a double click 
'?Doug Knox - 03/13/2002 
'Downloaded from [url]www.dougknox.com[/url] 

Set WshShell = WScript.CreateObject("WScript.Shell") 

p1 = "HKEY_CLASSES_ROOT\Directory\shell\" 
p2 = "none" 

WshShell.RegWrite p1, p2 

p1 = "HKEY_CLASSES_ROOT\Drive\shell\" 
WshShell.RegWrite p1, p2 

X = WshShell.Run("REGSVR32 /I /S SHELL32.DLL",4,True) 
Set WshShell = Nothing 







Rose.exeҪڣ
1ϵͳռôcpuԴ
2ÿ½rose.exe autorun.inf 2ļ˫̷ʱʾԶУ޷򿪸÷
3󲿷ͨU̡ƶӲ̵ȴ洢豸Σڷ̵ֹС
4ܻ𲿷ֲϵͳڿԼֱӲ޷ϵͳ
ĳЩԭ򣬸ɱûṩӦĲ⣬޷ͨɱɱòṩֶɱʽ£
1ڽҳнΪRose.exeḶ̌ںĲз˲ȷļᷴ
2ڿʼ롰regeditXPϵͳעеġrose.exeֵҵshellӼɾ
3ҵĵԣߣļѡ鿴ʾļļУѡܱϵͳļĹȥ
4ÿ̷Ҽ򿪽루мǲ˫ɾеrose.exeautorun.infļ
5c:windowssystem32²ûrose.exeļھֱɾ
MyBox = MsgBox("Folders will now Open when double clicked", 4096, "Finished!")
