How to change multiple files NTFS access rights list by command line

When you have to change ACL on huge amount of files (eg. give yourself rights to delete Vista files form a secondary partition 😉 ), you have to way’s to do that:

  1. sit all day changing ACL to small groups of files repeatedly, cause trying to call „Properties” on a huge amount of files will take forever
  2. use a command line tool which will set ACL for each file based on wild cards.

I prefer the second solution. Windows has a neat command line tool that does just the thing, cacls, eg:

cacls * /T /G MyUser:F

Of course you have to have rights to change file rights in the first place 😉

Leave a Reply

Back to Top