search
HomeComputer TutorialsComputer KnowledgeAll files on the USB disk are converted into exe file format

php editor Youzi will introduce you to a common problem: when using a USB flash drive, sometimes you will find that all files have become .exe file formats and cannot be opened normally. This situation may be because the USB flash drive is infected with a virus or subjected to other malicious operations. Don’t worry, there are some simple steps we can take to fix this problem and restore the file to its normal format. Next, we will give you detailed answers.

Please note! Start by inserting the USB flash drive into your computer and avoid opening any pop-up USB flash drive windows. It is also important to avoid double-clicking to enter the USB drive. Instead, use the left navigation bar to enter the USB drive directory. Doing so can effectively prevent your computer from being infected with viruses.

What should I do if the U disk folder becomes exe?

1. Create a new Notepad file and enter in Notepad:

Windows Registry Editor Version 5.0002[HKEY_LOCAL_ MACHINE \SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced\Folder\Hidden\SHOWALL] 03\"CheckedValue\"=dword:00000001All files on the USB disk are converted into exe file format

2. Change the file suffix of the new text to .reg.

All files on the USB disk are converted into exe file format

3. Double-click to open the reg file.

All files on the USB disk are converted into exe file format

4. Then create a second text file and enter

for /f \"delims=\" %%i in ('dir /ah /s/ b') do attrib \"%%i\" -s -h

All files on the USB disk are converted into exe file format

5. Save this file and rename it to filename.bat.

All files on the USB disk are converted into exe file format

After copying the bat file to the U disk directory, double-click to run the file, and all the files hidden in the U disk will be displayed. At this time, the computer will pop up a rename window, click the Yes button in the window. If you need to smash these hidden files, you can use the file shredding tool. After adding the hidden files, click the Shred Now button in the window to completely shred the files.

All files on the USB disk are converted into exe file format

The above is the detailed content of All files on the USB disk are converted into exe file format. For more information, please follow other related articles on the PHP Chinese website!

Statement
This article is reproduced at:电脑知识学习网. If there is any infringement, please contact admin@php.cn delete
Windows 11 Education Download ISO and Install It on PC - MiniToolWindows 11 Education Download ISO and Install It on PC - MiniToolApr 26, 2025 am 12:50 AM

What is Windows 11 Education? If you want to install this system on your PC, how can you do this work? This post from php.cn gives a detailed guide on Windows 11 Education download ISO and how to install it from the ISO file.

How to Fix Outlook Emails Not Showing Up in Inbox - MiniToolHow to Fix Outlook Emails Not Showing Up in Inbox - MiniToolApr 26, 2025 am 12:49 AM

Are your Outlook emails not showing up in Inbox, but showing in search? What steps can you do when Outlook not showing all emails? Now in this post given by php.cn Solution, we will introduce several useful methods to help you address the issue and g

Must-Know Fixes: Windows Stuck on Shutting Down ScreenMust-Know Fixes: Windows Stuck on Shutting Down ScreenApr 26, 2025 am 12:48 AM

If you are trying to power off your computer but encountering the Windows stuck on shutting down screen issue, you can find several helpful fixes from this php.cn guide. Just keep reading to see the details.

[Complete Guide] How to Fix Microsoft Teams Error CAA50021? - MiniTool[Complete Guide] How to Fix Microsoft Teams Error CAA50021? - MiniToolApr 26, 2025 am 12:47 AM

If you are looking for effective solutions to the Microsoft Teams error code CAA50021, this post is worth reading. In this post, php.cn introduces how to get rid of this error in detail. Simply follow it to solve your problem.

Make Windows 11/10 Look Like Windows XP Using WindowBlinds 11 - MiniToolMake Windows 11/10 Look Like Windows XP Using WindowBlinds 11 - MiniToolApr 26, 2025 am 12:46 AM

Do you want to make Windows 11 or Windows 10 look like Windows XP? Do you know how to do this on your device? You can try the WindowBlinds 11 Beta version now. In this post, php.cn Software will tell you how to download WindowBlinds 11 and introduce

Pro Fixes: Not All of the Updates Were Successfully UninstalledPro Fixes: Not All of the Updates Were Successfully UninstalledApr 26, 2025 am 12:45 AM

If you can’t use the universal way to uninstall Windows updates due to An error has occurred, Not all of the updates were successfully uninstalled, you can try the methods mentioned in the php.cn post to solve the issue.

Fix the System Error – Wacom_tablet.exe Can't End Process - MiniToolFix the System Error – Wacom_tablet.exe Can't End Process - MiniToolApr 26, 2025 am 12:44 AM

What is wacom_tablet.exe? Is the Windows process safe to run? Some people find wacom_tablet.exe can't end process and when this Windows system error happens, you may be overwhelmed and don’t know where to start. On php.cn, this article will resolve y

3 Ways for We've Detected Suspicious Behavior on ChatGPT - MiniTool3 Ways for We've Detected Suspicious Behavior on ChatGPT - MiniToolApr 26, 2025 am 12:43 AM

ChatGPT errors are various and we’ve detected suspicious behavior is a common one. If you are trapped in this issue, what should you do? Go on reading this post from php.cn and you can find some useful fixes to help you get rid of trouble.

See all articles

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

Video Face Swap

Video Face Swap

Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Tools

SAP NetWeaver Server Adapter for Eclipse

SAP NetWeaver Server Adapter for Eclipse

Integrate Eclipse with SAP NetWeaver application server.

Atom editor mac version download

Atom editor mac version download

The most popular open source editor

EditPlus Chinese cracked version

EditPlus Chinese cracked version

Small size, syntax highlighting, does not support code prompt function

SublimeText3 English version

SublimeText3 English version

Recommended: Win version, supports code prompts!

MantisBT

MantisBT

Mantis is an easy-to-deploy web-based defect tracking tool designed to aid in product defect tracking. It requires PHP, MySQL and a web server. Check out our demo and hosting services.