How to fix the permission of a folder using icacls

Ms 5 Reputation points
2023-06-05T13:36:24.4166667+00:00

I have chaged the permissions of (bin) folder and now I want to go back to be as the exact old settings but I dont know how to write the permissions commands using icacls

I also run the reset commands but it does not changed

Old settings

User's image

now

User's image

Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
10,499 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Shujun Chen (Shanghai Wicresoft Co Ltd) 5 Reputation points Microsoft Vendor
    2024-01-02T08:45:16.64+00:00

    Hello,

    Thank you for posting in Q&A forum.

    I believe you dominate icacls command well but need some instruction about more details to restore the permission.

    Please refer to below MS official documentation and you will find details inside:

    https://learn.microsoft.com/en-us/windows-server/administration/windows-commands/icacls

    Best regards,

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.