Tech-Wonders.com

Menu
  • Apps
  • How To
  • Gadgets
    • Mobile
  • Software
  • Technology
  • Sitemap
  • Contact Us

Tech-Wonders.com » Security

Block viruses from entering your USB drive

USB drives are the most popular virus carriers these days. Here is the simple yet powerful command prompt trick with which you can create a dummy file that can block any incoming virus to your Pen drive.

1. Note down the free space in bytes left in your USB drive. To do that, just right-click with your mouse on your USB drive and select properties where you can find the Used space and free space shown in bytes.
Block viruses from entering your USB drive 1

2. Go to start–>Run… and type cmd and click Ok to open the command prompt(DOS) window. Block viruses from entering your USB drive 2

3. At the command prompt type the command having the syntax as follows:

fsutil file createnew [USB drive pathfilename] [free space in bytes]

for example, if the drive letter for your USB drive is ‘K’, the free space available is 1528864758 bytes and filename you want to use is dummyfile then the command you have to type is:

fsutil file createnew k:dummyfile 1528864768

As soon as you press ENTER after giving this command a file will be created in you USB drive occupying all the free space available.
Block viruses from entering your USB drive 3
Now your USB drive cannot accommodate any incoming viruses as it has zero free space. You can check that from your drive properties. As you can see in the image below the free space left is zero as we have created a dummy file with all the free space available in the step above.Block viruses from entering your USB drive 4
And whenever you want to copy files to your USB drive from secured sources, just delete that dummyfile created and copy the data you wanted and again create a dummyfile that occupies the remaining free space.

This command prompt trick is the best preventive measure to block any virus form entering your USB drive.

Tweet Telegram WhatsApp
Email Mix submit VK Pin It
Prev Article
Next Article

Leave a Reply Cancel Reply

Popular Posts

  • How to Write an Essay Outline
    How to Create the Best Essay Outline
  • Increase Your Business Website’s Search Engine Rankings With Local SEO Services
    10 Local SEO Services Tips that Deliver …
  • 12 Volt Linear Actuator
    How to Use a Linear Actuator
  • ExpressVPN Protects Your Privacy Online
    The Best VPNs to Start Your New …

Related Posts

  • Uses of Current Transformer CT
    Uses of Current Transformer CT
  • Registry Tweak to change default location for installing apps.
    Registry Tweak to change default location for …
  • How To Save Your Kids Online With a VPN In 2018
    How to Save Your Kids Online With …
  • Secure File Sharing, Business Man Confident
    Tips to Secure Your Files and How …

Tech-Wonders.com

Technology Blog

About the Admin

RamaRaoBobby Hi there! I am RamaRao Bobby, Founder and Editor-in-Chief of
Tech-Wonders.com, Kakinada’s Top Technology Blog.

I am an avid Dog Lover and Tech Enthusiast. Read More

Recent Comments

  • Donald Lazaro on 4 Free and Easy-to-Use Screen Recording and Webcam Recording Tools
  • Murtaza ansari on Best Top 10 Hindi Websites and Blogs

Categories

Always Remain in Touch

  • Archives
  • Disclaimer
  • Privacy Policy
  • Featured Comments
Copyright © 2021 Tech-Wonders.com