Solved

setting nt rights on command line

Posted on 1997-08-04
1
151 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
[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
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 Ultimate Checklist to Optimize Your Website

Websites are getting bigger and complicated by the day. Video, images, custom fonts are all great for showcasing your product/service. But the price to pay in terms of reduced page load times and ultimately, decreased sales, can lead to some difficult decisions about what to cut.

Question has a verified solution.

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

Configuring Remote Assistance for use with SCCM
This article helps those who get the 0xc004d307 error when trying to rearm (reset the license) Office 2013 in a Virtual Desktop Infrastructure (VDI) and/or those trying to prep the master image for Microsoft Key Management (KMS) activation. (i.e.- C…
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…
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…

726 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