PC Review


Reply
Thread Tools Rate Thread

adding rights via command line

 
 
pvl
Guest
Posts: n/a
 
      10th Oct 2003
Is there a command line utility or procedure that I can use to grant
local file system AND registry rights to users on their own machines?

IE -- users logon to a machine as "users" only, but I want to grant them
certain rights to the file system and to the registry so that they can
run particular programs from CD. I know what rights to assign, but I
just want to be able to create a batch file to do it.

Is that possible?

 
Reply With Quote
 
 
 
 
Doug Knox MS-MVP
Guest
Posts: n/a
 
      10th Oct 2003
Use CACLS.EXE for files. CACLS.EXE /? will get you the command line
options.

For the Registry:

http://support.microsoft.com/?id=245031

--
Doug Knox, MS-MVP Windows XP/ Windows Smart Display
Win 95/98/Me/XP Tweaks and Fixes
http://www.dougknox.com
--------------------------------
Associate Expert
ExpertZone - http://www.microsoft.com/windowsxp/expertzone
--------------------------------
Please reply only to the newsgroup so all may benefit.
Unsolicited e-mail is not answered.

"pvl" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Is there a command line utility or procedure that I can use to grant
> local file system AND registry rights to users on their own machines?
>
> IE -- users logon to a machine as "users" only, but I want to grant them
> certain rights to the file system and to the registry so that they can
> run particular programs from CD. I know what rights to assign, but I
> just want to be able to create a batch file to do it.
>
> Is that possible?
>



 
Reply With Quote
 
Torgeir Bakken (MVP)
Guest
Posts: n/a
 
      11th Oct 2003
pvl wrote:

> Is there a command line utility or procedure that I can use to grant
> local file system AND registry rights to users on their own machines?
>
> IE -- users logon to a machine as "users" only, but I want to grant them
> certain rights to the file system and to the registry so that they can
> run particular programs from CD. I know what rights to assign, but I
> just want to be able to create a batch file to do it.


Hi

This little nice freebie might help you out:

SetACL.exe: SetACL - Windows permission management: Set permissions on
virtually anything
http://setacl.sourceforge.net/

SetACL can set permissions on:

Local or remote directories
Local or remote files
Local or remote printers
Local or remote registry keys
Local or remote Win32 services
Local or remote network shares



--
torgeir
Microsoft MVP Scripting and WMI, Porsgrunn Norway
Administration scripting examples and an ONLINE version of the 1328 page
Scripting Guide: http://www.microsoft.com/technet/scriptcenter


 
Reply With Quote
 
pvl
Guest
Posts: n/a
 
      13th Oct 2003
excellent -- thank you much!

Torgeir Bakken (MVP) wrote:
> pvl wrote:
>
>
>>Is there a command line utility or procedure that I can use to grant
>>local file system AND registry rights to users on their own machines?
>>
>>IE -- users logon to a machine as "users" only, but I want to grant them
>>certain rights to the file system and to the registry so that they can
>>run particular programs from CD. I know what rights to assign, but I
>>just want to be able to create a batch file to do it.

>
>
> Hi
>
> This little nice freebie might help you out:
>
> SetACL.exe: SetACL - Windows permission management: Set permissions on
> virtually anything
> http://setacl.sourceforge.net/
>
> SetACL can set permissions on:
>
> Local or remote directories
> Local or remote files
> Local or remote printers
> Local or remote registry keys
> Local or remote Win32 services
> Local or remote network shares
>
>
>
> --
> torgeir
> Microsoft MVP Scripting and WMI, Porsgrunn Norway
> Administration scripting examples and an ONLINE version of the 1328 page
> Scripting Guide: http://www.microsoft.com/technet/scriptcenter
>
>


 
Reply With Quote
 
pvl
Guest
Posts: n/a
 
      13th Oct 2003
excellent ... I searched the knowledge base only for XP, and did not
think to expand it to nt 4.

Do you think the registry component will still work in XP? Is the
utility still available (I think I still have an nt 4 resource kit
SOMEWHERE ...)?

Peter

Doug Knox MS-MVP wrote:

> Use CACLS.EXE for files. CACLS.EXE /? will get you the command line
> options.
>
> For the Registry:
>
> http://support.microsoft.com/?id=245031
>


 
Reply With Quote
 
Doug Knox MS-MVP
Guest
Posts: n/a
 
      13th Oct 2003
I'm not sure if REGINI from the NT4 resource kit will work or not. I'd
trust the one from the 2K resource kit first.

--
Doug Knox, MS-MVP Windows XP/ Windows Smart Display
Win 95/98/Me/XP Tweaks and Fixes
http://www.dougknox.com
--------------------------------
Associate Expert
ExpertZone - http://www.microsoft.com/windowsxp/expertzone
--------------------------------
Please reply only to the newsgroup so all may benefit.
Unsolicited e-mail is not answered.

"pvl" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> excellent ... I searched the knowledge base only for XP, and did not
> think to expand it to nt 4.
>
> Do you think the registry component will still work in XP? Is the
> utility still available (I think I still have an nt 4 resource kit
> SOMEWHERE ...)?
>
> Peter
>
> Doug Knox MS-MVP wrote:
>
> > Use CACLS.EXE for files. CACLS.EXE /? will get you the command line
> > options.
> >
> > For the Registry:
> >
> > http://support.microsoft.com/?id=245031
> >

>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Command Line Util for Assigning Folder Rights =?Utf-8?B?Smlt?= Windows XP Security 5 29th Jul 2005 12:02 PM
adding rules via command line moody Microsoft Outlook 1 22nd Aug 2004 08:22 PM
command line utility to change rights on a local account SImon Windows XP Security 1 26th May 2004 10:04 PM
command line utility to change rights on existing local user accounts Simon Microsoft Windows 2000 Security 1 26th May 2004 09:10 PM
Re: command line registry rights Jerold Schulman Microsoft Windows 2000 CMD Promt 1 15th Aug 2003 11:35 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 03:09 PM.