+ Post New Thread
Results 1 to 3 of 3
Windows 7 Thread, D Drive permissions in Technical; Hi everyone, we have a lot of students here studying media and photography as a result of which they created ...
  1. #1
    Bezwick's Avatar
    Join Date
    Feb 2008
    Thank Post
    Thanked 57 Times in 43 Posts
    Rep Power

    D Drive permissions

    Hi everyone, we have a lot of students here studying media and photography as a result of which they created very large temporary files. We block pupild access heree to the c: drive, however we have partitioned the system dribve into c: and D: and created a folder on the d: drive called media. This is copied from a network location, so that we can modify a single point, and contains empty copies of the pupils homespaces for them to store their temp files in.
    Periodically, probably every half term i would like to run a batch files which quick formats the d: drive then recreates the homespaces.
    I have created this batch file which works perfectly.

    format d: /v:Media /fs:NTFS /x /q /y
    robocopy /E /COPYSO \\server\ddrive\ d:\

    However, the quick format resets the permissions on the root of the d: drive back to "authenticated users full access". I want it to be pupils-read only, staff-read/write, administrators-full control.

    i have been looking at icacls, but i cant work out how to get it to set drive permissions, only file and folder ones.

    Can anyone help.


  2. #2
    User3204's Avatar
    Join Date
    Aug 2006
    Thank Post
    Thanked 66 Times in 62 Posts
    Rep Power
    icacls d:\ /remove:g "authenticated users" /t

    [that's: icacls d : \ /remove : g "authenticated users" /t since the colons'll get changed into smilies]

    Then you can change the permissions onto any other subfolders.
    Last edited by User3204; 29th May 2012 at 11:36 PM.

  3. #3

    Join Date
    Feb 2007
    51.403651, -0.515458
    Thank Post
    Thanked 2,821 Times in 2,082 Posts
    Rep Power
    Quote Originally Posted by User3204 View Post
    the colons'll get changed into smilies
    That's what the CODE tags are for.

    icacls d:\ /remove:g "authenticated users" /t
    Last edited by Arthur; 29th May 2012 at 11:50 PM.

+ Post New Thread

Similar Threads

  1. Client local drive permissions
    By _Bat_ in forum Windows
    Replies: 0
    Last Post: 7th January 2011, 10:17 AM
  2. SIMS - S: drive permissions
    By Geoff in forum MIS Systems
    Replies: 17
    Last Post: 19th November 2009, 10:28 AM
  3. Shared Photos Drive - Permissions
    By bsm78 in forum How do you do....it?
    Replies: 8
    Last Post: 30th March 2009, 12:12 PM
  4. C:\ Drive Permissions etc
    By Silvor in forum Windows
    Replies: 7
    Last Post: 7th February 2008, 06:15 PM
  5. User drive permissions and ownership
    By OutLawTorn in forum Scripts
    Replies: 0
    Last Post: 30th November 2007, 12:15 AM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts