PowerShellAccessControl Module 3.0/4.0

Provides an easy way to view and modify security descriptors for most securable objects in Windows, including files, folders, registry keys, services, printers, shares, processes, and more. Pretty much any action possible from the ACL Editor can be performed with this module.

 
 
 
 
 
4.8 Star
(31)
24,256 times
Add to favorites
Security
4/25/2015
E-mail Twitter del.icio.us Digg Facebook
Sign in to ask a question


  • File names with [0] break the script
    1 Posts | Last post January 04, 2019
    • I can see that "function GetPathInformation" does not like files names that contain square brackets but was unable to fix the issue
  • Where I can find the version 4?
    1 Posts | Last post December 07, 2018
    • I cannot find the script, alwyas got the v3.
  • Add-PACAccessControlEntry
    1 Posts | Last post October 17, 2018
    • Hi, thats very great job!
      But in new version cmdlet Add-PACAccessControlEntry hasn`t -ServiceAccessRights parameter.
  • Help description in Add-AccessControlEntry
    1 Posts | Last post September 06, 2018
    • Seems to be for Remove-AccessControlEntry :)
      
      Fantastic module btw :)
  • PS Gallery
    1 Posts | Last post July 10, 2018
    • I know a few people have asked this already, but will this module be uploaded to the PS Gallery any time soon? Thank you, and fantastic work! 
  • 'None': The RPC server is unavailable
    1 Posts | Last post June 09, 2017
    • Hello Rohn,
      
      I am getting the below error message while running the command. Could you please help on figuring why I am getting this error message. Thanks for your help.
      
      dir “\\Servername\Share" -Recurse -Directory | Get-EffectiveAccess -Principal “user” | Export-CSV "\\c:\temp\output.csv"
       
      ConvertToIdentityReference : Looking up SID for 'None': The RPC server is unavailable
      At C:\windows\system32\windowspowershell\v1.0\Modules\PowerShellAccessControl\PowerShellAccessControl.psm1:3481 char:76
      +                         $NewSd.SecurityDescriptor.Group = $ShareSd.Group | Conve ...
      +                                                                            ~~~~~
          + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException
          + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,ConvertToIdentityReference
  • Module version 4.x
    1 Posts | Last post May 26, 2017
    • It seems that version 4 of this module removed the -WmiNamespaceRights parameter from the Add-AccessControlEntry and Add-PacAccessControlEntry cmdlets.
      
      Rohn,
      
      Was there a reason for this? Am I missing something? Was this parameter replaced by another? I didn't see a reference to it.  Apologies in advance if I overlooked something.
  • Make Source Available / Publish to Gallery
    1 Posts | Last post March 20, 2017
    • Hullo! I see previously you intended to publish to the PowerShellGallery last year - if you're still interested in doing so and/or in making your source available on GitHub or GitLab, I've got bandwidth to help out!
      
      Cheers!
      
      -Mike
  • SetSecurityInfo : Setting security descriptor for 'CN=grup,OU=Security Groups,OU=MANAGED OBJECTS,DC=my,DC=domain,DC=com': Access is denied
    2 Posts | Last post November 28, 2016
    • Hi Rohn, 
      
      and thank you very much for this module 
      
      I am trying to use this module to grant access to a security group over another security group in AD and I receive this error: 
      
      SetSecurityInfo : Setting security descriptor for 'CN=grup,OU=Security Groups,OU=MANAGED OBJECTS,DC=my,DC=domain,DC=com': Access is denied
      At C:\Windows\System32\WindowsPowerShell\v1.0\Modules\PowerShellAccessControl\PowerShellAccessControl.psm1:2122 char:21
      +                     SetSecurityInfo @SetSdParams @SdParts
      +                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException
          + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,SetSecurityInfo
       
      Can you please have a look and advice? 
      
      Regards and thank you in advance!
      
      
    • Thanks for using it!
      
      First, are you running the command with an account that has privileges to modify the security group? If you're running from a DC, are you running the command elevated? Also, have you tried the version 4 module instead of the version 3 one?
  • Powershell Gallery?
    2 Posts | Last post April 07, 2016
    • Are there any plans to register this module on powershellgallery.com? 
    • Yes. The plan is to finalize version 4, which should just mean fixing a few small bugs I've known about for a while, updating the help, and implementing one or two more features I've been meaning to get around to. At that time, I'll take the "preview" title off of it and look into getting it on PowerShellGallery.com. Thanks for the interest!
1 - 10 of 31 Items