Solved

setting nt rights on command line

Posted on 1997-08-04
1
144 Views
Last Modified: 2013-12-28
is there any possibility to set nt4 file rights on the command line (e.g. in a batch file) and what is the name of this command?
my problem is that I have to set the same rights on 36 workstations and I wanted to do this with a batch job.
0
Comment
Question by:pman
1 Comment
 
LVL 2

Accepted Solution

by:
gantriis earned 30 total points
ID: 1780953
Hi pman.

In the usual Windows NT terminology rights apply to users and permissions apply to files and other resource objects.

So I guess you are asking for a command line utility that will help you set file permissions. CACLS.EXE included with Windows NT will do this for you. Type "cacls /?" for help on how to use it.

This utility does not take the server name as a parameter, so if you need to set permissions on files on another server than the command is being run from you need to make a network drive connection to the share where the file is before using cacls.

I hope this is the answer to your question.

Cheers
JG
0

Featured Post

The problems with reply email signatures

Do you wish that you could place an email signature under a reply? Well, unfortunately, you can't. That great Exchange/Office 365 signature you've created will just appear at the bottom of an email chain. What a pain! Is there really no way to solve this? Well, there might be...

Question has a verified solution.

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

A few months ago I had an issue with LaserJet 1020 printer which was installed to XP and Windows 7.  It was installed to XP and working, but when I tried to connect from a Windows 7 PC, it would attempt connection and then fail.  Sometimes the Spool…
Sometimes drives fill up and we don't know why.  If you don't understand the best way to use the tools available, you may end up being stumped as to why your drive says it's not full when you have no space left!  Here's how you can find out...
This video Micro Tutorial explains how to clone a hard drive using a commercial software product for Windows systems called Casper from Future Systems Solutions (FSS). Cloning makes an exact, complete copy of one hard disk drive (HDD) onto another d…
The Task Scheduler is a powerful tool that is built into Windows. It allows you to schedule tasks (actions) on a recurring basis, such as hourly, daily, weekly, monthly, at log on, at startup, on idle, etc. This video Micro Tutorial is a brief intro…

914 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

15 Experts available now in Live!

Get 1:1 Help Now