?
Solved

icacls syntax in W2K3 Server

Posted on 2009-02-13
2
Medium Priority
?
573 Views
Last Modified: 2012-05-06
I am running W2K3 Server and I need to grant multiple users (several hundred) Full control to their individual home folder.  Each person  currently has modify rights.  The path to the folders are \\<Server>\Students\<gradyr>\<student-folder>.   I want to be able to use icacls to modify all of the individual student folders at once.  Can someone please give me the syntax I need to use?  I am horrible at any kind of scripting.
0
Comment
Question by:salkeiz
  • 2
2 Comments
 

Accepted Solution

by:
salkeiz earned 0 total points
ID: 23635713
I have found the solution.
0
 

Author Comment

by:salkeiz
ID: 23635773
for /f "tokens=1-3 delims=_" %%a in ('dir /b \\server\Students\gradyr') do icacls "\\server\students\gradyr\%%a_%%b_%%c" /grant:r athena\%%c:(OI)(CI)F
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Setting up a Microsoft WSUS update system is free relatively speaking if you have hard disk space and processor capacity.   However, WSUS can be a blessing and a curse. For example, there is nothing worse than approving updates and they just have…
ADCs have gained traction within the last decade, largely due to increased demand for legacy load balancing appliances to handle more advanced application delivery requirements and improve application performance.
This video Micro Tutorial explains how to clone a hard drive using a commercial software product for Windows systems called Casper from Future Systems Solutions (FSS). Cloning makes an exact, complete copy of one hard disk drive (HDD) onto another d…
With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…

829 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question