![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEigpu9twAhyphenhypheny4PGnKRPZOaLAPLdWRN0RQ4mvFoWZEjXPjzVnS2NcBhwieGBNdH5ciWhZGIngO__3KVVS7RtT5C1zxufyD5i6kBHHsEXsFohy4nnMIfF7bi_G644162aj4Qo5EZ8Yw-iwMY/s1600/Remove-Shortcut-Virus-600x303_zpsbe9a406a.png)
Here’s a trick to remove all your viruses. Follow the steps given below to remove viruses using cmd ( command prompt )
Let's look how to do it
How to remove autorun.inf virus using cmd ?
Steps1. Press ( Start or winkey ) -> Run -> cmd.
2. If you are at the root directory ( C drive ) then do the following, else give cd.. and come to the root C:> and do the following.
3. Type in attrib -h -r -s autorun.inf without brackets and press Enter.
4. Type del autorun.inf without brackets and press Enter.
5. Follow this for all other drives.
How to remove Shortcut virus using cmd ?
This shortcut virus replicates your files and folders, hide and replace it with shortcuts.exe. This is a combination of Trojan and Worm. The bad thing about this shortcut virus, it will leave you no options but to click it in order to open your files and folders. Then after executing it, the virus starts to duplicate itself and started destroying your valuable data.
Let's look how to remove it
To disable Auto Run functionality in Windows, do the following:
1. Go to Run –> gpedit.msc. This will open the Group Policy Editor.
2. Navigate to Computer Configuration –> Administrative Templates –> Windows Components – > AutoPlay Policies
3. In the right hand pane, enable “Turn off Autoplay” setting.
This will prevent Windows from automatically using autorun.inf file in the USB drive.
Step
1. Go to Start -> Run -> cmd.
2. Go to your pen drive directory.
3. Type this command: del *.lnk and press Enter.
4. Type attrib -h -r -s /s /d e:*.*
5. And then press a gentle Enter.
No comments:
Post a Comment