{"id":10324,"date":"2026-02-14T00:22:45","date_gmt":"2026-02-14T00:22:45","guid":{"rendered":"https:\/\/www.hexacorn.com\/blog\/?p=10324"},"modified":"2026-02-14T00:22:45","modified_gmt":"2026-02-14T00:22:45","slug":"1-little-known-secret-of-icacls-exe","status":"publish","type":"post","link":"https:\/\/www.hexacorn.com\/blog\/2026\/02\/14\/1-little-known-secret-of-icacls-exe\/","title":{"rendered":"1 little known secret of icacls.exe"},"content":{"rendered":"\n<p>Continuing the tradition of exploring lesser-known features of very well-known executables today we will look at <em>icacls.exe<\/em> program.<\/p>\n\n\n\n<p><code>ICACLS<br>(Integrity Control Access Control List) is a command-line utility in Windows (Vista and later) used to view, modify, backup, or restore Access Control Lists (ACLs) for files and folders on NTFS systems. It serves as a modern, more capable replacement for the older cacls command, allowing administrators to manage permissions, user rights, and inheritance.<\/code><\/p>\n\n\n\n<p>There is an undocumented <em>\/dbg<\/em> command line argument we can add to<em> icacls.exe <\/em>program invocations that may help us to see additional, more granular information in the output.<\/p>\n\n\n\n<p>For instance, <\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">icacls notepad.exe <br>vs.<br>icacls notepad.exe \/dbg<\/pre>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><a href=\"https:\/\/www.hexacorn.com\/blog\/wp-content\/uploads\/2026\/02\/icacls_dbg.png\"><img decoding=\"async\" src=\"https:\/\/www.hexacorn.com\/blog\/wp-content\/uploads\/2026\/02\/icacls_dbg.png\" alt=\"\" class=\"wp-image-10325\" width=\"512\" srcset=\"https:\/\/www.hexacorn.com\/blog\/wp-content\/uploads\/2026\/02\/icacls_dbg.png 879w, https:\/\/www.hexacorn.com\/blog\/wp-content\/uploads\/2026\/02\/icacls_dbg-300x142.png 300w, https:\/\/www.hexacorn.com\/blog\/wp-content\/uploads\/2026\/02\/icacls_dbg-768x363.png 768w, https:\/\/www.hexacorn.com\/blog\/wp-content\/uploads\/2026\/02\/icacls_dbg-500x237.png 500w\" sizes=\"(max-width: 879px) 100vw, 879px\" \/><\/a><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>Continuing the tradition of exploring lesser-known features of very well-known executables today we will look at icacls.exe program. ICACLS(Integrity Control Access Control List) is a command-line utility in Windows (Vista and later) used to view, modify, backup, or restore Access &hellip; <a href=\"https:\/\/www.hexacorn.com\/blog\/2026\/02\/14\/1-little-known-secret-of-icacls-exe\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[126,56],"tags":[],"_links":{"self":[{"href":"https:\/\/www.hexacorn.com\/blog\/wp-json\/wp\/v2\/posts\/10324"}],"collection":[{"href":"https:\/\/www.hexacorn.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.hexacorn.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.hexacorn.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hexacorn.com\/blog\/wp-json\/wp\/v2\/comments?post=10324"}],"version-history":[{"count":1,"href":"https:\/\/www.hexacorn.com\/blog\/wp-json\/wp\/v2\/posts\/10324\/revisions"}],"predecessor-version":[{"id":10326,"href":"https:\/\/www.hexacorn.com\/blog\/wp-json\/wp\/v2\/posts\/10324\/revisions\/10326"}],"wp:attachment":[{"href":"https:\/\/www.hexacorn.com\/blog\/wp-json\/wp\/v2\/media?parent=10324"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.hexacorn.com\/blog\/wp-json\/wp\/v2\/categories?post=10324"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.hexacorn.com\/blog\/wp-json\/wp\/v2\/tags?post=10324"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}