Remove Shortcut Virus In USB Following These Steps To Protect Your Computer

SachinSangwan - Oct 07, 2019


Remove Shortcut Virus In USB Following These Steps To Protect Your Computer

When a USB flash drive infected with a virus makes its way to your computer, it'll be activated thanks to AutoRun, a built-in function in Windows.

Basically, a virus can enter from anywhere in your PC, like from the removable storage device. When a USB flash drive infected with a virus makes its way to your computer, it'll be activated thanks to AutoRun, a built-in function in Windows.

Luckily, you can disable this feature. Through this article, you'll learn how to get rid of the shortcut virus through the command prompt as well as to safeguard your PC from attacks in the future.

remove-shortcut-virus-in-usb-1

How does a Shortcut Virus function?

Unluckily, some bad people had abused the AutoRun feature by attaching a virus from USB to autorun.inf so that they will launch simultaneously, meaning as soon as you plug your USB to the computer, you install a virus.

The impact of the virus is dependent on what it's programmed to do. Some viruses add a keylogger to the system, allowing fraudsters to track your keystrokes so they can hack personal info such as banking information and passwords.

How to disable the AutoRun

AutoRun is an amazing feature, but it's best to disable it if you want to avoid attacks from infected autorun.inf files.

Now, follow these steps to disable the AutoRun in your Windows computer:

remove-shortcut-virus-in-usb-2

  1. Visit Settings, or you can use the shortcut key "Windows + I." Then, go to 'Devices' and then 'AutoPlay.'
  2. Switch off AutoPlay.

remove-shortcut-virus-in-usb-3

Note that you also have the option to use the drop-down menu for selecting default action when any external device is inserted.

To delete the 'autorun.inf' file

In case you think that your USB drive is affected with a virus, delete autorun.inf file. This will block the virus from getting launched.

Using CMD

Follow the steps below to remove the file by running the command prompt, aka CMD.

Step 1. Launch Run. Type in 'CMD' for opening the Command Prompt.

Step 2. Enter USB drive letter (for instance, "F:" or "G:" without quotation marks). Press 'Enter'.

remove-shortcut-virus-in-usb-4

Step 3. Type in command line ATTRIBUTE -H -R -S AUTORUN.INF and press 'Enter.'

Step 4. Type DEL AUTORUN.INF then press Enter.

Using the Windows Explorer

Here's how to delete autorun.inf file by using the Windows Explorer.

Step 1. Launch the Windows Explorer (or press Windows + E).

Step 2. Launch the USB drive, which can be found on the left side pane, then you will see the USB's content.

Step 3. From the list, choose autorun.inf. Press the Delete button.

remove-shortcut-virus-in-usb-5

It's worth noting that typically, autorun.inf is a hidden file. Ensure that the "Show Hidden Files" option is enabled. If it is not enabled, then go to 'View' and tick the 'Hidden Items' for enabling it.

The computer should remain safe from the malicious virus by deleting autorun.inf file via either method. However, you're recommended to use antivirus software for scanning the USB flash drive to detect malware immediately after the process as an additional security measure.

Tags

Comments

Sort by Newest | Popular

Next Story

Read more

Donald Trump's Ads Set To Invade YouTube Homepage In November

Features- Feb 24, 2020

Donald Trump's Ads Set To Invade YouTube Homepage In November

These ads look like "political manipulation", but they're not illegal.

OPPO A31 With Triple Cameras Will Reportedly Launch In India Next Week

Mobile- Feb 23, 2020

OPPO A31 With Triple Cameras Will Reportedly Launch In India Next Week

The OPPO A31 will be positioned in the budget segment with triple rear cameras, 6.5-inch HD+ display, and 4,230 mAh battery.

Sony Xperia 1 II Launched: Snapdragon 865 & Advanced Quad Rear Cameras

Mobile- Feb 24, 2020

Sony Xperia 1 II Launched: Snapdragon 865 & Advanced Quad Rear Cameras

The Sony Xperia 1 II arrives with more advanced quad rear camera setup, more powerful performance with a Snapdragon 865 SoC, and multiple advanced features.

How To Download Photos From Apple's iCloud To Mac

How To- Feb 24, 2020

How To Download Photos From Apple's iCloud To Mac

Here's how you can get backed-up photos directly on your Mac.

India's Silicon Valley Puts The Work On Hold Due To H1N1 Virus

Features- Feb 22, 2020

India's Silicon Valley Puts The Work On Hold Due To H1N1 Virus

The temporary closing follows two SAP employees being exposed to the H1N1 virus.

AI-Powered Dummies To Help Fight Crimes In Bengaluru

Features- Feb 22, 2020

AI-Powered Dummies To Help Fight Crimes In Bengaluru

As stated by Bhaskar Rao, the Police Commissioner of Bengaluru, the Police force would have cameras fixed on mannequins with facial recognition software