I've had some problems in my server and now I need to give some write-permissions on some folders, but I have a lot of folders to do it.

My server is Windows Server 2008, and if I select all folder make a right-click and properties, there's no tab 'Security' to change permissions, I can do it one by one but I lost much time.

Is there any way to give these permissions on my folder fastly ?

Thank you!


There are some options, although Im surprised selecting a group and right clicking doesnt give you security.. Anyway

Check out icacls.

icacls c:\windows\* /save AclFile /T
- Will save the ACLs for all files under c:\windows
  and its subdirectories to AclFile.

icacls c:\windows\ /restore AclFile
- Will restore the Acls for every file within
  AclFile that exists in c:\windows and its subdirectories.

icacls file /grant Administrator:(D,WDAC)
- Will grant the user Administrator Delete and Write DAC
  permissions to file.

icacls file /grant *S-1-1-0:(D,WDAC)
- Will grant the user defined by sid S-1-1-0 Delete and
  Write DAC permissions to file.
  • 1
    No, pitfal is that it does not shows Security tab when selecting group of files and/or folders. – Kromster Aug 24 '11 at 4:44

VBscript. That's the old school Windows way.

Server 2008 comes with Powershell. Try that.


You can use my scripts for automating this task:


Put both script to directory and run uac.js. For all hierarchy belong this directory scripts restore ownership and grand full access for All.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.