發新話題
打印

無法直接開啟硬碟處理方式

無法直接開啟硬碟處理方式

無法直接開啟硬碟處理方式

 

一、把如下的紅色部份的文字複製起來!

二、貼在「記事本」上

三、存檔

四、把副檔案改成「.bat」

五、改後在執行

@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

TOP

發新話題