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
WhatsApp submit Email
Prev Article
Next Article

Leave a Reply Cancel Reply

Recent Posts

  • Georgia Crypto Mining’s Potential: What’s Driving Growth in the Industry?
    Georgia Crypto Mining’s Potential: What’s Driving Growth in the Industry?
  • 5 eBook Apps You Should Have on Your Android
    5 eBook Apps You Should Have on Your Android
  • Top 5 Most Innovative Real Estate Marketing Companies
    Top 5 Most Innovative Real Estate Marketing Companies
  • The Top 5 Things You’ll Need as a New Homeowner
    The Top 5 Things You’ll Need as a New Homeowner

Categories

  • Apps
  • Big Data
  • Blog
  • Books and Reviews
  • C Programming Language
  • Cars
  • Certifications
  • Chemistry
  • Computers
  • Data Warehousing
  • Ecommerce
  • Electrical
  • Electronics
  • Engineering
  • Entrepreneurs
  • Facebook
  • Featured
  • FinTech
  • Fuzzy Logic
  • Gadgets
  • Games
  • Gmail
  • Google
  • Google Plus
  • Health Tech
  • How-to Topics
  • Infographics
  • Instagram
  • Internet
  • JavaScript
  • Jobs
  • LinkedIn
  • Marketing
  • Mathematics
  • Microsoft
  • Mobile
  • Numismatics
  • Online Earning
  • Pinterest
  • Plagiarism
  • Programming Languages
  • Python Programming Language
  • Real Estate
  • Road Transport
  • Salesforce
  • Science and Technology
  • Security
  • SEO
  • Social Media
  • Social Networking
  • Software
  • SQL
  • Swift Programming Language
  • TikTok
  • Travel
  • Troubleshooting Tips
  • Twitter
  • Web Designing and Development
  • Websites
  • Windows
  • WordPress
  • YouTube Tips and Tricks

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

  • Archives
  • Disclaimer
  • Privacy Policy
  • Featured Comments

Recent Comments

  • Poonam on Best Top 10 Marathi Websites and Blogs
  • Jeff Stewart on Best Web Hosting Services to Publish a Blog or Website
  • Jack on How to Unlock Your AT&T iPhone Using Unlock Phone Codes
  • Gavrielle Curry on Major Procurement Issues: How to Fix Them With Technology
  • Pranav Pawar on Best Top 10 Marathi Websites and Blogs

Always Remain in Touch

Subscribe

Copyright © 2022 Tech-Wonders.com