Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: How to change drive access permission using command line.

13 Mar 2013   #1
prince7

windows 7
 
 
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 System SpecsSystem Spec
.
13 Mar 2013   #2
mitchell65

Microsoft Windows 7 Home Premium 64-bit 7601 Multiprocessor Free Service Pack 1
 
 

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 System SpecsSystem Spec
13 Mar 2013   #3
prince7

windows 7
 
 

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 System SpecsSystem Spec
.

Reply

 How to change drive access permission using command line.




Thread Tools Search this Thread
Search this Thread:

Advanced Search




Similar help and support threads
Thread Forum
I want to change realtek's sound format by using command line
Sound quality is changed by format, so I change the format many times. When I see a movie, then change to 24 48khz or 192. But many musics are 44.1khz so when I play music, then change to 24 44.1khz. But that click-work so bother me. So I want change format by command line. Could you tell...
Sound & Audio
Possible to Change Sound Scheme via Command Line?
Hello All, I've scoured and searched past threads, but have not found the answer(s) I'm looking for. Here's my situation: I'm a full-time AV technician and I frequently deal with multiple (sometimes hundreds) of rental computers that need to be set up for use with presentations. Using the...
Sound & Audio
Command line to Change the colour depth.
I'm trying to automate changing the color depth.And i want to do it by one line. Kindly let me know the command line to change the color depth for 16bit to 32 bit and vice verse Thanks, Priya
General Discussion
Command Line Utility Change Sound Device
Hi! I am looking for a method for CLI-only changing of the default audio device. (Control Panel-> Hardware and Sound -> Manage Audio Devices) I have already tried various options such as AutoIT, AutoHotKey and while I was able to get it working, this was not the optimal solution. Does...
Sound & Audio
Command line Registry Permission
I found a lot of articles on how to gain full control over a registry key but nothing worked for me. So guys can you help Me?
General Discussion
change color depth through command line
Hi, how to change color depth to 32-bit in windows through command or registry
General Discussion


Our Sites

Site Links

About Us

Find 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 06:00.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App