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

Posted on 2008-11-17
Medium Priority
Last Modified: 2012-05-05
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.
Question by:bcolmer
LVL 23

Expert Comment

by:Malli Boppe
ID: 22981045
Are you talking about share permissions or ntfs permissions on the shared folders.
You can use cacls for ntfs permissions.

Accepted Solution

choswoot earned 1000 total points
ID: 22981557
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]

Author Closing Comment

ID: 31517653
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

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

In a hurry?.. scroll down to "HERE's HOW TO DO IT" Section. Greetings All, I was going to post this as question/solution, but its seems more appropriate as an article considering its length.  I felt it important to illucidate all the details c…
The password reset disk is often mentioned as the best solution to deal with the lost Windows password problem. In Windows 2008, 7, Vista and XP, a password reset disk can be easily created. But besides Windows 7/Vista/XP, Windows Server 2008 and ot…
This video Micro Tutorial explains how to clone a hard drive using a commercial software product for Windows systems called Casper from Future Systems Solutions (FSS). Cloning makes an exact, complete copy of one hard disk drive (HDD) onto another d…
With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…

862 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