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

Remove Shortcut Virus From Pen Drive & SD Card Using Command Prompt

This document provides instructions for removing shortcut virus files from a USB drive or SD card using the command prompt in Windows. It instructs the user to open the command prompt as an administrator and run the "attrib" command followed by the drive letter to change shortcut files back to normal. It also provides tips for avoiding shortcut viruses such as always scanning drives before opening them and keeping antivirus software up to date. Additional sections provide instructions for fixing issues with drives not showing up in Windows and removing write protection from a USB drive.
Copyright
© © All Rights Reserved
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
59 views

Remove Shortcut Virus From Pen Drive & SD Card Using Command Prompt

This document provides instructions for removing shortcut virus files from a USB drive or SD card using the command prompt in Windows. It instructs the user to open the command prompt as an administrator and run the "attrib" command followed by the drive letter to change shortcut files back to normal. It also provides tips for avoiding shortcut viruses such as always scanning drives before opening them and keeping antivirus software up to date. Additional sections provide instructions for fixing issues with drives not showing up in Windows and removing write protection from a USB drive.
Copyright
© © All Rights Reserved
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 14

Remove Shortcut Virus From Pen Drive & SD

Card
Using command prompt
Open Command prompt as Administrator (Windows 7 or earlier:
Windows key + R > Type CMD & ENTER, Windows 8: Search for
“CMD” > Right click to CMD and Select “Run as Administrator” or
right click overStart button and select “command prompt (Admin) “)
Type in Command prompt :  attrib -h -r -s /s /d <Your USB drive
letter>:\*.* (See <Your USB drive letter> from My computer and
then type it For ex, if your drive letter is “D” then the command is
like: ” attrib -h -r -s /s /d D:\*.* “)

Now your Shortcut files again convert to normal files. Delete


unknown files from your storage aftercommand process
completes. I highly recommend you to after removing shortcut
virus copy your USB data to your computer > Format the USB
storage > Then again re-copy USB data back.
Tips For avoiding Shortcut Virus:
1. Don’t open USB before scanning
2. Don’t connect your storages to those computers who don’t have
Antivirus Program
3. Avoid third party software’s
4. Keep up to date your antivirus program
5. Run boot time scans once in 2-3 weeks
6. Don’t open harmed websites
How to Fix Pen drive is Detected but Not
Showing in My Computer Problem
1) Click on Start button and then open run prompt.
2. Type compmgmt.msc,  in run prompt and press enter. A computer
management window will open. 
3. Now Select "Disk Management" from Left hand menu, Disk
management options will appear at right side of pane.
4) In disk management options, you will see some drives including
your pen drive or external HDD. Now right click on your pen drive and
select “Change Drive letter and paths” from the right click menu. A
small window will pop-up.
5) Now click on “Change” to assign a new drive letter to your pen drive.
One thing to notice here is always assign the name which is not already
being used by any other drive. Once done, pen drive will start
appearing in my computer. If not, then reboot your computer.
How to Remove Write Protection from Pen Drive
1) Insert your pen drive into your computer, click on start menu, then
open run prompt and Type Regedit, in run prompt and press enter.
This will open registry editor on your computer.
3) Now in registry editor, Navigate to
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\StorageDevicePolicies
4) once done, Double click on the key "WriteProtect" in the right pane
and set the value of “Value Data” section to 0. And then press ok.

5) Now exit registry editor and restart your computer.

You have successfully removed the write protection from pen


drive. Any queries or comments regarding this article, would be
appreciated. 

You might also like