Darshan Tech Solution

Back

Darshan Tech Solution

Remove Shortcut Virus Using Command Prompt

YouTube Video

How to Remove Shortcut Virus without any software

When all files and folders in a pen drive turn into shortcut files or appear missing, it indicates that the pen drive is affected by a shortcut virus

Follow the below steps to clear the Shortcut Virus

1. Open Command Prompt

2. Go to the Pendrive colon (Ex: F: or G:)

3. Type the following commands

  • F:
  • (Verify your drive colon)

  • del *.lnk
  • (Delete the link files)

  • attrib -h -r -s /s /d F:\*.*
  • (Each single space and replace F with your Pendrive Colon)

    Explanation

    • -h : Removes the hidden files & folders
    • -r : Removes the read-only status of files & folders
    • -s : Removes the system file status of files & folders
    • /s : The command again and again apply to all the files & folders in current directory as well as device
    • /d : Makes the command apply to all folders
    • *.* : All files name and folder name should be considered a match
  • After executing this command shortcut virus will be removed
  • Watch on You Tube

Follow on my Social Media