Re: Using cmd line to add group permission to shared directory in Windows 2003 server ?
From: Dmitry Korolyov [MVP] (d__k_at_removethispart.mail.ru)
Date: 04/26/04
- Next message: Iris Mok: "How to rename domain name & carry GPO over"
- Previous message: Dmitry Korolyov [MVP]: "Re: Is it possible,,,"
- In reply to: Mads: "Using cmd line to add group permission to shared directory in Windows 2003 server ?"
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 26 Apr 2004 18:42:53 +0400
Talking about NTFS permissions and a command line, you can try tools such as
cacls, xcacls etc.
--
Dmitry Korolyov [d__k@removethispart.mail.ru]
MVP: Windows Server - Active Directory
"Mads" <mattindanmark@yahoo.dk> wrote in message
news:80ddb650.0404260640.37d17394@posting.google.com...
Hi, I have some small problem here.
My goal is to create a shared folder ex. on c:\test and I want to add
domain group permission to this folder by script since i want this to
include in installer package...
1. i user net command to create local group:
net localgroup TESTGroup /ADD
2. how can i add "mydomain\domain users" group into this 'TESTGroup'
that i just create? I always get error 1789 about trust relation
problem, since i can log on only as local adminitrator user, not a
domain controller administrator??
i don't have problem if i try to add local group ex. everyone to this
'TESTGroup' without a problem
i also try net use command and run as domain admin, but still get 1789
error
3. i want to grant permission of this group to BOTH share folder and
folder security, the first one i can use "net /share ...GRANT..."
but what's about folder security, how can i manipulate it with command
line??
Thanks.
//matt
- Next message: Iris Mok: "How to rename domain name & carry GPO over"
- Previous message: Dmitry Korolyov [MVP]: "Re: Is it possible,,,"
- In reply to: Mads: "Using cmd line to add group permission to shared directory in Windows 2003 server ?"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|