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

王林
Release: 2024-02-12 12:30:08
forward
1090 people have browsed it

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!

Related labels:
source:pc-daily.com
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!