I need to give more than one user or group access using the /grant prameter with Net Share?

I am attempting to use the net share command to grant more than one user or group permissions to a share created by the net share command.  I am using Windows 2003 server with SP2
The commands I'm currently using are:
net share IMGPROD=F:\PROD\IMG /grant:supergrp,FULL
net share IMGTEST=F:\TEST\IMG /grant:supergrp,FULL
Does anyone know the sytax that would allow me to add more users/groups with different access levels to these shares.
bcolmerAsked:
Who is Participating?
 
choswootConnect With a Mentor Commented:
It seems that multiple permissions can be only given at initial command. So you can delete it then recreate
net share sharename=drive:path /delete
net share sharename=drive:path /GRANT:user,[READ | CHANGE | FULL] /GRANT:user,[READ | CHANGE | FULL]
0
 
Malli BoppeCommented:
Are you talking about share permissions or ntfs permissions on the shared folders.
You can use cacls for ntfs permissions.
0
 
bcolmerAuthor Commented:
Thanks CHOSWOOT.  I find that it's often the "Oh yeah - why didn't that occur to me" kinda things that solve the small nagging issues.  I could have lived without assigning multiple users with diff share perms - but this bit of info will make this procedure that much easier. - Bill
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.