Windows computers are prone to viruses and malwares. One of the most common virus in Windows PC is shortcut virus, which gets easily transferred in removable devices like Pen drives and infect computers. Have you ever wondered how you can permanently remove shortcut virus from PC or Pen drive to fix your computer ? Today am going to share a tutorial to remove shortcut viruses permanently.
Usually when a PC or pen drive is infected by malicious shortcut viruses then almost all files and folders get changed into shortcut files and original ones get hidden. This is really very frustrating you can even loose your important files if your system in infected.
Shortcut virus spreads from one computer to another through pendrives,flash drives, memory cards exchanges or through internet/Bluetooth connections and get viral .
The most common worm found in removable drives is autorun.inf which keeps on multiplying and infect your system by creating unlimited shortcuts of files and folders.
I believe you must have ever faced this weird situation when all of your files are converted into shortcuts and you don’t have any chance to recover your files. Right ? Even I came across this situation when I had no option to remove shortcut virus, then I researched about it on the internet and luckily found working ways which worked like charm.
Today I am going to share with you how you can recover your windows PC, pendrive and laptop from harmful shortcut viruses.
Types Of Shortcut Virus
There are two kinds of shortcut virus in windows which windows users generally come across.
-
File and Folder Shortcut Virus
This shortcut virus is common for most of the windows users who don’t upgrade their antivirus programs for some reason or if they are not using them.

Files and folder shortcut virus has a tendency to replicate all of your files and folders in your pendrive or PC/Laptop in to shortcuts and make your original folder and files hidden and not accessible.This shortcut virus can lead you into serious problems as it does not leave any way to open your original files by clicking on the shortcuts.
It is not suggested to click on any of the shortcut file and folder because as soon as you will click on it, the virus may start duplicating itself to its multiples by executing malicious scrips in the background that can steal your confidential data as well.
-
Pen drive Shortcut Virus
Pen drive, memory cards or flash drive shortcut virus are trojan and can cause a very serious harm with your computer. It is always advisable to use updated antivirus in your PC.It appends each file and folder in your removable devices and put them in one hidden folder and creates a shortcut executable file (.exe) of your removable drive with the same icon and name.
It will leave no other option other than clicking on it and once you will click on it, it will execute malicious programs in your PC to steal your personal information and to spy your activities.
Ways To Remove Shortcut Virus Permanently
-
Removing Shortcut Virus Using CMD Method (Command Prompt)
If you do not wish to install any other shortcut virus remover application , then you can simply remove shortcut virus from your PC/laptop or pendrive by using a command prompt (CMD). Even if you are a non-techy person then also you can easily remove shortcut virus from your pendrive or PC by following the CMD tutorial.
Steps To Delete Shortcut Virus By Using CMD:
- Open command prompt (CMD). (Go to Run >> type CMD >> Hit enter )
- Type the drive letter of your removable device and a colon after it and hit enter. (Eg: g:)
- Now type: attrib g:*.* /d /s -h -r -s . (Replace g: with the drive name of your drive)
- Hit enter.

-
Deleting Shortcut Virus Using Shortcut Virus Removal Tool
If you do not want to waste your time in commands or you are not a tech savvy guy, then you still have option to remove shortcut virus by using software that will eliminate virus on the go. I have personally tried this tool and it worked like charm . It will automatically removes all shortcut files and folders and recover your original files and folders and it will not even ask you to do something manually. It is the quickest and easiest way to delete shortcut virus from your pendrive, computer or laptop.
- Download the tool from the below link. It is less than 1 MB
- This is a click-to-run application and does not need installation. Once the downloading is completed, open it and select any one option from “Pen drive” or Computer.
- Now you need to choose the drive which is infected and from which the shortcut virus needs to be eliminated and then hit scan button.
- It will automatically detects for the shortcut virus within seconds and will give you an option to select all and delete the viruses in one click.
-
Shortcut Virus Removal With BAT File [Batch File]
Have you ever heard about batch file(.BAT) programming ? If no then there is no need to worry as I have mentioned simple steps to remove shortcut virus from your PC by creating a BAT file and executing it. You do not need any extra tools to create a BAT file but just a Windows machine and notepad. This method is not very popular, however if the above two methods that I have mentioned does not work then you can give a try by using this method to remove shortcut virus from your PC or pendrive/memory card.
- Open Notepad from your computer/laptop.
- Type or copy the below code as it is on notepad.
@echo off attrib -h -s -r -a /s /d Drive:*.* attrib -h -s -r -a /s /d Drive:*.* attrib -h -s -r -a /s /d Drive:*.* @echo complete
- Make sure to replace Drive with your drive name. Eg: F:
- Now click on Save As… by clicking on File tab in notepad and change the save as type to “All files(*.*)” from “Text documents” and rename it to removeshortcutvirus.bat and save it on your desktop.
- Now close notepad and go to desktop and double click on the BAT file that you have just created.
- All shortcut viruses from the respective drive will now be removed in couple of seconds and your original files will be back. Enjoy.
-
Remove Shortcut Virus By Tweaking Registry Files [Method 4]
It is one of the most simple ways to fix your computer infected by shortcut virus as you do not need to download any third party tool to try out this method but this method is only recommended only if you know what you are doing otherwise it is not suggested to use this method because it may screw your system also if anything goes wrong.
- Open the Task Manager by pressing Ctrl + Shift + Esc ,or you can also open it by a doing a Right Click on your Taskbar and then clicking on “Open Task Manager“.
- In the Processes tab, scroll down to find something like wscript.exe . Click on it and click End Processes.
- Open Run by pressing Win+R keys and then type regedit and hit Enter. This will open the Registry Editor.
- In the top left pane of registry editor, navigate to HKEY_CURRENT_USER/Software/Microsoft/Windows/CurrentVersion/Run
- Try to Look for the registry key odwcamszas , just right click on it and delete it.
Please note that there are chances that even after following the above mentioned steps correctly, you might not find the specified registry key if your system is highly infected, so in that case you can skip this method.
Tips To Prevent Shortcut Viruses In Future
Prevention is always better than the cure. Its highly recommended to take few precautions to keep your computer away from any kind of shortcut virus or trojans. You should always use updated antivirus and firewalls to keep virus away from your PC. We have listed down the points below that you need to follow always to make your computer virus free.
- Always keep your antivirus up to date.
- Make sure you are only opening any removable disk after scanning.
- If you do not have any antivirus, then keep your Bluetooth turned off.
- Avoid plugging-in any USB drive if your antivirus is not updated.
- Keep running boot scans once in two-three weeks.
- Avoid opening any file/folder by double clicking on it because many malicious scripts hidden in a file or folder gets executed only when someone double clicks on them. To be on a safer side, open a folder/file by doing a right click on it and then click on open.
Recommended:



Its really helpful…
using command, it say
access denied. And can’t remove virus using notepad
so now what I do
try admin
same problem even though i ran cmd as administrator
the same happened to me just seconds ago but I tried twice and waited for a bit of time . The data recovered in a folder with no name in the usb
This is really very useful sharing. I tried this. It is working. Thank you.
Thanks for help me
When i connected my pendrive to my laptop the drive icon is showing as shortcut.but none of the files and folders are affected.that is all the files are under this shortcut .when i clicked that shortcut ican access my files.the problem is that all the files gone to under a single shortcut.when i open the properties window by right clicking it it shows target location as rundll.exe in system 32.how to solve this
Hey Rajat,
I like to say thanks from the bottom of my heart to you Rajat for sharing this post. I’m facing this problem from many days but didn’t get the solution, but the guide you have shared is really worked for me.
Thanks again for solving my problem.
Keep sharing 🙂
– Alexa
Above written process might be helpful but I think best way to remove it is installing Microsoft security essential because I have removed many time its my personal experience thanks for above idea I will try your ideaa
Hey Rajat,
An impressive and interesting information to how removed Shortcut Virus From Pendrive Quickly, A very innovative ideas to shared with us, it’s instant worked whenever I used.
But I’ve a more idea’s remove of its very easily:
1. Tweaking Config
2. Download Shortcut Virus Remover
3. Steps to Use Kill Amvo VBScript File
Thanks for sharing a Shortest way to remove Virus and great effort or enjoyed to reading this article. Thumb’s up.. 🙂
What name of virus you know?
That hide folder and create shortcut.
Thank you
Thanks for this syntax
soo help full
Thank geee
Hello,
Can you provide any solution to remove the virus after I have already clicked on the shortcut.. It seems that the virus has infected my system and as soon as I connect any pen drive, it becomes a shortcut. Please reply asap.
Akanksha
thank you
Hello
I have tried above procedure. but the cmd shows as Access Denied : F: [email protected] .. and also virus not removed from my lap. virus name is Movie.bat file. PLease help me to completely remove my computer.
Hello
I have tried above procedure. but the cmd shows as Access Denied : F: [email protected] .. and also virus not removed from my lap. virus name is Movie.bat file. PLease help me to completely remove my computer.
Wow great work on this post dear,i easily safe my pendrive from virus ,Thank you so much dear for this informative post.I am going to bookmark this site.
Hi Rajat
Thank you for this post, I was able to fix the problem by using method 3.
You saved me a lot of time 🙂
am having movie.bat virus in local disk D and E. and evrytime i found a cmd prompt window with title [email protected]=VIRUS inside that it contains press any key to continue… and if i press any key means it will close. when i tried to find its location it says system32/cmd.exe. i also checked startup. i cannot delete it. suggest me a solution or any antivirus for this
Thank You Rajat. I really appreciate your help.. It was a headache to me.. Now its done. Really Thanks.. 😉
My micromicrosoft windows version is 6.1.7600
I am trouble from shortcut virus.How to delete this virus.plz help me
great yaarrr. it realy help me thnx alot 🙂
great … it really works thnxx aott 🙂
Nice explanation.All methods are working well thank you very much bro.
Thankyou Rajat i have tried to remove shortcuts from my flash and it has worked out..# i used method 2
Thanks Rajat, I’d opted method 1 and it worked!!!
The notepad version worked.. Thanks a tonne
Thanks. It really worked for me and saved my important data.
frndz when i connect any pen drive to my pc it will creat a shortcut virus what can i do????
very helpful sharing.keep sharing.
THANKS METHOD 3 WORKED FOR ME
I tried using cmd and bat file which is metgid 1 n 3.
In case of method 1, it seemed to work at first. The shortcut is gone and i can see my datas. I deleted unnecessary files like he explained. Everything seemed alright but i tried ejecting the flash drive and plugging it again and thus here comes the problem again, the same problem which is very irritating. I dnt how it works for u people, but for me it simply doesn’t work on that method.
In case of method 3, i created the file save as exactly as he told and nothing happen. That’s it! Nothing happened!!
My folders dis not come back as usual huhuhu whyyyy i used the second method (bat) helpppp meee
thanx thanx thanx it worked for me this website is awesome
I tried. But movies short cut folder is still there
how can i remove the shortcut folder
download a software called HFV, google it, worked for me
Thank you very much for the solution. really very helpful trick.
Thanks. The first in command prompt worked really well to remove shortcut from pd
its really working ,got viruas from my friend pc.
tq…. its really working using notepad….
good tips
very good .. thank you very much.. keep it up..
Very useful
I am able to restore my files back
Thanku so much
Thanks you for this help,,,,
best….. keep it up…….
thanks it works
Also add Del *.lnk /s to batch script
thanq method 3 really worked
THANK YOU SO MUCH. It says “ACCESS DENIED” But when I checked my drive, all my files are copied in one folder and it worked properly without those shortcut files. Thank you 🙂