{"id":1752,"date":"2014-12-17T01:42:56","date_gmt":"2014-12-17T01:42:56","guid":{"rendered":"http:\/\/www.obieta.com\/?p=1752"},"modified":"2014-12-17T01:42:56","modified_gmt":"2014-12-17T01:42:56","slug":"resetting-ntfs-files-security-and-permission","status":"publish","type":"post","link":"http:\/\/obieta.com\/?p=1752","title":{"rendered":"Resetting NTFS files security and permission"},"content":{"rendered":"<p>After some research, it turned out the tool \u201ccacls\u201d that allows one to display or change ACLs (access control lists) can help to reset ACLs.<\/p>\n<p>In Windows 7 it is called \u201cicalcs\u201d. To reset files permissions:<\/p>\n<p>1. Run \u201ccmd\u201d as Administrator<\/p>\n<p>2. Go to the drive or folder in question, for example:<\/p>\n<blockquote>\n<p>CD \/D D:<\/p>\n<\/blockquote>\n<p>3. To reset all the files permissions, type:<\/p>\n<blockquote>\n<p>icacls * \/T \/Q \/C \/RESET<\/p>\n<\/blockquote>\n<p>4. And that\u2019s it!<\/p>\n<p>After that, the files permissions were reset and I could access them back again.<\/p>\n<p>Update:<\/p>\n<blockquote>\n<p>It is possible that \u201cicacls\u201d might fail. For that try to take ownership of the files first.<\/p>\n<p>Just before Step (3), please type the following command:<\/p>\n<p>takeown \/R \/F *<\/p>\n<\/blockquote>\n","protected":false},"excerpt":{"rendered":"<p>After some research, it turned out the tool \u201ccacls\u201d that allows one to display or change ACLs (access control lists) can help to reset ACLs. In Windows 7 it is called \u201cicalcs\u201d. To reset files permissions: 1. Run \u201ccmd\u201d as Administrator 2. Go to the drive or folder in question, for example: CD \/D D: [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[1,8],"tags":[],"_links":{"self":[{"href":"http:\/\/obieta.com\/index.php?rest_route=\/wp\/v2\/posts\/1752"}],"collection":[{"href":"http:\/\/obieta.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/obieta.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/obieta.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/obieta.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1752"}],"version-history":[{"count":0,"href":"http:\/\/obieta.com\/index.php?rest_route=\/wp\/v2\/posts\/1752\/revisions"}],"wp:attachment":[{"href":"http:\/\/obieta.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1752"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/obieta.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1752"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/obieta.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1752"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}