0% found this document useful (0 votes)
41 views

How To Remove Virus

A USB drive can become infected with a virus that creates shortcut folders. This document provides steps to remove shortcut viruses from a USB drive using the Command Prompt in Windows. The steps are: 1) insert the infected USB drive, 2) note the drive letter, 3) open Command Prompt, 4) enter the command "attrib -h -r -s /s /d [drive letter]:\*.*" to restore files and remove shortcuts, and 5) check that the shortcuts were deleted without harming personal data.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
41 views

How To Remove Virus

A USB drive can become infected with a virus that creates shortcut folders. This document provides steps to remove shortcut viruses from a USB drive using the Command Prompt in Windows. The steps are: 1) insert the infected USB drive, 2) note the drive letter, 3) open Command Prompt, 4) enter the command "attrib -h -r -s /s /d [drive letter]:\*.*" to restore files and remove shortcuts, and 5) check that the shortcuts were deleted without harming personal data.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 10

How to Remove / Delete Shortcuts

from Your USB


0 views
1 Editor
Edited 11 weeks ago

A USB flash drive can become corrupted by a virus in the same manner as any
computer or wireless device. When a USB drive becomes infected, it will display
shortcut folders, which can be removed without harming any of your personal data or
requiring you to format the USB drive. The shortcut virus can be deleted from your USB
drive using Command Prompt on your Windows computer.

Steps

1. 1
Insert the infected USB flash drive into your Windows computer.

2.

2
Wait for your computer to recognize and read the USB drive.

3.

3
Click on Start and select Computer or My Computer.

4.

4
Take note of the drive letter displayed next to your USB drive.

5.

5
Press the Windows and R keys at the same time. This keystroke combination
will open the Run window.

Alternately, you can click on Start and select Run.

6
Type cmd into the Run window and either select OK or press Enter. The
Command Prompt application will display on-screen.

7
Type the following command into Command Prompt: attrib -h -r -s /s /d g:\*.* The
last letter in this command must be the same drive letter as your USB drive. For
example, if the drive letter of your USB drive is E, then replace the letter g in the
command with e, to result in: attrib -h -r -s /s /d e:\*.*

Make sure that spaces exist between each element in this code, as
displayed above in the example.

8
Press Enter on your keyboard to execute the command. This command will
restore all the files and folders on your USB drive while also removing the shortcut virus.

9
Reopen the Computer or My Computer window.

10
Click on your USB drive. You will now have access to your personal files and folders
and shortcuts will no longer display on your USB drive. [1]

You might also like