{"id":240,"date":"2023-11-14T15:17:28","date_gmt":"2023-11-14T15:17:28","guid":{"rendered":"https:\/\/madlabs.dsu.edu\/digforce\/blog\/?p=240"},"modified":"2024-10-15T15:04:53","modified_gmt":"2024-10-15T15:04:53","slug":"formatting-hard-drives-within-windows","status":"publish","type":"post","link":"https:\/\/blogs.dsu.edu\/digforce\/2023\/11\/14\/formatting-hard-drives-within-windows\/","title":{"rendered":"Formatting Hard Drives Within Windows"},"content":{"rendered":"\n<p>When removing data from a storage device, such as a USB or hard disk drive, it is important to consider the method in which the data is formatted. Within Windows, users are given the option to format a drive with the \u201cQuick Format\u201d option enabled. This option is faster than a traditional format; However, all the data still remains on the device. After a quick format, the end user may not be able to access these files, but the data can become recoverable through various forensics techniques. It is important to perform a more thorough format for this reason, especially when it comes to buying or selling used storage devices.<\/p>\n\n\n\n<p><strong>The Master File Table<\/strong><\/p>\n\n\n\n<p>Windows utilizes the New Technology Filesystem, which is most commonly known as the NTFS filesystem. Every NTFS volume contains a file that is known as the Master File Table. The Master File Table (MFT) is an indexing system which stores all information about files and directories stored within an NTFS volume.<sup>i<\/sup> This information includes file metadata such as filenames, file sizes, creation timestamps, security identifiers (such as permissions), data content, and other various file attributes.<sup>ii<\/sup> Essentially, the MFT is a giant index that specifies where each file can be found on the drive. Without the MFT, none of the data located on the volume would be reachable, as their MFT entries referencing file information would be gone.<\/p>\n\n\n\n<p>If the Master File Table is empty, it doesn\u2019t necessarily mean that there isn\u2019t any data located on the NTFS volume. When an MFT record of a file located on the drive is deleted, the link between the operating system and the data on the drive is forgotten. The data that was associated with the MFT record would reside in what is called \u201cunallocated space\u201d. When new information is written to the drive, the new data is allowed to receive storage capacity from the unallocated space and overwrite the data that used to exist there. This is the basic functionality of an NTFS drive, which is important to understand when learning about the types of formatting you can perform on them.<\/p>\n\n\n\n<p><strong>Quick Format<\/strong><\/p>\n\n\n\n<p>When formatting a storage device in windows, the user must right click the specific drive within File Explorer or within Disk Management. By default, the \u201cQuick Format\u201d option is enabled. Below are screenshots of the Quick Format option enabled in Windows 10 when formatting a drive within Disk Management and File Explorer.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/blogs.dsu.edu\/digforce\/wp-content\/uploads\/sites\/6\/2023\/11\/quick1-1.png\" alt=\"\" class=\"wp-image-243\" width=\"535\" height=\"244\" srcset=\"https:\/\/blogs.dsu.edu\/wp-content\/uploads\/sites\/6\/2023\/11\/quick1-1.png 603w, https:\/\/blogs.dsu.edu\/wp-content\/uploads\/sites\/6\/2023\/11\/quick1-1-300x137.png 300w\" sizes=\"(max-width: 535px) 100vw, 535px\" \/><figcaption class=\"wp-element-caption\">Formatting a drive through Disk Management<\/figcaption><\/figure><\/div>\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/blogs.dsu.edu\/digforce\/wp-content\/uploads\/sites\/6\/2023\/11\/quick2-1.png\" alt=\"\" class=\"wp-image-244\" width=\"344\" height=\"423\" srcset=\"https:\/\/blogs.dsu.edu\/wp-content\/uploads\/sites\/6\/2023\/11\/quick2-1.png 405w, https:\/\/blogs.dsu.edu\/wp-content\/uploads\/sites\/6\/2023\/11\/quick2-1-244x300.png 244w\" sizes=\"(max-width: 344px) 100vw, 344px\" \/><figcaption class=\"wp-element-caption\">Formatting a drive through File Explorer<\/figcaption><\/figure><\/div>\n\n\n<p>The Quick Format option is a very fast formatting option which normally takes less than a minute to complete on most drives. When executing the quick format of a drive, the only content that is deleted is that of the Master File Table. When the MFT records for files get deleted, all referenced data located on the drive will be moved to the volume\u2019s unallocated space. This means that all the data associated with the \u201cformatted\u201d files are still on the drive. This type of format is a fine option when you want to quickly clear up a storage device for personal use, but should be reconsidered when buying or selling used storage drives.<\/p>\n\n\n\n<p><strong>Recovering Data from a Quick Format<\/strong><\/p>\n\n\n\n<p>Since all the data is still present within the unallocated space after a quick format, the data can be recoverable using a variety of forensic techniques. Extracting data from the unallocated space is known as file carving. By using disk imaging software such as FTK Imager to create an image of a drive formatted with quick format enabled, all the unallocated space located on the drive can be collected. To parse and view the data located in the unallocated space, the generated image file can be analyzed using tools such as Autopsy or by searching for file signatures manually.<\/p>\n\n\n\n<p><strong>Full Format<\/strong><\/p>\n\n\n\n<p>Unchecking the Quick Format option within Windows executes a more secure disk format. A full format does exactly what the quick format does, in that the Master File Table is completely cleared. The only difference is that all the existing data on the drive is overwritten with zeros, effectively erasing all data from the drive. This method may take longer, but ensures that the data located on the drive is completely expunged. Unlike a quick format, data on the drive does not reside in the unallocated space. A full format also checks for bad sectors, which adds to the total format time.<\/p>\n\n\n\n<p>The result of a full format is more secure than a quick format, as the data shouldn\u2019t be recoverable in normal conditions. Unless there were bad sectors or protected areas located on the drive that didn\u2019t get formatted, a full format in Windows should be sufficient when buying and selling used drives. The screenshots below show the difference in unallocated space when a drive is formatted with and without quick format enabled. For the quick format drive, notice the presence of data within the unallocated space that can potentially be recovered. These screenshots only picture a small amount of unallocated data.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/blogs.dsu.edu\/digforce\/wp-content\/uploads\/sites\/6\/2023\/11\/full1.png\" alt=\"\" class=\"wp-image-245\" width=\"666\" height=\"355\" srcset=\"https:\/\/blogs.dsu.edu\/wp-content\/uploads\/sites\/6\/2023\/11\/full1.png 862w, https:\/\/blogs.dsu.edu\/wp-content\/uploads\/sites\/6\/2023\/11\/full1-300x160.png 300w, https:\/\/blogs.dsu.edu\/wp-content\/uploads\/sites\/6\/2023\/11\/full1-768x411.png 768w\" sizes=\"(max-width: 666px) 100vw, 666px\" \/><figcaption class=\"wp-element-caption\">Unallocated space of a quick format drive.<\/figcaption><\/figure><\/div>\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/blogs.dsu.edu\/digforce\/wp-content\/uploads\/sites\/6\/2023\/11\/full2.png\" alt=\"\" class=\"wp-image-246\" width=\"655\" height=\"370\" srcset=\"https:\/\/blogs.dsu.edu\/wp-content\/uploads\/sites\/6\/2023\/11\/full2.png 815w, https:\/\/blogs.dsu.edu\/wp-content\/uploads\/sites\/6\/2023\/11\/full2-300x170.png 300w, https:\/\/blogs.dsu.edu\/wp-content\/uploads\/sites\/6\/2023\/11\/full2-768x434.png 768w\" sizes=\"(max-width: 655px) 100vw, 655px\" \/><figcaption class=\"wp-element-caption\">Unallocated space of a full format drive.<\/figcaption><\/figure><\/div>\n\n\n<p><strong>Recovering Data from a Full Format<\/strong><\/p>\n\n\n\n<p>In rare cases, data can still be recovered from older disk drives using electron microscopes. This is due to how bits are electronically stored on older devices. This method involves estimating the bit value that was originally stored on the drive, which normally has a 50% chance of getting a correct value<sup>iii<\/sup>. Many alternative formatting methods, such as Eraser and DBAN, overwrites existing data multiple times to decrease the chances of bits being able to be recovered. Even though there is a chance of recovering a single bit on a hard drive, the chances of recovering a large amount of data is nearly impossible on modern drives.<sup>iii<\/sup> Unless your old hard drive falls in the hands of someone who has an expensive electron microscope and a lot of time on their hands, a full format will safely prevent useful data recovery from occurring.<\/p>\n\n\n\n<p><strong>Conclusion<\/strong><\/p>\n\n\n\n<p>When formatting a drive within Windows, it is important to consider the different types of disk format options that can be executed, as well as the types of data recovery that can be performed. When buying, selling, or getting rid of used storage devices, it is important to uncheck the Quick Format option within Windows, as all the data that was located on the drive will be accessible to anyone who wants to examine it. Running a full format is the most secure choice you can make when formatting a drive and ensures that your personal data is deleted.<\/p>\n\n\n\n<p><strong>References<\/strong><\/p>\n\n\n\n<p><sup>i<\/sup><em>What is a Master File Table?<\/em> GeeksforGeeks. (2023, February 14)<br>https:\/\/www.geeksforgeeks.org\/what-is-a-master-file-table\/<\/p>\n\n\n\n<p><sup>ii<\/sup><em>Master File Table (Local File Systems).<\/em> Windows App Development Documentation. (n.d.)<br>https:\/\/learn.microsoft.com\/en-us\/windows\/win32\/fileio\/master-file-table\/<sup><\/sup><\/p>\n\n\n\n<p><sup>iii <\/sup>Wright, C. (2009, January 15). <em>Overwriting Hard Drive Data. <\/em>SANS Institute Blog.<br>https:\/\/www.sans.org\/blog\/overwriting-hard-drive-data\/<\/p>\n","protected":false},"excerpt":{"rendered":"<p>When removing data from a storage device, such as a USB or hard disk drive, it is important to consider the method in which the&#8230;<\/p>\n<div class=\"more-link-wrapper\"><a class=\"more-link\" href=\"https:\/\/blogs.dsu.edu\/digforce\/2023\/11\/14\/formatting-hard-drives-within-windows\/\">Continue reading<span class=\"screen-reader-text\">Formatting Hard Drives Within Windows<\/span><\/a><\/div>\n","protected":false},"author":22,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[39,9,7,38,40,41,37],"ppma_author":[49],"class_list":["post-240","post","type-post","status-publish","format-standard","hentry","category-digital-forensics","tag-data-recovery","tag-dfir","tag-digital-forensics","tag-full-format","tag-hard-drive","tag-imaging","tag-quick-format","entry"],"authors":[{"term_id":49,"user_id":22,"is_guest":0,"slug":"william-campbell","display_name":"William Campbell","avatar_url":"https:\/\/secure.gravatar.com\/avatar\/1636d085a674df5fa68672e6f7bfafa1?s=96&d=mm&r=g","author_category":"","first_name":"William","last_name":"Campbell","user_url":"","job_title":"","description":""}],"_links":{"self":[{"href":"https:\/\/blogs.dsu.edu\/digforce\/wp-json\/wp\/v2\/posts\/240"}],"collection":[{"href":"https:\/\/blogs.dsu.edu\/digforce\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogs.dsu.edu\/digforce\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.dsu.edu\/digforce\/wp-json\/wp\/v2\/users\/22"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.dsu.edu\/digforce\/wp-json\/wp\/v2\/comments?post=240"}],"version-history":[{"count":1,"href":"https:\/\/blogs.dsu.edu\/digforce\/wp-json\/wp\/v2\/posts\/240\/revisions"}],"predecessor-version":[{"id":247,"href":"https:\/\/blogs.dsu.edu\/digforce\/wp-json\/wp\/v2\/posts\/240\/revisions\/247"}],"wp:attachment":[{"href":"https:\/\/blogs.dsu.edu\/digforce\/wp-json\/wp\/v2\/media?parent=240"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.dsu.edu\/digforce\/wp-json\/wp\/v2\/categories?post=240"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.dsu.edu\/digforce\/wp-json\/wp\/v2\/tags?post=240"},{"taxonomy":"author","embeddable":true,"href":"https:\/\/blogs.dsu.edu\/digforce\/wp-json\/wp\/v2\/ppma_author?post=240"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}