Recovering a Corrupted .DS_STORE File Due to a Virus Attack

Have files been deleted due to a user’s error or software error? Have you formatted a disk by accident and need to know how to recover the files? Read our .DS_STORE file recovery guide for Windows, MacOS, Android and IOS in 2024.

Recovering a Corrupted .DS_STORE File Due to a Virus Attack

What is a .DS_STORE file?

A DS_STORE file contains viewing preferences for a folder in macOS (Mac OS X). It stores information about the folder's window location, window size, what view option has been selected (icon, list, or column), and the layout of icons in the window.

What Are Common Causes of ".DS_STORE" Files Lost or Failure?

There are several common causes of ".DS_STORE" files lost or failure:

  1. Accidental deletion: Users may accidentally delete ".DS_STORE" files while organizing or cleaning up their file system.
  2. System crashes: Sudden system crashes or power failures can lead to the loss or corruption of ".DS_STORE" files.
  3. File system errors: Errors in the file system, such as disk errors or corruption, can result in the loss or failure of ".DS_STORE" files.
  4. Malware or virus attacks: Malicious software or viruses can infect and damage ".DS_STORE" files, making them inaccessible or causing them to be deleted.
  5. Software conflicts: Incompatibility or conflicts between software applications can lead to the loss or failure of ".DS_STORE" files.
  6. Disk formatting: Formatting a disk or storage device without proper backup can result in the permanent loss of ".DS_STORE" files.
  7. Hardware failure: Physical damage or failure of the storage device containing ".DS_STORE" files can result in their loss or corruption.
  8. User error: Mistakes made by users, such as improper file management or accidental formatting of the wrong disk, can lead to the loss of ".DS_STORE" files.

It is important to regularly backup important files, including ".DS_STORE" files, to prevent their loss in case of any of these failures.

How to recover lost ".DS_STORE" files?

Sometimes while working with a computer, laptop or other stationary or mobile devices, you may encounter various bugs, freezes, hardware or software failures, even in spite of regular updates and junk cleaning. As a result, an important ".DS_STORE" file may be deleted.

Go to view
🧺 How to Recover Files and Folders After Sending Them to the Recycle Bin and Deleting? (Windows 11)

🧺 How to Recover Files and Folders After Sending Them to the Recycle Bin and Deleting? (Windows 11)

By no means should you think that the only way to recover a ".DS_STORE" file is always to create it once more.

Use programs for recovering ".DS_STORE" files if a file was lost after accidental or deliberate deleting, formatting the memory card or the internal storage, cleaning the storage device, after a virus attack or a system failure.

Programs to recover ".DS_STORE" files

Looking for a way to get files back? In cases when files were deleted and they cannot be restored by using standard operating system tools, use Hetman Partition Recovery.

Partition Recovery™ 4.9
The tool recovers data from any devices, regardless of the cause of data loss.
Download

Follow the directions below:

  1. Download Hetman Partition Recovery, install and start the program.

  2. The program will automatically scan the computer and display all hard disks and removable drives connected to it, as well as physical and local disks.

    File Recovery Software
  3. Double-click on the disk from which you need to recover ".DS_STORE" files, and select analysis type.

    Hetman Partition Recovery - Analysis Type
  4. When the scanning is over, you will be shown the files for recovery.

    Hetman Partition Recovery - Files that Can be Restored
  5. To find a file you need, use the program’s interface to open the folder it was deleted from, or go to the folder "Content-Aware Analysis" and select the required file type.

    Hetman Partition Recovery - Deep Scan
  6. Select the files you have been looking for and click "Recovery".

    File Recovery Software - Files List for Recovery
  7. Choose one of the methods for saving the files and recover them.

    Saving recovered files in Hetman Partition Recovery

How to open file with ".DS_STORE" extension?

Looking for how to open a stereo mac OS X Folder Settings File image file file?

Programs that open ".DS_STORE" files

Windows
HEX Editor HEX Editor

Additional Information

  • File type: Mac OS X Folder Settings File

  • File extension: .DS_STORE

  • Developer: Apple

  • Category: Settings Files

  • Format: N/A

  • HEX: 00 00 00 01 42 75 64 31 00 00

  • ASCII: Bud1

Feedback

We will be happy to answer your questions!

Comments (1)

  • Hetman Software: Data Recovery
    Hetman Software: Data Recovery 18.12.2019 12:01 #
    Leave a comment if you have any questions about Recovering lost .DS_STORE files after deleting, cleaning or formatting!
Post comment
User
Leave a reply
Your email address will not be published. Required fields are marked *

Vladimir Artiukh

Author: Vladimir Artiukh, Technical Writer

Vladimir Artiukh is a technical writer for Hetman Software, as well as the voice and face of their English-speaking YouTube channel, Hetman Software: Data Recovery for Windows. He handles tutorials, how-tos, and detailed reviews on how the company’s tools work with all kinds of data storage devices.

Oleg Afonin

Editor: Oleg Afonin, Technical Writer

Oleg Afonin is an expert in mobile forensics, data recovery and computer systems. He often attends large data security conferences, and writes several blogs for such resources as xaker.ru, Elcomsoft and Habr. In addition to his online activities, Oleg’s articles are also published in professional magazines. Also, Oleg Afonin is the co-author of a well-known book, Mobile Forensics - Advanced Investigative Strategies.

Share

Questions and answers

  • What is the purpose of a .DS_STORE file and why does it exist on my computer?

    The .DS_Store file is a hidden file created by the macOS operating system. It stands for Desktop Services Store and its purpose is to store metadata about a folder, such as the position of icons, view settings, and custom attributes.

    The .DS_Store file exists on your computer to maintain the visual settings and customization of a particular folder, including its subfolders. It helps macOS remember and restore the appearance and arrangement of files within a folder, such as the icon size, background color, and sort order. This file is created automatically by the Finder, the file management application in macOS, whenever you customize the view settings of a folder.

    While the .DS_Store file serves a useful purpose for macOS users, it is typically hidden to prevent clutter and maintain a clean user interface. If you encounter this file, it is usually because you have enabled the option to view hidden files on your computer.

  • How can I open a .DS_STORE file and view its contents on my Mac?

    To open and view the contents of a .DS_STORE file on your Mac, you can follow these steps:

    1. Launch the Terminal application on your Mac. You can find it in the "Utilities" folder within the "Applications" folder, or you can search for it using Spotlight (press Command + Space, then type "Terminal").
    2. In the Terminal window, navigate to the directory where the .DS_STORE file is located. You can use the "cd" command followed by the path to the folder. For example, if the file is on your desktop, you would use the command: `cd ~/Desktop/`
    3. Once you are in the correct directory, use the "ls" command to list the files in that directory. This will allow you to confirm that the .DS_STORE file is present.
    4. To view the contents of the .DS_STORE file, you can use a command-line tool called "hexdump." Enter the following command in the Terminal: `hexdump -C .DS_STORE`
    5. The Terminal will display the hexadecimal representation of the file's contents. You can scroll through the output to see the data stored in the .DS_STORE file.

    Please note that .DS_STORE files are system files created by macOS to store metadata about folders. They are typically hidden, and their contents may not be meaningful or useful to view directly.

  • Are .DS_STORE files essential for the functioning of my computer, or can I safely delete them?

    .DS_STORE files are not essential for the functioning of your computer. They are created by the macOS operating system and are used to store custom attributes of a folder, such as the position of icons, background color, and view settings. These files are specific to macOS and are not required for the computer to operate correctly.

    While deleting .DS_STORE files will not harm your computer, they will be automatically recreated by macOS whenever you open the corresponding folder again. Therefore, deleting them may only provide temporary relief as they will reappear.

    If you are looking to remove .DS_STORE files permanently, you can use Terminal commands or third-party software that specifically targets these files. However, it is generally recommended to leave them as they are since they serve a purpose within the macOS ecosystem.

Hello! This is AI-based Hetman Software virtual assistant, and it will answer any of your questions right away.
Start Chat