{"id":7730,"date":"2016-09-17T16:24:15","date_gmt":"2016-09-17T16:24:15","guid":{"rendered":"http:\/\/www.top-password.com\/blog\/?p=7730"},"modified":"2016-09-17T16:24:15","modified_gmt":"2016-09-17T16:24:15","slug":"how-to-manually-clear-or-set-dirty-bit-on-windows-volume","status":"publish","type":"post","link":"https:\/\/www.top-password.com\/blog\/how-to-manually-clear-or-set-dirty-bit-on-windows-volume\/","title":{"rendered":"How to Manually Clear or Set Dirty Bit on Windows Volume"},"content":{"rendered":"<p>When a dirty bit is set on a volume, Windows automatically performs a disk checking the next time the computer is restarted. You can run the <strong>chkntfs<\/strong> command at the Command Prompt to check if a volume is dirty, but there is no way to clear the dirty bit unless you let Windows go through disk scanning at boot.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-7731\" alt=\"disk-dirty\" src=\"https:\/\/www.top-password.com\/blog\/wp-content\/uploads\/2016\/09\/disk-dirty.png\" width=\"534\" height=\"186\" \/><\/p>\n<p>In this tutorial we&#8217;ll show you how to manually clear or set the dirty bit for a NTFS &amp; FAT32 volume in Windows 10, 8, 7, Vista and XP. The procedure requires you to use a disk editor software such as WinHex. If you want to edit the dirty bit for a system volume currently in use, you need to use a WinPE bootable CD to boot off your PC.<\/p>\n<p><strong>How to Manually Clear or Set Dirty Bit on Windows Volume?<\/strong><\/p>\n<p>To get started, open WinHex as administrator rights. Click the <strong>Tools<\/strong> menu and select <strong>Open Disk<\/strong>.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-7732\" alt=\"open-disk-with-winhex\" src=\"https:\/\/www.top-password.com\/blog\/wp-content\/uploads\/2016\/09\/open-disk-with-winhex.png\" width=\"531\" height=\"274\" \/><\/p>\n<p>When prompted to select a drive for editing, choose the logical volume you want to edit the dirty bit on, and then click <strong>OK<\/strong>.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-7733\" alt=\"edit-logical-volume\" src=\"https:\/\/www.top-password.com\/blog\/wp-content\/uploads\/2016\/09\/edit-logical-volume.png\" width=\"395\" height=\"432\" \/><\/p>\n<p><strong>For FAT32 Volume:<\/strong><\/p>\n<p>Click on &#8220;<strong>Boot sector<\/strong>&#8221; at the directory browser. The dirty bit for FAT32 volume is located at offset 0x41. If this volume is dirty, the bit should be 01. Just change 01 to 00 and then save your changes back to disk, now you&#8217;ve successfully cleared the dirty bit.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-7734\" alt=\"fat32-dirty-bit\" src=\"https:\/\/www.top-password.com\/blog\/wp-content\/uploads\/2016\/09\/fat32-dirty-bit.png\" width=\"600\" height=\"240\" \/><\/p>\n<p><strong>For NTFS Volume:<\/strong><\/p>\n<p>Click on <strong>$Volume<\/strong> at the directory browser. The offset location of the dirty bit is slightly different on every NTFS volume. To locate the dirty bit, look for a hex string of <strong>13<\/strong> bytes, beginning with <strong>03 01<\/strong>, ending with <strong>80 00 00 00 18<\/strong>. You should be able to find a match within the first or second sector.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-7735\" alt=\"ntfs-dirty-bit\" src=\"https:\/\/www.top-password.com\/blog\/wp-content\/uploads\/2016\/09\/ntfs-dirty-bit.png\" width=\"600\" height=\"268\" \/><\/p>\n<p>The dirty bit is the 3th byte of the hex string that I&#8217;ve circled with red line. To set a dirty flag on the drive, just change it to 01. Or change it to 00 if you want to clear the dirty flag.<\/p>\n<p>When it&#8217;s done, commit the change to the disk.<\/p>\n<!-- AddThis Advanced Settings generic via filter on the_content --><!-- AddThis Share Buttons generic via filter on the_content -->","protected":false},"excerpt":{"rendered":"<p>When a dirty bit is set on a volume, Windows automatically performs a disk checking the next time the computer is restarted. You can run the chkntfs command at the Command Prompt to check if a volume is dirty, but there is no way to clear the dirty bit unless you let Windows go through [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1,10,1894,3,39,5,4],"tags":[2948,2950,2949,2951],"class_list":["post-7730","post","type-post","status-publish","format-standard","hentry","category-others","category-tips-tricks","category-windows-10","category-windows-7","category-windows-8","category-windows-vista","category-windows-xp","tag-clear-dirty-bit-for-windows-volume","tag-clear-dirty-bit-in-windows","tag-clear-volume-dirty-flag","tag-set-dirty-bit-on-drive"],"_links":{"self":[{"href":"https:\/\/www.top-password.com\/blog\/wp-json\/wp\/v2\/posts\/7730","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.top-password.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.top-password.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.top-password.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.top-password.com\/blog\/wp-json\/wp\/v2\/comments?post=7730"}],"version-history":[{"count":5,"href":"https:\/\/www.top-password.com\/blog\/wp-json\/wp\/v2\/posts\/7730\/revisions"}],"predecessor-version":[{"id":7740,"href":"https:\/\/www.top-password.com\/blog\/wp-json\/wp\/v2\/posts\/7730\/revisions\/7740"}],"wp:attachment":[{"href":"https:\/\/www.top-password.com\/blog\/wp-json\/wp\/v2\/media?parent=7730"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.top-password.com\/blog\/wp-json\/wp\/v2\/categories?post=7730"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.top-password.com\/blog\/wp-json\/wp\/v2\/tags?post=7730"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}