How to Care For Your USB from Receiving Viruses??

Reya

Reya

@reya-SMihdC Oct 26, 2024
If you desire to protect your USB from getting unwanted files like virus, worm, spy, trojan etc than you are at the exact place.

What I’m gonna tell you is that how to setup your registry to end a computer from saving files to your USB (It’ll block all of them)

If you have windows XP with SP2, then you can immobilize the writing option to USB drives. This trick is very helpful if you have virus in your computer and desire to copy files from a USB Drive but don’t desire to transfer virus to the USB. Follow the given steps to disable the USB writing option:

TO TURN ON THE DEFENCE:

Open notepad and copy and paste the following:

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINESYSTEMCurrentControlSetControlStorageDevicePolicies]

“WriteProtect”=dword:00000001

Now keep the file with the extension “.reg”.

Click on the file you presently saved. In the pop-up window chose YES and then OK.

That’s it your USB is now sheltered.


To TURN DEFENCE OFF:

open notepad,copy and paste the following:

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINESYSTEMCurrentControlSetControlStorageDevicePolicies]

“WriteProtect”=dword:00000000

Now put aside the file with the extension “.reg”.

Click on the file you presently saved. In the pop-up window click YES and then OK.

Now defense is disabled.

Replies

Welcome, guest

Join CrazyEngineers to reply, ask questions, and participate in conversations.

CrazyEngineers powered by Jatra Community Platform

  • narayana murthy

    narayana murthy

    @narayana-z4W16q Dec 11, 2010

    i think keeping an pendrive antispy in usb is a easy task than this programming
  • Deepika Bansal

    Deepika Bansal

    @deepika-jf1ysv Dec 13, 2010

    will this work for win 7 ultimate.........??
  • Deepika Bansal

    Deepika Bansal

    @deepika-jf1ysv Dec 13, 2010

    @narayana: can you please suggest any usb antispy.....??
  • Sonal Raj

    Sonal Raj

    @sonal-raj-C0qkgl Dec 13, 2010

    are there any usb antispys available for win 7 ultimate??
  • gizmotech

    gizmotech

    @gizmotech-jrU4t8 Dec 15, 2010

    To protect your system from infected pendrives, turn off the Autoplay and Autorun. Autorun automatically executes the autorun file which is usually infected with viruses. This will prevent your pen drive from auto-transmitting the viruses. After inserting the pen drive you can scan it using any anti-virus solution.
  • makru921

    makru921

    @makru921-Am65Ah Dec 15, 2010

    Microsoft security essentials is quite useful for protecting your system and the USB drive, from my experience. For genuine Windows users, it is free as well...
  • Gurjeet Singh

    Gurjeet Singh

    @gurjeet-LUX7B1 Dec 15, 2010

    for manually if you have to turn off autoplay then go to Start->Run->gpedit.msc->user configuration->Administrative template->turnoff Autoplay-> then click the radio button Enabled and select from the dropdown menu for all drives.
  • Reya

    Reya

    @reya-SMihdC Dec 18, 2010

    Hey thanks for the info!It was useful!