How to change drive access permission using command line.


  1. Posts : 2
    windows 7
       #1

    How to change drive access permission using command line.


    Hi,

    When I look on the Security tab of the drive's properties I see:
    Group or usernames:
    Authenticated Users SYSTEM Administrators (MyComputer\Administrators) Users (MyComputer\Users

    Now if I click on "Advanced" option.
    I get a page where I can change permissions for the users in the ACL.
    Suppose I click on "Edit".
    I get a page named Permission Entry for Local Disk, where I can change permissions.
    On the same page we have "Apply to" option, which we can use if we want to apply those
    permissions specifically on folders or subfolders or only files.

    My question, what command we need to use if I want to change the permission and apply them
    to specific folders or subfolders or files for a particular user in ACL. using command line.

    Any help is appreciable.
    Thanks
    Prince
      My Computer


  2. Posts : 5,440
    Microsoft Windows 7 Home Premium 64-bit 7601 Multiprocessor Free Service Pack 1
       #2

    Would this be what you re looking for?
    How to grant permission to users for a directory using command line in Windows? - Stack Overflow
    NOTE the first comment below the main part in the link re depracated code.
      My Computer


  3. Posts : 2
    windows 7
    Thread Starter
       #3

    No, This is how you give permissions to users in the ACL, once the permission is given I want that permission to get associated with folders or subfolders.
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 09:58.
Find Us