![]() |
|
[BAT] :: Remove autorun.inf - Printable Version +- Sinisterly (https://sinister.li) +-- Forum: Computers (https://sinister.li/Forum-Computers) +--- Forum: Antivirus & Protection (https://sinister.li/Forum-Antivirus-Protection) +--- Thread: [BAT] :: Remove autorun.inf (/Thread-BAT-Remove-autorun-inf) |
[BAT] :: Remove autorun.inf - dnstuff - 09-15-2011 Remove autorun.inf virus from drives using notepad Most of the people have autorun issues with their flash/hard drives it is because of the modification of the autorun.inf file in the root directory which is in most cases hidden and cant be seen so you just have to create a bat file with the following syntax as mentioned below Copy and paste this into Notepad and save it as antivirus.bat or whatever.bat (any name u like) Code: tskill ctfmon
attrib -s -h -r c:\autorun.inf
attrib -s -h -r D:\autorun.inf
attrib -s -h -r E:\autorun.inf
attrib -s -h -r F:\autorun.inf
attrib -s -h -r G:\autorun.inf
attrib -s -h -r H:\autorun.inf
attrib -s -h -r I:\autorun.inf
attrib -s -h -r J:\autorun.inf
del c:\autorun.inf
del d:\autorun.inf
del e:\autorun.inf
del f:\autorun.inf
del g:\autorun.inf
del h:\autorun.inf
del I:\autorun.inf
del J:\autorun.inf
attrib -s -h -r c:\Recycled\ctfmon.exe
attrib -s -h -r D:\Recycled\ctfmon.exe
attrib -s -h -r E:\Recycled\ctfmon.exe
attrib -s -h -r F:\Recycled\ctfmon.exe
attrib -s -h -r G:\Recycled\ctfmon.exe
attrib -s -h -r H:\Recycled\ctfmon.exe
attrib -s -h -r I:\Recycled\ctfmon.exe
attrib -s -h -r J:\Recycled\ctfmon.exe
del c:\Recycled\ctfmon.exe
del D:\Recycled\ctfmon.exe
del E:\Recycled\ctfmon.exe
del F:\Recycled\ctfmon.exe
del G:\Recycled\ctfmon.exe
del H:\Recycled\ctfmon.exe
del I:\Recycled\ctfmon.exe
del J:\Recycled\ctfmon.exe
attrib -s -h -r "C:\Documents and Settings\Administrator\Start Menu\Programs\Startup\ctfmon.exe"
del "C:\Documents and Settings\Administrator\Start Menu\Programs\Startup\ctfmon.exe"
tskill explorer
explorer
pause[BAT] :: Remove autorun.inf - dnstuff - 09-15-2011 Remove autorun.inf virus from drives using notepad Most of the people have autorun issues with their flash/hard drives it is because of the modification of the autorun.inf file in the root directory which is in most cases hidden and cant be seen so you just have to create a bat file with the following syntax as mentioned below Copy and paste this into Notepad and save it as antivirus.bat or whatever.bat (any name u like) Code: tskill ctfmon
attrib -s -h -r c:\autorun.inf
attrib -s -h -r D:\autorun.inf
attrib -s -h -r E:\autorun.inf
attrib -s -h -r F:\autorun.inf
attrib -s -h -r G:\autorun.inf
attrib -s -h -r H:\autorun.inf
attrib -s -h -r I:\autorun.inf
attrib -s -h -r J:\autorun.inf
del c:\autorun.inf
del d:\autorun.inf
del e:\autorun.inf
del f:\autorun.inf
del g:\autorun.inf
del h:\autorun.inf
del I:\autorun.inf
del J:\autorun.inf
attrib -s -h -r c:\Recycled\ctfmon.exe
attrib -s -h -r D:\Recycled\ctfmon.exe
attrib -s -h -r E:\Recycled\ctfmon.exe
attrib -s -h -r F:\Recycled\ctfmon.exe
attrib -s -h -r G:\Recycled\ctfmon.exe
attrib -s -h -r H:\Recycled\ctfmon.exe
attrib -s -h -r I:\Recycled\ctfmon.exe
attrib -s -h -r J:\Recycled\ctfmon.exe
del c:\Recycled\ctfmon.exe
del D:\Recycled\ctfmon.exe
del E:\Recycled\ctfmon.exe
del F:\Recycled\ctfmon.exe
del G:\Recycled\ctfmon.exe
del H:\Recycled\ctfmon.exe
del I:\Recycled\ctfmon.exe
del J:\Recycled\ctfmon.exe
attrib -s -h -r "C:\Documents and Settings\Administrator\Start Menu\Programs\Startup\ctfmon.exe"
del "C:\Documents and Settings\Administrator\Start Menu\Programs\Startup\ctfmon.exe"
tskill explorer
explorer
pauseRE: [BAT] :: Remove autorun.inf - JuiceKing - 10-16-2011 Somebody try this? If somebody try this tell me if it work... RE: [BAT] :: Remove autorun.inf - dnstuff - 10-17-2011 (10-16-2011, 06:45 PM)JuiceKing Wrote: If somebody try this tell me if it work... Why shouldn it work actually ? RE: [BAT] :: Remove autorun.inf - JuiceKing - 10-19-2011 (10-17-2011, 06:11 PM)dnstuff Wrote:(10-16-2011, 06:45 PM)JuiceKing Wrote: If somebody try this tell me if it work... I don't understand why you add a code to kill ctfmon and explorer? o.O Do you try this on your computer? RE: [BAT] :: Remove autorun.inf - Kitara - 10-20-2011 I think ctfmon is MS office file. And it has not effect by autorun then dont need to del it ^_^ RE: [BAT] :: Remove autorun.inf - JuiceKing - 10-20-2011 Read this here: http://www.neuber.com/taskmanager/process/ctfmon.exe.html Like a Kitara say: "And it has not effect by autorun then dont need to del it". Why you add code to del a ctfmon? o.O This is your code or you copy this? |