A very large number of computers are affected by the USB viruses when plugged in. Not all viruses can be deleted totally even by the top antivirus software. Antivirus software may detect the virus but can’t delete it from USB drive. One such frustrating virus is well known ‘shortcut virus’. When ever the USB affected with shortcut virus, every piece of data in it is shown as shortcut and it will not be opened. In case if it opens, it affects the system also there by spreading the virus to every USB plugged in to it.
Where has the data gone?
The data will exits in your USB drive. DO NOT FORMAT THE DRIVE AT ANY COST, YOU NEVER BE ABLE TO GET YOUR DATA BACK. Shortcut virus is considered as prank played to frighten people by showing useless shortcuts instead of data. Actually, the data is hidden in the drive, We’ll just have to unhide the data. Let’s take a look the following process to unhide the data using command prompt.
Recovering Data
Recovering the data is the hard part when it comes to shortcut virus. You may think using a data recovery software, you can easily bring back your data from your drive. You may bring your data back until there is data detected by the recovery software. Probably it can’t.
Follow this procedure I have come across in recovering the data without any harm to it from the affected USB drive.
Step 1: Press ‘Windows button + R’. This will bring up the ‘run’ command prompt. Type ‘cmd’ and press ‘Enter’. ‘Command prompt’ will be opened.
Step 2: Carefully type attrib -h -r -s /s /d j:\*.* and press ‘Enter’. ( ‘j’ is my USB drive in my case).
Or else, type j: and press ‘Enter’. (remember ‘j’ is USB drive here). You will enter in to your USB drive. Now type the following attrib -h -r -s /s /d *.*
Step 3: Then open your USB drive. You may find the shortcuts separated from the original data. Copy your data and save it another location in your hard drive or desktop.
Step 4: Check you data once if you could recover the entire or only some of it.
You’re done!
What happened in command prompt?
The command prompt isn’t a wizard to do this which your best ant viruses can’t. It is the hidden feature of windows family. The ‘attrib’ is the attribute command which is used to add or remove attributes to a files in a drive or folder. The parameters
-h removes the hidden attribute for the files.
-r removes the read-only attribute for the files.
-s removes the system file attribute.
/S processes matching files in the current folder and sub folders.
/D processes folders as well.
j:\*.* refers all files with all extensions from the USB drive.
By the way, Congratulations for recovering your data! Comment your thanks if you like this post!
thank you sooo much you are a life saver
ReplyDeleteYou are welcome Dani :)
ReplyDeletethank you :)))))) superb !
ReplyDeleteYou are welcome Grace!! Thanks for visiting!
ReplyDeletethnx you....
ReplyDeleteYou're welcome. Subscribe to us for more such tricks
ReplyDeletethanks alot
ReplyDeleteYou're welcome. Subscribe to us for more such tricks
Deletethnx bro for the help its really work...
ReplyDeletewelcome :-)
ReplyDeleteThanks alot
ReplyDeleteYou're welcome. Please subscribe to us for more useful updates
ReplyDeleteI followed the command attrib-h-r-s/s/dg:\*.* as you suggested but it return with either 'Invalid switch' or 'not recognized as internal or external command, operable program or batch file. DO I have to space between some of the characters?
ReplyDeleteYesh, space exists between each and every charachter
ReplyDeletePost a Comment