How to fix Pendrive shortcut virus using CMD 2022 | Remove shortcut virus with CMD

How to fix Pendrive shortcut virus using CMD 2022 | Remove shortcut virus with CMD.





Hello friends, welcome to Jukohli Technology. Today I'm going to show you the 2 easiest ways to fix the Pendrive shortcut virus.


Procedure:1 (Fix pen drive using CMD)  

 

1. Go to command prompt (cmd) and Run as administrator 

 

2. Type E: and hit Enter. 

 

(Note: Here E: is my drive letter. You must replace that with the drive letter of your infected device.)

 

3. Then type del *.lnk and hit Enter.

 

4. Finally type attrib -s -r -h *.* /s /d /l  and hit Enter.

 


It will remove all the shortcut viruses from your Pendrive.



Procedure:2 (Fix pen drive using BAT file)



  1.  At first, Copy the following code and paste it into a Notepad file:

@echo off

  1. del *.lnk

  2. attrib -s -r -h E:\*.* /s /d /l

@echo complete


Note: Here E: is my drive letter. You must replace that with the drive letter of your infected device.


  1. Save the file on the desktop and change the file extension .txt to .bat


  1. Double click on the .bat file to run. 


It will remove all the shortcut viruses from your Pendrive





I hope it helps you. Let me know how it felt by comment. Don’t forget to share it with your friends. You can subscribe to my channel to get more videos like this.




.






Post a Comment (0)
Previous Post Next Post