# Fast change of NTFS rights?

**URL:** <https://forums.powershell.org/t/fast-change-of-ntfs-rights/20967>\
**Category:** PowerShell Help\
**Created:** [November 19, 2022, 4:07pm UTC](https://forums.powershell.org/t/fast-change-of-ntfs-rights/20967 "2022-11-19T16:07:54Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![AndreasHGW](https://avatars.discourse-cdn.com/v4/letter/a/848f3c/32.png) [@AndreasHGW](https://forums.powershell.org/u/AndreasHGW)\
**Post date:** [November 19, 2022, 4:07pm UTC](https://forums.powershell.org/t/fast-change-of-ntfs-rights/20967/1 "2022-11-19T16:07:54Z")

</div>

Hello

I have a folder with million of files and a have to change several access rights.  
I tried it ones via the windows explorer. This process took over 10 hours.  
Is there any possibility (maybe with powershell) to change NTFS rights much faster?

---

<div class="post-metadata">

**Author:** ![neemobeer](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.powershell.org/neemobeer/32/4087_2.png) [@neemobeer](https://forums.powershell.org/u/neemobeer)\
**Post date:** [November 20, 2022, 3:22pm UTC](https://forums.powershell.org/t/fast-change-of-ntfs-rights/20967/2 "2022-11-20T15:22:58Z")

</div>

You might be able to achieve faster times by using jobs or runspaces. You are likely to be bound by access to the MFT which is where all the meta data including permissions are stored for files.

---

<div class="post-metadata">

**Author:** ![tonyd](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.powershell.org/tonyd/32/1041_2.png) [@tonyd](https://forums.powershell.org/u/tonyd)\
**Post date:** [November 21, 2022, 10:23pm UTC](https://forums.powershell.org/t/fast-change-of-ntfs-rights/20967/3 "2022-11-21T22:23:45Z")

</div>

What about commands such as cacls or icacls? Have you looked into that?

---

<div class="post-metadata">

**Author:** ![posh\_enjoyer](https://avatars.discourse-cdn.com/v4/letter/p/6a8cbe/32.png) [@posh\_enjoyer](https://forums.powershell.org/u/posh_enjoyer)\
**Post date:** [November 22, 2022, 2:01pm UTC](https://forums.powershell.org/t/fast-change-of-ntfs-rights/20967/4 "2022-11-22T14:01:44Z")

</div>

I have minimal experience with this and found command line vs gui did not save much time in the end. Saving 1-2 hours on a 10hour job was not a big improvement IMO.  
The biggest factor in performance is to make changes as close to the file system as possible, on the same host etc.

---

<div class="post-metadata">

**Author:** ![dotnVo](https://avatars.discourse-cdn.com/v4/letter/d/4af34b/32.png) [@dotnVo](https://forums.powershell.org/u/dotnVo)\
**Post date:** [May 16, 2024, 8:16pm UTC](https://forums.powershell.org/t/fast-change-of-ntfs-rights/20967/5 "2024-05-16T20:16:22Z")

</div>


