While you could do this at NTFS level, it takes time to apply recursively, time to reverse, and tools like the ADUC MMC put the permissions back. I recently needed to do this for multiple home shares in order to restrict 'Full Control'. HERE IS MY ORIGINAL PRE-POWERSHELL ANSWER: Grant-SmbShareAccess -Name example -AccountName Everyone -AccessRight Change -Force FOR ANYONE STILL FINDING THIS QUESTION, YOU CAN USE POWERSHELL: Grant-SmbShareAccess -Name example -AccountName Administrators -AccessRight Full -Force
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |