Monday, March 26, 2012

Cara menghapus folder Recycler


Udah lama kagak dapet trik baru.. ane dapet lagi nih gan,,  Cara menghapus folder Recycler dan System volume information.  yang setahu ane 2 folder itu jadi sarang virus di Flasdisk dan HDD eksternal..

cara hapusnya.. buka dulu notepad.. trs copy script di bawah ini:

cacls "System Volume Information" /t /e /c /p everyone:f
cacls recycler /t /e /c /p everyone:f
cacls recycled /t /e /c /p everyone:f
cacls "$RECYCLE.BIN" /t /e /c /p everyone:f
cacls autorun.inf /t /e /c /p everyone:f
cacls "autorun.inf" /t /e /c /p everyone:f
pause
rd /s /q "System Volume Information"
rd /s /q recycler
rd /s /q recycled
rd /s /q "$RECYCLE.BIN"
rd /s /q "autorun.inf"
del autorun.inf
pause
md recycled
md recycler
md "System Volume Information"
md "$RECYCLE.BIN"
md "autorun.inf"
pause
attrib.exe recycled +s +r +h
pause
attrib.exe recycler +s +r +h
pause
attrib.exe "System Volume Information" +s +r +h
pause
attrib.exe "$RECYCLE.BIN" +s +r +h
attrib.exe "autorun.inf" +s +r +h

cacls recycler /t /e /c /p everyone:r
pause
cacls recycled /t /e /c /p everyone:r
pause
cacls "System Volume Information" /t /e /c /p everyone:r
pause
cacls "$RECYCLE.BIN" /t /e /c /p everyone:r
cacls "autorun.inf" /t /e /c /p everyone:r

Silakan buka notepad copy-paste script diatas kedalam notepad dan save as All files dengan ekstensi .bat
silakan eksekusi file bat yang bernama secuirty.bat ….  didalam script saya tambahkan pause… untuk melihat perintahnya berjalan atau tidak…. tetapi bila anda ingin cepat silakan edit dan hilangkan / hapus kata-kata pause….
seperti ini :


cacls "System Volume Information" /t /e /c /p everyone:f
cacls recycler /t /e /c /p everyone:f
cacls recycled /t /e /c /p everyone:f
cacls "$RECYCLE.BIN" /t /e /c /p everyone:f
cacls autorun.inf /t /e /c /p everyone:f
cacls "autorun.inf" /t /e /c /p everyone:f
rd /s /q "System Volume Information"
rd /s /q recycler
rd /s /q recycled
rd /s /q "$RECYCLE.BIN"
rd /s /q "autorun.inf"
del autorun.inf
md recycled
md recycler
md "System Volume Information"
md "$RECYCLE.BIN"
md "autorun.inf"
attrib.exe recycled +s +r +h
attrib.exe recycler +s +r +h
attrib.exe "System Volume Information" +s +r +h
attrib.exe "$RECYCLE.BIN" +s +r +h
attrib.exe "autorun.inf" +s +r +h

cacls recycler /t /e /c /p everyone:r
cacls recycled /t /e /c /p everyone:r
cacls "System Volume Information" /t /e /c /p everyone:r
cacls "$RECYCLE.BIN" /t /e /c /p everyone:r
cacls "autorun.inf" /t /e /c /p everyone:r


Peringatan..!!!

Tempatkan file secuirty.bat disetiap root partisi , bukan didalam folder …

Untuk format selain NTFS perintah cacls tidak berfungsi .. ( abaikan aja! )

Untuk membuktikan file bat tersebut silakan lihat apakah didalam folder recycler ada folder apa tidak , bila tidak ada berarti sukses…

0 komentar:

Post a Comment