Answer the question
In order to leave comments, you need to log in
Flew NTFS ACL?
Good health, colleagues.
There is a DC server with redirected docks, the folders themselves are on it.
After the restoring, the rights to the personal and public folders of users were lost from the backup.
How can I restore or re-attach the necessary rights in bulk? at least for personal folders
, of course, the names of accounts and folders are the same
Answer the question
In order to leave comments, you need to log in
for mass work with rights, there are command-line utilities cacls and icacls. if the "mass character" built into them (the ability to cover the volume of the file structure that interests you) is not enough - scripts and tools for working with the windows file system tree will help (here I will not tell you anymore; I'm sure there is some analogue in powershell find from linux).
well, what rights you attach to which files and folders using these tools - you know better. in extreme cases, declare yourself the owner of everything you can reach, with the exception of system directories.
There is a SetACL with the function of creating a backup of access rights and restoring them.
https://helgeklein.com/setacl/examples/managing-fi...
There is an NTFSSecurity module for Powershell - you can try it https://github.com/raandree/NTFSSecurity
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question