Windows 10: I want to grant permission to sub folders and files from parent using command.

Discus and support I want to grant permission to sub folders and files from parent using command. in Windows 10 Network and Sharing to solve the problem; I want to grant permission to sub folders and files from parent using command. I tried to this command: ICACLS "file or folder" /grant Everyone /t... Discussion in 'Windows 10 Network and Sharing' started by seyoon seyoon, Mar 5, 2020.

  1. I want to grant permission to sub folders and files from parent using command.


    I want to grant permission to sub folders and files from parent using command.

    I tried to this command:


    ICACLS "file or folder" /grant Everyone /t


    This commands can grant permission to sub folders and files to 'Everyone' user.

    But it is not I want.


    Parent folder can be accessed by the following users:

    IUSR

    SYSTEM

    and so on...


    I want to inherit all users who have access to the parent folder to the subfolders or files.

    In other words, ICACLS "file or folder" /grant All Users with access to the parent folder /t


    Is it possible?

    Please help me~

    :)
     
    seyoon seyoon, Mar 5, 2020
    #1

  2. Copy folder and retaining permissions of sub folders

    Hi

    We have a system where to open a job, we copy a template folder which in itself has sub folders. In it there is a sub-folder where not everyone is allowed to see.

    When we copy the template and paste it to create job, all permissions set in the template sub folders are changed to that of parent folder. maybe this example can help.

    Template

    Folder 1 (exclusive permissions)

    Folder 2 (same as parent permissions

    Copy and Paste Template Folder

    Folder 1 (now takes same as parent permissions)

    Folder 2 (same as parent permissions
     
    RodneyXerri, Mar 5, 2020
    #2
  3. DaveM121 Win User
    DIR of folders & sub-folders in WIN 10

    Hi Bob,

    Open Command Prompt, navigate to the parent folder (Your Music fioder) and run this command

    dir /s /b /o:n /ad > List.txt

    A new text file will be created in the parent folder with a list of all sub folders, but not the mp3 files

    That's It!
     
    DaveM121, Mar 5, 2020
    #3
  4. I want to grant permission to sub folders and files from parent using command.

    Folder Permissions not working on some folders

    As found in this ServerFault answer, try with the following steps to change ownership and permission on many files and folders in one batch from command line:

    • Open a Command Prompt "As Administrator"
    • Run the following commands:

    takeown /f YourDrive:\YourFolder /r /d y

    icacls YourDrive:\YourFolder /grant administrators:F /T

    HTH
     
    PiscopoGiuseppe, Mar 5, 2020
    #4
Thema:

I want to grant permission to sub folders and files from parent using command.

Loading...
  1. I want to grant permission to sub folders and files from parent using command. - Similar Threads - grant permission sub

  2. Windows permissions in sub folders

    in Windows 10 Gaming
    Windows permissions in sub folders: Hi! I have a folder in windows and this folder contains sub folders. I want to allow group of users to view the files in the main folder but deny them to drag a folder inside another folder. And I want this group to have full control permissions inside all the sub...
  3. Windows permissions in sub folders

    in Windows 10 Software and Apps
    Windows permissions in sub folders: Hi! I have a folder in windows and this folder contains sub folders. I want to allow group of users to view the files in the main folder but deny them to drag a folder inside another folder. And I want this group to have full control permissions inside all the sub...
  4. Windows permissions in sub folders

    in Windows 10 Network and Sharing
    Windows permissions in sub folders: Hi! I have a folder in windows and this folder contains sub folders. I want to allow group of users to view the files in the main folder but deny them to drag a folder inside another folder. And I want this group to have full control permissions inside all the sub...
  5. I have given Special permissions to view only a sub folder, I don't want to see the parent...

    in Windows 10 Network and Sharing
    I have given Special permissions to view only a sub folder, I don't want to see the parent...: Basically I want a user to view the subfolder in say example: \\server\parentfolder\subfolder, I don't want them to see the parent folder. User doesn't have access to a drive the parent folder which access is controlled by a group. I want the user to see one folder in that...
  6. Grant Program Permission to Write Files

    in Windows 10 Support
    Grant Program Permission to Write Files: Program is installed, upon first starting files are required to be written but access is not granted and I'm told to check permissions to folder in programdata, I've tried allowing everything but still the program has same error message. 179713
  7. How grant folder from command prompt

    in AntiVirus, Firewalls and System Security
    How grant folder from command prompt: Hi I need to redirect Windows logs folder by mklink command but before creating a link the source folder must be deleted and when I using rmdir command, it reports access denied. To solving this problem I have to change folders permission manually. But I need a command to...
  8. I want to show sub-folder documents in file explorer

    in Windows 10 Customization
    I want to show sub-folder documents in file explorer: I am setting up libraries in Windows 10 version 1909. In Windows 7 I had 4 top-level folder locations in my Documents library, most have subfolders. When I view my Document library in Windows 7 File Explorer, I display using Detail view, grouped and sorted by modified date....
  9. Granting user permission on files and folders

    in Windows 10 Network and Sharing
    Granting user permission on files and folders: My brother was recently playing with the settings and ended up denying all kind of permission read, write, modify etc to my photograph folder. I had a tough time trying to fix it because i couldn't open it, nor copy it, even it's security tab was not readable. After enough...
  10. Copy folder and retaining permissions of sub folders

    in Windows 10 Network and Sharing
    Copy folder and retaining permissions of sub folders: Hi We have a system where to open a job, we copy a template folder which in itself has sub folders. In it there is a sub-folder where not everyone is allowed to see. When we copy the template and paste it to create job, all permissions set in the template sub folders are...