How to modify file and folder permissions in batches in Windows 7

  
                

When users modify permissions on multiple files or folders, they do not find a security tab in the properties, which makes it impossible to modify. What should we do in the face of this problem? Today Xiaobian tells you two ways to solve it.

Recommended: Win7 Spring Festival Edition Download

Solution:

Method One:

1. By command, first log in to the system using the administrator user. , then open a command prompt window, enter the icacls command in the command line program to modify the permissions of the folder or file, and the command also supports the recovery of folder or file permission settings;

Example: Br>

icacls c:windows* /save AclFile /T Save the ACLs of all files in c:windows and its subdirectories to AclFile;

icacls file /grant Administrator:(D,WDAC) Grant user admin rights to file delete and write to DAC;

icacls file /grant *S-1-1-0:(D,WDAC) will be granted by sid S-1-1-0 User's permission to delete files and write to DAC;

icacls c:windows /restore AclFile will restore ACLs for all files in AclFile that exist in c:windows and its subdirectories;

For more usage and information about the icacls command, you can use icacls in the command line.Check it out.

Method Two:

1, because by default, Windows system folder or file permissions are inherited, set permissions that apply to the parent folder will also quilt The folder and its files are inherited, so to implement batch permission modification, the user can put the folders and files that need to modify the permissions in a newly created folder, then right click on the newly created folder and select <;Properties>;

2. In the interface that opens again, switch to the “Security” tab, and then you can modify the permissions of the folder. The modified limit will be all subfolders and files contained in the application;

3, may be modified after the completion of movement in which the folders and files to the original storage path can be saved.

The above is the way to modify the file or folder permissions in batches under Win7. Users who need it can choose one of them to set.

Copyright © Windows knowledge All Rights Reserved