@echo off
Echo Utilidad para eliminar virus de carpetas
Echo Desarrollado en CUjAE
Echo (20/02/2007)
echo Actualizado v 0.1
Echo postmaster@ind.cujae.edu.cu
Echo Licencia GNU

taskkill /f /im Win2x.exe
ATTRIB -R -H -S -A %SystemRoot%\System32\Win2x.EXE
ATTRIB -R -H -S -A %SystemRoot%\System32\save.EXE
DEL /F /Q /A -R -H -S -A %SystemRoot%\System32\win2x.EXE
DEL /F /Q /A -R -H -S -A %SystemRoot%\System32\save.EXE
sc config spooler binPath= "C:\WINDOWS\system32\spoolsv.exe"
sc start spooler

reg delete "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run" /v Win2x /f
reg delete "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run" /v save /f

Echo habilitar ficheros ocultos
reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v Hidden /t REG_DWORD /d "00000001" /f
Echo mostrar carpetas y ficheros del sistema
reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v ShowSuperHidden /t REG_DWORD /d "00000001" /f
Echo habilitar el taskmanager
reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\System" /v DisableTaskmgr /t REG_DWORD /d "00000000" /f
habilitar el regedit
reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\System" /v DisableRegistryTools /t REG_DWORD /d "00000000" /f
Echo habilitar las opciones de carpeta
reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer" /v NoFolderOptions /t REG_DWORD /d "00000000" /f
Echo ver las extensiones de los ficheros
reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v HideFileExt /t REG_DWORD /d "00000000" /f
Echo habilitar el cmd
REG add HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows\System /v DisableCMD /t REG_DWORD /d "00000000" /f
Echo :::::::::::::::::   INFORMACION  IMPORTANTE  :::::::::::::::::::::::::::::::
Echo Ahora usted puede eliminar todas las carpetas ".exe" con tamano de 120 kb
Echo que tiene en la raiz de sus disco y en la raiz del usuario en el document and settings
:::::::::::::::::   A PARTIR DE AHORA SE DEMORA UN POCO NO SE DESESPERE ::::::::::
@pause
cd c:\
c:
attrib -h -s /D /S
attrib +h +s
d:
attrib -h -s /D /S
e:
attrib -h -s /D /S
f:
attrib -h -s /D /S
g:
attrib -h -s /D /S
h:
attrib -h -s /D /S
