Reasons for 0 byte file
Normally, hard disk runs the risk of corruption and it may cause your important files to become 0 byte. If you encounter this issue, it is obvious that your hard disk either has become corrupted or has lost some of data in your files. Generally speaking, there are several reasons that can cause this issue.
1. Improper shut down of the PC or unexpected loss of power to the computer system.
2. Formation of bad sectors on the hard drive.
3. Malicious software and viruses.
When you encounter 0 byte file issue, there is no need to worry as there are recovery methods available which can be used to 0 byte file recovery. You can try the following methods.
Method 1. Change File Extensions for Restoring 0 Byte Files
Changing the File Extensions can be helpful to solve files and folders showing 0 byte or 0KB issue. You can follow the steps below to change File Extensions.
Step 1. Right click on the storage device or partition of the hard drive and choose the Properties option.
Step 2. Click Check button in the Tools menu, tick Automatically fix file system errors and then click Start button.
Step 3. Click the Close button after scanning.
Step 4. Open the storage device or partition of hard drive. Type FOUND.000 in the address field and then press Enter.
Step 5. Do remember to save the file in a separate hard drive partition.
Step 6. Open and check the content of the file you have just saved. Your 0 byte file is now fixed and can be reused again.
Method 2. Use CMD to Restore 0 Byte File and Recovering its Data
You can also make use of CMD to recover 0 byte files if your important files suddenly start showing a file size of 0 byte. Follow these steps to restore 0 byte file back to normal.
Step 1. Open the Run dialog box by pressing Win + R keys together. Now, open the Command Prompt by typing cmd in the Run dialog box and pressing Enter.
Step 2. At the Command Prompt, type chkdsk /f g: where g is the name of the storage device or partition of the hard drive that holds the 0 byte file and then press Enter.
Step 3. Wait for CMD to resolve the 0 byte file errors in storage devices or partitions of hard drive. After your 0 byte files are fixed, you will be able to use them again.
Things after 0 byte file recovery
After recover 0 byte file, it is recommended to make a disk image backup to prevent such issue or similar issue happening again. You can use AOMEI Backupper to protect important files. AOMEI Backupper is free and reliable backup and restore software which can be applied to Windows 10/8/7/XP/Vista and supports system backup, disk backup, partition backup and file backup. You can backup files to USB drive, external hard drive, SSD, internal hard drive, NAS, cloud drive, etc. The following picture is the main interface of AOMEI Backupper. As you can see, it is user-friendly and clean.
With the file backup, when you encounter o byte file issue again, you can recover 0 byte file easily. Also, if your files are accidentally deleted or affected with virus, you can also restore them with the backup. In addition, AOMEI Backupper is also a disk cloning software. If there are bad sectors on your hard drive, you can clone the hard drive to a new drive with Disk Clone feature.
If you want to protect unlimited computers within your company, you can pick AOMEI Backupper Technician. With the inbuilt AOMEI Image Deploy tool, you are also allowed to deploy/restore system image file on server-side computer to multiple client-side computers over network.