USB VIRUS REMOVER SCRIPT

IT TECHNICIAN USB VIRUS REMOVER SCRIPT

Here is a USB Virus Remover Script commonly used by IT technicians to remove shortcut virus, autorun virus, and hidden files from a USB drive in Microsoft Windows.
This script is useful when a flash drive shows only shortcuts or empty folders after infection.

πŸ”§ USB VIRUS REMOVER SCRIPT (.BAT)
Save as usb_virus_remover.bat
Bat
Copy code;

@echo off
color 0A
title ANIK USB Virus Remover Tool

echo =====================================
echo ANIK USB Virus Remover Tool
echo =====================================
echo.

set /p drive=Enter USB Drive Letter (Example: E):
echo.

echo Scanning Drive %drive%...
cd /d %drive%:\

echo Removing shortcut virus...
del *.lnk

echo Removing autorun virus...
del autorun.inf

echo Restoring hidden files and folders...
attrib -h -r -s /s /d *.*

echo Cleaning recycle bin virus...
rd /s /q %drive%:\RECYCLER
rd /s /q %drive%:\$Recycle.Bin

echo Scan Completed!
echo Your files should now be visible.

pause


⚙️ WHAT THIS SCRIPT DOES
πŸ›  Removes shortcut virus (.lnk files)
πŸ›  Deletes autorun.inf virus
πŸ›  Restores hidden files and folders
πŸ›  Removes recycler malware folders
πŸ›  Makes original files visible again

πŸ’» HOW IT TECHNICIANS USE IT
1️⃣ Plug in the infected USB flash drive
2️⃣ Copy the script to the computer
3️⃣ Run usb_virus_remover.bat
4️⃣ Enter the USB drive letter (example: E)
5️⃣ The script removes the virus and restores files

⚠️ IMPORTANT TIPS
• Always scan the USB afterward using antivirus like
Microsoft Defender Antivirus
Avast Antivirus
Bitdefender Antivirus
• Avoid plugging infected USB into other computers.

Related Posts

Subscribe Our Newsletter

0 Comments to " USB VIRUS REMOVER SCRIPT"

Post a Comment