前一陣子我的C、D槽都無法直接開啟,點右鍵又出現亂碼
像是隨身碟中毒一樣打不開
雖然用檔案總管使用一段時間,還是覺得需要處理一下
於是找到這篇製做掃除病毒啟動執行檔的文章來處理
蠻好用的,如果有同樣困擾的人不妨試試看

以下是那個執行檔製作方法
1.開一個筆記本在桌面存檔(副檔名是txt)
2.在裡面輸入
-----------------------------------------
輸入以下文字
-----------------------------------------

@echo off
reg.exe add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer" /v NoDriveAutoRun /t REG_BINARY /d ffffff03 /f
reg.exe add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\policies\Explorer" /v NoDriveTypeAutoRun /t REG_DWORD /d 0x000000df /f
reg.exe add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer" /v NoDriveTypeAutoRun /t REG_DWORD /d 0x000000df /f
reg.exe add "HKEY_USERS\.DEFAULT\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer" /v NoDriveTypeAutoRun /t REG_DWORD /d 0x000000df /f
reg delete "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\MountPoints2" /f
cd\
C:
md autodir
attrib -a -s -h -r autorun.inf /q
ren autorun.inf cauto.txt
move cauto.txt autodir
D:
attrib -a -s -h -r autorun.inf
ren autorun.inf dauto.txt
move dauto.txt C:\autodir\
E:
attrib -a -s -h -r autorun.inf
ren autorun.inf eauto.txt
move eauto.txt C:\autodir\
F:
attrib -a -s -h -r autorun.inf
ren autorun.inf fauto.txt
move fauto.txt C:\autodir\
G:
attrib -a -s -h -r autorun.inf
ren autorun.inf gauto.txt
move gauto.txt C:\autodir\
H:
attrib -a -s -h -r autorun.inf
ren autorun.inf hauto.txt
move hauto.txt C:\autodir\
I:
attrib -a -s -h -r autorun.inf
ren autorun.inf iauto.txt
move iauto.txt C:\autodir\
J:
attrib -a -s -h -r autorun.inf
ren autorun.inf jauto.txt
move jauto.txt C:\autodir\
K:
attrib -a -s -h -r autorun.inf
ren autorun.inf kauto.txt
move kauto.txt C:\autodir\
L:
attrib -a -s -h -r autorun.inf
ren autorun.inf lauto.txt
move lauto.txt C:\autodir\
M:
attrib -a -s -h -r autorun.inf
ren autorun.inf mauto.txt
move mauto.txt C:\autodir\
N:
attrib -a -s -h -r autorun.inf
ren autorun.inf nauto.txt
move nauto.txt C:\autodir\
O:
attrib -a -s -h -r autorun.inf
ren autorun.inf oauto.txt
move oauto.txt C:\autodir\
P:
attrib -a -s -h -r autorun.inf
ren autorun.inf pauto.txt
move pauto.txt C:\autodir\
Q:
attrib -a -s -h -r autorun.inf
ren autorun.inf qauto.txt
move qauto.txt C:\autodir\
R:
attrib -a -s -h -r autorun.inf
ren autorun.inf rauto.txt
move rauto.txt C:\autodir\
S:
attrib -a -s -h -r autorun.inf
ren autorun.inf sauto.txt
move sauto.txt C:\autodir\
T:
attrib -a -s -h -r autorun.inf
ren autorun.inf tauto.txt
move tauto.txt C:\autodir\
U:
attrib -a -s -h -r autorun.inf
ren autorun.inf uauto.txt
move uauto.txt C:\autodir\
V:
attrib -a -s -h -r autorun.inf
ren autorun.inf vauto.txt
move vauto.txt C:\autodir\
W:
attrib -a -s -h -r autorun.inf
ren autorun.inf wauto.txt
move wauto.txt C:\autodir\
X:
attrib -a -s -h -r autorun.inf
ren autorun.inf xauto.txt
move xauto.txt C:\autodir\
Y:
attrib -a -s -h -r autorun.inf
ren autorun.inf yauto.txt
move yauto.txt C:\autodir\
Z:
attrib -a -s -h -r autorun.inf
ren autorun.inf zauto.txt
move zauto.txt C:\autodir\
explorer c:\autoDir
@echo on
exit

-----------------------------------------
輸入以上文字
-------------------------------


3.存檔

4.把副檔名txt改成bat

5.把這個放到有問題的隨身碟或是硬碟執行
arrow
arrow
    全站熱搜

    mjohns 發表在 痞客邦 留言(2) 人氣()