• Home
  • News
  • Software
  • Knowledge
  • MMO
  • Tips
  • Security
  • Network
  • Office
AnonyViet - English Version
  • Home
  • News
  • Software
  • Knowledge
  • MMO
  • Tips
  • Security
  • Network
  • Office
No Result
View All Result
  • Home
  • News
  • Software
  • Knowledge
  • MMO
  • Tips
  • Security
  • Network
  • Office
No Result
View All Result
AnonyViet - English Version
No Result
View All Result

How to delete Virus Hide Files in USB with CMD on Windows 10

AnonyViet by AnonyViet
February 3, 2023
in Tips
0

Computer viruses can come from anywhere – even removable storage devices. When the USB is infected, the virus will find a way to spread on your computer. It will be activated thanks to the built-in Windows function called AutoRun. Fortunately, there is a way to disable this feature. In this article, AnonyViet will show you how you can remove Hidden Files Virus from USB using CMD and protect your computer from viruses in the future.

Join the channel Telegram of the AnonyViet 👉 Link 👈

What is AutoRun?

To learn how to remove Hidden File Virus (shortcut virus), you need to know what AutoRun does and why it does it.

Windows launches a file named autorun.inf when external devices (USB, memory card, CD, DVD, SD card) are plugged into the computer. Features like AutoRun are designed to improve the PC experience.

In most cases, Windows will help non-computer savvy people quickly open storage devices each time they attach to the computer, instead of having to manually click repeatedly to open the data.

An example of Autorun’s utility is CDs when connected to a computer. Each CD can have an autorun.inf file so that the music player immediately plays the music for you, without any extra work.

How does Virus Shortcut (Virus Shortcut) work?

Unfortunately, the AutoRun feature has been abused to spread Viruses. AutoRun feature can open multiple files in USB at the same time. A virus from a USB can be appended with an executable to the autorun.inf file so that both will launch at the same time. This means that Windows basically automatically activates the Virus in the USB using the AutoRun feature.

What the virus does will depend on what it is programmed with. Some are known to add what is called a keylogger to your system. This will allow hackers to track your keystrokes to steal personal information like passwords and banking information. In Vietnam, most USB Viruses will hide files, create a virus that fakes the folder’s icon. When mistakenly opening the Virus, other USBs plugged into the infected machine will have the file hidden, or encrypt the existing file. Deleting virus hidden files is also quite simple.

Turn off AutoRun feature

Although AutoRun is a great feature, turning it off may be the best way to prevent autorun.inf files from infecting and hiding files on your usb.

Here are the steps you should follow to turn off Windows AutoRun to delete hidden file viruses:

Access to Settings (Windows + I) > Devices > AutoPlay.

SettingsDisable AutoRun by converting switch to position OFF.

Disabling AutoRun delete virus hidden files

Note: You can also use drop-down menu to choose the default action when you attach a storage device to your computer

Delete the file AutoRun.inf

If you suspect that your USB has a virus, you need to delete the file autorun.inf to prevent the virus from being activated.

Remove virus hidden files using CMD

Here’s how to delete the autorun.inf file by running CMD aka command prompt:

Open Run and type CMD to open Command Prompt.

open CMD

Type the letter of the USB drive (Example: “F:” or “G:” without quotes), press Enter

Type command ATTRIBUTE -H -R -S AUTORUN.INF and press Enter

Use cmd to show hidden files

Type command DEL AUTORUN.INFand press Enter

Delete with Windows Explorer

Here’s how to delete files autorun.inf equal Windows Explorer:

Open Windows Explorer (Windows + E).

Open the USB drive found on the left panel. This action will show you the contents of the USB.

Select autorun.inf from the list and press To clear. If you don’t see it, click Menu View, Check Hidden Items to show hidden files.

show hidden files in windows 10 to remove virus hidden files

Deleting the autorun.inf file through either of the above two methods will help protect your computer from USB Virus. However, you should use antivirus software to scan the USB drive before opening the file. This is the most necessary measure to delete virus hidden files.

The article achieved: 5/5 – (100 votes)

Tags: CMDdeletefileshideUSBvirusWindows
Previous Post

Hướng dẫn tăng sức mạnh cho ChatGPT với Merlin

Next Post

Instructions to play NINTENDO game emulator directly on Android

AnonyViet

AnonyViet

Related Posts

Instructions for registering for OxionAI Pro for 1 year with many powerful AI models
Tips

Instructions for registering for OxionAI Pro for 1 year with many powerful AI models

October 24, 2026
How are Windows 11 Pro and Windows 10 Pro different?
Tips

How are Windows 11 Pro and Windows 10 Pro different?

October 23, 2026
Instructions for using CleanYourTV: Remove ads on Android TV, Google TV
Tips

Instructions for using CleanYourTV: Remove ads on Android TV, Google TV

October 23, 2026
How to use Messenger without a Facebook account
Tips

How to use Messenger without a Facebook account

October 22, 2026
The website helps you draw beautifully like TikToker Viet My
Tips

The website helps you draw beautifully like TikToker Viet My

October 21, 2026
Instructions on how to hard reset iPhone 18 Pro / iPhone 18 Pro Max
Tips

Instructions on how to hard reset iPhone 18 Pro / iPhone 18 Pro Max

October 21, 2026
Next Post
Instructions to play NINTENDO game emulator directly on Android

Instructions to play NINTENDO game emulator directly on Android

0 0 votes
Article Rating
Subscribe
Login
Notify of
guest

guest

0 Comments
Oldest
Newest Most Voted

Recent News

Postpaid for new employees: Should you start using it?

Postpaid for new employees: Should you start using it?

October 26, 2026
How to create a UFO Game that calls students to return their homework

How to create a UFO Game that calls students to return their homework

October 26, 2026
Instructions for registering for OxionAI Pro for 1 year with many powerful AI models

Instructions for registering for OxionAI Pro for 1 year with many powerful AI models

October 24, 2026
How are Windows 11 Pro and Windows 10 Pro different?

How are Windows 11 Pro and Windows 10 Pro different?

October 23, 2026
Postpaid for new employees: Should you start using it?

Postpaid for new employees: Should you start using it?

October 26, 2026
How to create a UFO Game that calls students to return their homework

How to create a UFO Game that calls students to return their homework

October 26, 2026
Instructions for registering for OxionAI Pro for 1 year with many powerful AI models

Instructions for registering for OxionAI Pro for 1 year with many powerful AI models

October 24, 2026
AnonyViet - English Version

AnonyViet

AnonyViet is a website share knowledge that you have never learned in school!

We are ready to welcome your comments, as well as your articles sent to AnonyViet.

Follow Us

Contact:

Email: anonyviet.com[@]gmail.com

Main Website: https://anonyviet.com

Recent News

Postpaid for new employees: Should you start using it?

Postpaid for new employees: Should you start using it?

October 26, 2026
How to create a UFO Game that calls students to return their homework

How to create a UFO Game that calls students to return their homework

October 26, 2026
  • Home
  • Home 2
  • Home 3
  • Home 4
  • Home 5
  • Home 6
  • Next Dest Page
  • Sample Page

say88 tỷ lệ kèo nhà cái kèo nhà cái 5 febet

No Result
View All Result
  • Home
  • News
  • Software
  • Knowledge
  • MMO
  • Tips
  • Security
  • Network
  • Office

say88 tỷ lệ kèo nhà cái kèo nhà cái 5 febet

wpDiscuz
0
0
Would love your thoughts, please comment.x
()
x
| Reply