Disable auto-play of pen-drive to avoid virus activation:
- Go to Run
- Type gpedit.msc
- Go to Computer configuration
- Go to Administrative Templates
- Go to Windows components
- Go to auto-play policies
- Then press Turn off Autoplay at right side .
- Then click Enable in that
- And Choose All drives
- Thats all
Image Tutorial: