How to Allow or Deny Access Permissions to Users and Groups in Windows 8 from Command prompt?


If you want to set permission for a file, folder or drive for a specific user or user group in Windows 8, read this

Option Missing Image



There are several types of permission for a file/folder/drive in any Operating System. The permission parameters change depending on the Operating Systems. The permission parameters and corresponding access for Windows 8 is enlisted below.

Permission Parameter Access
N Deny all access
D Remove user or group for no access
R Read only access
W Write only access
RX Read and execute access
F Full access

You may want to prevent other users viewing your personal information, picture or any other files. It may be the security reason or anything else. If you want to restrict some user or user group’s permission to some certain files, folders or drives, then you must have the administrative privilege. Once you have that, you can easily set permissions for other users or user groups. If you set permission for a directory, then the permission for all the sub-directories of that directory will inherit the same permission for that user or user group form the respective directive automatically.

1. Open the quick Access Menu by pressing Windows + X.

2. Now select Command Prompt(Admin).

Quick Access Menu

3. This will open the Elevated Command Prompt.

Method For Files

Now type the following without quotes

“icacls ‘full path to the file’ /grant ‘user name or group’:permission”

Change ‘full path to the file’ and ‘user name or group’ according to your need.
Replace Permission with the appropriate one from the table given above.

command for File Permission

Method For Folders or Drives

Now type the following without quotes

“icacls ‘full path to the file’ /grant ‘user name or group’:permission /T”

Change ‘full path to the file’ and ‘user name or group’ according to your need.
Replace Permission with the appropriate one from the table given above.

command for Folder Permission

You can also type “icacls /?” in the Elevated Command Prompt to get a complete list of all these.

Related Posts Plugin for WordPress, Blogger...
How to Allow or Deny Access Permissions to Users and Groups in Windows 8 from Command prompt? 5/5 (100%) 1 vote



by - Was it helpful? Please bookmark it and spread the word

delicious   facebook   google   twitter  

Subscribe via Email:
E-Mail:
Here at windows8themes.org we make the new mobile OS a little easier to understand, plus we bring you the latest and best desktop themes that you will find anywhere. If you ever need help with Windows 8, simply contact us at win8themes@googlemail.com

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>