How to Remove Viruses and Create Shortcuts on Windows

If you insert a USB or SD memory card into your computer and discover that there is no more data or only shortcuts, it is likely that your storage device is infected with a virus. Luckily, your files are still there, just hidden. With just a few commands and free tools, you'll be able to restore data and remove viruses from your drive and computer.

Fix drive errors

Picture 1 of How to Remove Viruses and Create Shortcuts on Windows

Plug the faulty USB into the computer. When data on USB is turned into a shortcut, the actual file remains in a hidden location. This process will help you restore and see your files again.

Do not open any shortcuts on the USB as it may spread viruses.

Picture 2 of How to Remove Viruses and Create Shortcuts on Windows

Determine the letter name of the USB drive. You need to know the letter name of the USB drive or memory card that is infected with the virus. The fastest way is to open the "Computer"/"This PC" window. The USB drive's letter name will appear next to the drive label.

Press ⊞ Win+ Eto open the window on all versions of Windows.

Click the folder-shaped button in the taskbar to open the window.

Click "Computer" in the Start menu if you use Windows 7 or Vista.

Picture 3 of How to Remove Viruses and Create Shortcuts on Windows

Open Command Prompt. You will execute a few quick commands on the Command Prompt to fix the failed drive. The process of opening Command Prompt depends on the version of Windows you are using:

On all versions – Press ⊞ Win+ Rand type "cmd" to run Command Prompt.

Windows 8 and later – Right-click the Windows button and select "Command Prompt."

Windows 7 earlier – Open the Start menu and select "Command Prompt."

Picture 4 of How to Remove Viruses and Create Shortcuts on Windows

Type . and press . Replace with the letter of the USB drive name. For example, if the USB is in drive E, type and press .attrib -h -r -s /s /d X:*.* ↵ EnterXattrib -h -r -s /s /d E:*.*↵ Enter

The command will unhide the file, remove the read-only attribute, and remove the shortcuts.

This process takes a while, depending on the amount of data on the USB.

Picture 5 of How to Remove Viruses and Create Shortcuts on Windows

Open the unnamed folder just created on the USB. This folder contains all data previously hidden by the virus.

Picture 6 of How to Remove Viruses and Create Shortcuts on Windows

Copy the recovered data to a safe location on the computer. This is a temporary location while you clean up your drive, you can create a folder on your desktop to store files. Simply drag files from the USB and drop them into the folder of your choice.

It will take a while if the data volume is large.

Picture 7 of How to Remove Viruses and Create Shortcuts on Windows

Right-click the drive in "Computer"/"This PC" and select "Format". The Format window will open.

The reformatting process will wipe the drive, so make sure you copy all the data on the USB.

Picture 8 of How to Remove Viruses and Create Shortcuts on Windows

Uncheck "Quick Format" and click "Start." When "Quick Format" is unchecked, the computer will scan and remove intrusions on the USB. This process will take a while.

Scan your computer

Picture 9 of How to Remove Viruses and Create Shortcuts on Windows

Download some UsbFix launchers. This is a free program that can scan and eliminate most common intrusions. You can download it for free atfosshub.com/UsbFix.html.

Click the "Research" button after running UsbFix. The USB drive will start scanning.

Click the "Clean" button after the scan is complete. Any problems that UsbFix detects will be repaired.

Picture 10 of How to Remove Viruses and Create Shortcuts on Windows

Make sure your anti-virus program is up to date. If the drive is compromised while connected to the computer, the computer may also be infected with a virus. First you need to check if your anti-virus program is up to date. You can do this by right-clicking on the antivirus icon and selecting "Check for Updates".

If you don't have an anti-virus program, you need to install it immediately. Famous free software includes Avast!, Bit Defender and Windows Defender.

If your USB becomes infected with a virus after plugging it into another computer, you should let that computer's user know that your drive has been compromised.

Picture 11 of How to Remove Viruses and Create Shortcuts on Windows

Run a scan with an anti-virus program. After updating or installing your anti-virus program, run a scan on your computer. This is especially important if you do not periodically scan your computer.

Picture 12 of How to Remove Viruses and Create Shortcuts on Windows

Download and install Malwarebytes Anti-Malware. The free version of this program can detect and remove many common viruses. You can download it for free atmalwarebytes.org.

Select a free certificate during installation.

Picture 13 of How to Remove Viruses and Create Shortcuts on Windows

Run Anti-Malware and install updates (if available). You will be prompted to check for updates the first time Anti-Malware runs. Download and install any available updates before starting a scan.

Picture 14 of How to Remove Viruses and Create Shortcuts on Windows

Start scanning with Anti-Malware. The process takes 20-30 minutes.

Picture 15 of How to Remove Viruses and Create Shortcuts on Windows

Click "Quarantine All" when scanning is complete. Infected files found by the software will be deleted.

Update 23 June 2024
Category

System

Mac OS X

Hardware

Game

Tech info

Technology

Science

Life

Application

Electric

Program

Mobile