Donate Us : paypal.me/MicrosoftLab
Disable inheritance on a folder and file (Windows Server 2022)
1. Prepare
- DC21 : Domain Controller(Yi.vn) | DC22 : File Server | WIN111 : Client
2. Step by step : Disable inheritance on a folder's HiepIT
- DC22 : Create and share a folder named Share on C: drive, allow Everyone Full Control
- WIN111 : Logon using HiepIT
+ Start - \\DC22\Share
- Create a folder named HiepIT, create a file named "My report.txt" and enter text "This is my report. Do not change it, pls !"
- DC22 : Edit file "My report.txt" of HiepIT
+ File explorer - Share - HiepIT - Double-click "My report.txt" - Add text "Administrator edited this file" - Save - OK
- WIN111 : Disable inheritance on HiepIT folder
+ Right-click "HiepIT" - Properties - Security tab - Advanced - Disable inheritance - Remove all inherited permissions from this object
- OK - Add - Click 'Select a principal' - HiepIT - Check names - Allow Full control - OK
- DC22 : Test edit file "My report.txt" of HiepIT
+ Double-click HiepIT folder ==== recive message "You have been denied permission to access this folder" ^^
---------------------------------------******************** Youtube.com/c/MicrosoftLab ********************------------------------------------
Ещё видео!