Solved

Setting NTFS permission using a script

Posted on 2003-11-04
3
176 Views
Last Modified: 2013-12-04
Dear All
I want to make a script (VBS)
that changes the NTFS permissions
for a shared folder from the default (EveryOne-FullControl)
to be owned by  two domain users by name (Usere1 , and User2)and the should have Full Control ,and EveryOne should read Only

If you can also help me on how to set a limit on the size of the folder,i'll be really Grateful

Thanx
0
Comment
Question by:emadmome
3 Comments
 
LVL 3

Accepted Solution

by:
erikdr earned 100 total points
Comment Utility
Usually I've done all of these with resource kit tools. XACLS does what you need for the NTFS permissions, and can be launched from VBScript. Probably there's also a tool for viewing/modding the folder size.
But there may be native VBScript command for both of them too...

HTH,

<Erik> - The Netherlands
0

Featured Post

Superior storage. Superior surveillance.

WD Purple drives are built for 24/7, always-on, high-definition security systems. With support for up to 8 hard drives and 32 cameras, WD Purple drives are optimized for surveillance.

Join & Write a Comment

Container Orchestration platforms empower organizations to scale their apps at an exceptional rate. This is the reason numerous innovation-driven companies are moving apps to an appropriated datacenter wide platform that empowers them to scale at a …
OfficeMate Freezes on login or does not load after login credentials are input.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now