How to Delete Hacker Files to Free Up Space on Windows

Because FTP was left open with credentials for an anonymous user, my server was compromised. On a disk, the hackers left directories. Therefore I'm currently attempting to restore the space. What is the best approach to take here?

The files you cannot delete normally may be successfully deleted by Command Prompt, and we will show you how to use CMD delete files.

1. Open the Start menu on Windows, and type in Command Prompt or CMD to search for this program.

2. Run it as administrator, and then the CMD windows will open.

3. In the CMD windows, you should type in del and follow the path for each file you wish to remove, being sure to separate each file name with a space.

4. If you need to delete folders with CMD, you'll need to type in rmdir and follow the path of the folder you want to delete.

After formatting the hard drive, you can use EaseUS Data Recovery Wizard to recover the lost files from your hard drive. This functional recovery program lets you get your films, music, photos, and personal documents from your hard drive.

If your files cannot be deleted with CMD, you can try to format your hard drive to free up space. Formatting the hard drive will help you remove the virus and malware. You‘d better back up important files in advance or use a data recovery tool.

1. Open Windows Drive Management by typing "Create and format hard disk partitions" into the search field and click on the result.

2. Find the drive you wish to format (double-check to make sure you pick the right disk). Click it with the right mouse button, then choose "Format...".

3. Label and file system settings should be made. Then begin formatting by clicking "OK".