How may a computer virus be prevented by using a USB cable?

When copying files from one computer to another, USB cables are frequently utilized. The infected gadget may be infected in this instance. The virus enters the computer as soon as the USB cable is attached to it.

By activating “Turn Off Autoplay” on your computer, you can prevent this malware from infecting your machine. To begin, enter Windows + R, then type gpedit.msc into the box and hit Enter. When you’re finished,

All Settings should be selected. The file will appear on the screen. Find the option to turn off autoplay. To quickly locate it, press the T key on your keyboard. Select Enabled and restart your computer to prevent viruses from easily infiltrating your system.