-
Notifications
You must be signed in to change notification settings - Fork 3
Home
James Kehr edited this page Sep 7, 2022
·
3 revisions
The SMBSecurity module modifies the Security Descriptors (SD) for Windows SMB Server. The SDs for SMB Server, known as LanmanServer or the Server service, control access to the file and print shares in Windows. Operations such as, which accounts can access the admin shares (C$, D$, etc.), view share details, modify shares, and so on.
This wiki covers SMBSecurity usage and terminology for the module.
The SMBSecurity module requires Windows PowerShell 5.1 or PowerShell 7.2.
The module is tested on Windows Server 2016 and newer, and Windows 10/11. The module may work with Windows Server 2012 [R2], but it is currently untested and unsupported due to being near end of life.
Development on this project has ended in a pre-release state. Please use with extreme caution! |
This project can be used AS-IS, with no warranties, guarantees, or support of any kind! A registry setting backup file is created prior to any change being committed. Use that reg file to restore the previous state, then restart the Server (LanmanServer) service to restore the old security state. |
📝 NOTE |
---|
The -ComputerName parameter is currently not supported! Please use PSRemoting to manage servers remotely. |