Solved

Setting NTFS permission using a script

Posted on 2003-11-04
3
184 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 3

Accepted Solution

by:
erikdr earned 100 total points
ID: 9685390
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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In a recent article here at Experts Exchange (http://www.experts-exchange.com/articles/18880/PaperPort-14-in-Windows-10-A-First-Look.html), I discussed my nine-month sandbox testing of the Windows 10 Technical Preview, specifically with respect to r…
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 …
There are cases when e.g. an IT administrator wants to have full access and view into selected mailboxes on Exchange server, directly from his own email account in Outlook or Outlook Web Access. This proves useful when for example administrator want…
In this video, viewers are given an introduction to using the Windows 10 Snipping Tool, how to quickly locate it when it's needed and also how make it always available with a single click of a mouse button, by pinning it to the Desktop Task Bar. Int…

690 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