How to apply existing folder NTFS permission to the New Folder will be created in same drive.

Pawan Kumar 0 Reputation points
2024-07-17T06:43:10.2466667+00:00

I have a created a Folder named (SALES) in D:\ drive and made some subfolders as Senior and Junior under SALES folder and assigned NTFS permissions to different different Sub folders. Now i created a new folder (HR) under D:\ drive with same 02 subfolders under this folder. Is there any option to apply all those NTFS permission i applied in sales folder will auto applied in new HR folder.

Windows Server 2019
Windows Server 2019
A Microsoft server operating system that supports enterprise-level management updated to data storage.
3,599 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Zunhui Han 960 Reputation points Microsoft Vendor
    2024-07-17T09:11:18.8833333+00:00

    Hi Pawan Kumar,

    Thank you for posting in Q&A forum.

    You can use robocopy to copy files and ntfs permissions according to your needs. Open cmd as an administrator and run the following command, replacing the bold parts with the source and destination addresses of the file respectively:

    robocopy <source path> <destination path> /Copyall /E /dcopy:T /b /R:3 /W:1 /Log:C:\robocopy-log.txt /tee

    User's image

    https://learn.microsoft.com/en-us/windows-server/administration/windows-commands/robocopy

    I hope the information above is helpful.

    Best regards

    Zunhui

    ============================================

    If the Answer is helpful, please click "Accept Answer" and upvote it.

    0 comments No comments