Solved

setting nt rights on command line

Posted on 1997-08-04
1
147 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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Today, still in the boom of Apple, PC's and products, nearly 50% of the computer users use Windows as graphical operating systems. If you are among those users who love windows, but are grappling to keep the system's hard drive optimized, then you s…
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
In this video, we discuss why the need for additional vertical screen space has become more important in recent years, namely, due to the transition in the marketplace of 4x3 computer screens to 16x9 and 16x10 screens (so-called widescreen format). …
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …

825 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