✅How To Fix Files Become 0 Bytes Using Commands For Free | How to Restore Zero Byte Files in Windows

How To Fix Tech
28 Jul 202204:41

Summary

TLDRThis tech tutorial video guides viewers on restoring zero-byte files and folders. It addresses potential causes like bad sectors, malware, or incomplete downloads. The first method involves using the Command Prompt with administrator rights to run 'chkdsk' commands to scan and repair the drive. If that fails, a second approach suggests using antivirus software to scan for hidden files and potential threats, including a full system scan and using Microsoft Defender Offline for a deeper clean. The video also advises clearing temporary files as a final step to ensure system cleanliness.

Takeaways

  • 🔧 The video is a tutorial on how to restore zero-byte files and folders in a computer system.
  • 🛠️ The first method involves using the command prompt (cmd) to fix potential bad sectors, which could be the primary cause of the issue.
  • 💾 The command 'chkdsk /f' is used to scan and attempt to restore zero-byte files, and the drive letter (e.g., E:) must be specified.
  • 🔄 If the first command doesn't resolve the issue, a second command 'chkdsk /f /r' is suggested, which requires user confirmation and a system restart.
  • ⏱️ The second command may take 10 to 15 minutes to complete as it scans and attempts to restore corrupted files.
  • 📚 The video suggests that if the first method fails, a second method involving an antivirus scan should be tried.
  • 🔍 Antivirus software, whether paid or free like Microsoft Defender, can be used to scan and potentially fix issues caused by malware.
  • 🔒 To ensure a thorough antivirus scan, hidden files and folders need to be shown in the file explorer settings.
  • 🧹 The video also recommends using additional antivirus features like a full scan or Microsoft Defender Offline for a deeper system check.
  • 🗑️ After performing the antivirus scan, it's advised to clean temporary files which might harbor viruses, using the 'temp' command in the run dialog.
  • 👍 The video concludes by thanking viewers for watching the 'how to fix tech' tutorial.

Q & A

  • What is the primary issue the video aims to resolve?

    -The video aims to resolve the issue of zero bytes file and folder in a system.

  • What are the potential causes of zero bytes file and folder issues mentioned in the video?

    -The potential causes mentioned are bad sectors, malware, or incomplete file or folder downloads.

  • How can one access the Command Prompt (CMD) on Windows?

    -One can access the Command Prompt by right-clicking on it and selecting 'Run as administrator'.

  • What is the first command the video suggests to resolve the zero bytes issue?

    -The first command suggested is 'chkdsk /f' followed by the drive letter (e.g., 'E:') to scan and fix bad sectors on the specified drive.

  • What is the second command provided in the video for further troubleshooting?

    -The second command is 'chkdsk /f /r' which is used to scan and repair bad sectors, and it requires a system restart.

  • Why is it necessary to show hidden files and folders in the second method?

    -Hidden files and folders may contain viruses that need to be detected and removed, so they must be visible for a thorough antivirus scan.

  • How can users make hidden files and folders visible in Windows?

    -Users can make hidden files and folders visible by going to 'View' in File Explorer, then 'Options', and selecting 'Show hidden files, folders, and drives'.

  • What antivirus software does the video mention for scanning the system?

    -The video mentions using any antivirus software, including the free Microsoft Defender, for scanning the system.

  • What is the purpose of performing a quick scan with antivirus software?

    -A quick scan with antivirus software is performed to detect and remove any malware that might be causing the zero bytes issue.

  • What additional step is suggested after running antivirus scans to ensure system cleanliness?

    -After running antivirus scans, the video suggests cleaning the system by deleting temporary files, which can be accessed by typing 'temp' in the Run dialog and selecting all files with 'Ctrl+A'.

Outlines

00:00

🛠️ Fixing Zero-Byte Files and Folders

This paragraph introduces a tutorial on restoring zero-byte files and folders in a system. The video will cover potential causes such as bad sectors, malware, or incomplete file downloads. The presenter outlines two main methods for resolving the issue: using the command prompt to fix bad sectors and scanning the system with antivirus software to detect and remove malware. The first method involves running the 'chk' command with administrator privileges to scan and repair the hard drive, while the second method requires showing hidden files and folders and running a quick scan with antivirus software. The presenter also suggests using Microsoft Defender for a thorough scan and cleaning temporary files as a final step.

Mindmap

Keywords

💡Zero bytes file

A 'zero bytes file' refers to a file that appears to have no content, showing a size of zero bytes. In the context of the video, this is an issue the creator aims to resolve, as it can indicate a corrupted or incomplete file, which can affect the functionality of a system or application. The script discusses methods to restore such files to their original state.

💡Command Prompt (CMD)

The 'Command Prompt', often abbreviated as CMD, is a command-line interpreter for the Windows operating system. It allows users to execute commands and perform tasks through a text-based interface. In the video, CMD is used to run specific commands that help in fixing the zero bytes file issue by scanning and repairing the hard drive.

💡Administrator

In computing, 'Administrator' refers to a user account with the highest level of control over a system, allowing the execution of system-level tasks that require elevated privileges. The video instructs the viewer to run CMD as an administrator to ensure the commands have the necessary permissions to fix the issue.

💡CHKDSK

CHKDSK is a Windows utility that checks the filesystem and file placement on a disk volume. It is used to identify and fix logical and physical errors. The script mentions using the 'chk' command in CMD to initiate a scan and fix the zero byte size issue by checking the hard drive for bad sectors.

💡Drive letter

A 'drive letter' is a designation used in computing to identify storage devices, such as hard drives, in an operating system. In the script, the drive letter 'E' is used as an example to specify which drive the CHKDSK command should scan for errors.

💡Antivirus program

An 'antivirus program' is software designed to detect, prevent, and remove malicious software, or malware, from a computer system. The video suggests using an antivirus program to scan the system as a method to address the zero bytes file issue, potentially caused by malware.

💡Microsoft Defender

Microsoft Defender is a built-in antivirus and anti-malware component of the Windows operating system. It is mentioned in the script as a free option for users to scan their systems for hidden files and potential malware that could be causing the zero bytes file issue.

💡Hidden files and folders

In computing, 'hidden files and folders' are those that are not normally visible in file explorers unless the user changes the view settings to show them. The script explains how to reveal these hidden elements, which could be infected by viruses, as part of the troubleshooting process.

💡Quick scan

A 'quick scan' in the context of antivirus software is a fast, non-exhaustive scan that checks for obvious threats and is typically used for routine checks. The video script suggests performing a quick scan as one of the steps to resolve the zero bytes file issue.

💡Microsoft Defender Offline

Microsoft Defender Offline is a feature that allows for a system scan without booting into the Windows environment, which can be more effective in detecting and removing threats that may not be active during a standard boot. The script mentions using this feature as an advanced method to address the issue.

💡Temp files

Temporary files, or 'temp files', are created by the system or applications to store data temporarily while performing tasks. They can sometimes harbor viruses or other unwanted data. The script advises cleaning these files as a final step in resolving the zero bytes file issue.

Highlights

Introduction to the video on restoring zero bytes file and folder issues in the system.

Explanation of possible causes for zero byte issues such as bad sectors, malware, or incomplete downloads.

First method to fix the issue by checking for bad sectors using the command prompt.

Instructions on running the command prompt as an administrator.

Command to scan and restore zero byte size files using 'chk' with the appropriate parameters.

Verification step after running the command to check if the issue is resolved.

Second command 'chkdsk' with parameters to fix unresolved issues and the need for system restart.

Description of the system scanning process and the expected duration.

Second method involving the use of an antivirus program to scan the system.

Recommendation to use Microsoft Defender as a free antivirus option.

Steps to show hidden files and folders in File Explorer for a thorough virus scan.

Guidance on running a quick scan with the antivirus software.

Mention of alternative scanning options like full scan and Microsoft Defender Offline.

Advice on cleaning the system with the temporary files after performing antivirus scans.

Final note on the importance of cleaning temporary files for system health.

Closing remarks and thanks for watching the 'How to Fix Tech' channel.

Transcripts

play00:00

hello guys welcome to my channel you are

play00:02

watching how to fix tech in this video i

play00:04

am going to show you how you can restore

play00:06

zero bytes file and folder into your

play00:08

system

play00:09

now first we need to check while we are

play00:12

facing this issue there could be many

play00:14

regions like bed sectors malware or file

play00:17

extensions the file or folder you have

play00:20

downloaded is incompleted

play00:23

and now we are going to fix this error

play00:26

so stay with us

play00:27

so let's begin how we can resolve this

play00:29

issue first we need to go to the cmd

play00:33

in first method we are going to fix the

play00:36

bed sector which is the primary cause of

play00:38

this issue

play00:39

go to

play00:40

cmd which is command prompt

play00:43

right click on it you need to run it as

play00:46

administrator

play00:50

click on yes

play00:51

when prompt opens

play00:54

now you need to type only one command

play00:56

here which is chk

play01:00

yes k

play01:02

space then slash

play01:04

press f after slash and then give the

play01:07

space and then drive letter after

play01:10

pressing space you need to tap the drive

play01:12

letter in my case it is e

play01:15

then e

play01:16

and then colon and then hit enter

play01:19

like this

play01:20

this will scan all the hard drive

play01:23

and

play01:24

this will restore the zero byte size

play01:26

now this command is completed now now

play01:28

you can check if the issue is solved or

play01:31

not

play01:35

if you are still facing this issue then

play01:37

you can

play01:38

hit one more command here c h k

play01:42

d s k

play01:43

space

play01:44

slash f slash

play01:47

r like this and press enter here

play01:50

now you need to type yes and then you

play01:53

need to restart your system

play01:55

your system will scan all the files and

play01:58

corrupted files and try to restore all

play02:00

the files it might take 10 to 15 minutes

play02:03

but this is very powerful method you can

play02:06

try this and it will

play02:09

start the process after you restart your

play02:11

system

play02:12

now you need to exit and try to restart

play02:15

your system

play02:16

your issue should be fixed now

play02:19

if your issue is not fixed with the

play02:21

first method you can try second method

play02:23

in second method we are going to scan

play02:26

our system with the antivirus program

play02:28

whichever antivirus you are using it

play02:31

could be paid or microsoft defender

play02:33

which is free you can try that one first

play02:36

we need to show the hidden files in

play02:38

second method we are going to scan our

play02:40

pc with the antivirus program whichever

play02:43

software you are using for scanning

play02:46

like window defender on paid version you

play02:48

are using first we need to show the

play02:51

hidden folders and files some viruses

play02:54

can hidden into folder and files then we

play02:56

need to restore them so we need to

play02:58

unhide those folder and files

play03:01

for that we need to click on file

play03:03

explorer

play03:05

like this

play03:07

and click on this pc

play03:09

now you can see the option view click on

play03:11

view options here

play03:14

now you can see the options click on

play03:16

that

play03:17

and you can

play03:19

you need to click on change file and

play03:21

search options here like this

play03:24

and then go to view options again

play03:26

and now choose this option which i have

play03:28

already chosen show hidden files and

play03:31

folder and drives click on apply and

play03:33

then hit ok

play03:35

and now we need to run the antivirus

play03:38

program now go to

play03:41

any software you are using

play03:44

virus and threat protection i'm using

play03:49

click on

play03:50

quick scan

play03:52

now the quick scan will scan all your

play03:55

hard drives including your system all

play03:57

the hard drives

play03:58

you can try these methods as well full

play04:01

scan and microsoft defender offline

play04:05

microsoft offline defender will restart

play04:08

your system and it will take 15 minutes

play04:10

this will scan all your system including

play04:13

your hard drives and

play04:15

the virus will be gone

play04:17

one more thing you can do that you need

play04:19

to cut it after performing all the

play04:21

commands

play04:22

and we need to clean our system with the

play04:24

window plus

play04:26

our and type a time file

play04:30

sometime viruses can hidden in the temp

play04:33

as well

play04:34

we need to

play04:36

press ctrl a and then shift thank you

play04:38

thanks for watching how to fix tech

Rate This

5.0 / 5 (0 votes)

Related Tags
Tech FixZero-ByteFile RestorationCommand PromptCHKDSKAntivirus ScanSystem ScanHidden FilesMicrosoft DefenderQuick ScanTech Support