Unable to modify share permissions by command

Hi Folks,
Im trying to modify my existing share permissions by the net share command, but im unable to complete it.
NET SHARE
sharename
          sharename=drive:path [/GRANT:user,[READ | CHANGE | FULL]]
                               [/USERS:number | /UNLIMITED]
                               [/REMARK:"text"]
                               [/CACHE:Manual | Documents| Programs | BranchCache | None]
          sharename [/USERS:number | /UNLIMITED]
                    [/REMARK:"text"]
                    [/CACHE:Manual | Documents | Programs | BranchCache | None]
          {sharename | devicename | drive:path} /DELETE
          sharename \\computername /DELETE
Is there any suggestion how can this be accomplished by a cmd session?
Cheers, Alan.

Hi Alan,
You can use the subinacl command below to modify share permissions.
subinacl.exe /share "TheShare" /grant=<Domain>\<UserOrGroup>=<Permission>
For more detailed information, please see:
SubInACL (SubInACL.exe)
https://www.microsoft.com/en-us/download/details.aspx?id=23510
Dive Deep with SubInACL
http://redmondmag.com/articles/2008/03/01/dive-deep-with-subinacl.aspx
Please Note: Microsoft is providing this information as a convenience to you. The sites are not controlled by Microsoft. Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there.
Best Regards,
Mandy
Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact [email protected]

Similar Messages

  • I am unable to modify calendar events

      I have set up my Google account to sync with Calendar but I am unable to modify events. I tried to update an even t but the event reverted and lost the updated information after a molment.

    Permissions – Reset Home Folder (includes 10.6.8)
    Permission Issues - Troubleshooting
    You may need to rebuild permissions on your user account. To do this,boot to your Recovery partition (holding down the Command and R keys while booting) and open Terminal from the Utilities menu. In Terminal, type:  ‘resetpassword’ (without the ’s), hit return, and select the admin user. You are not going to reset your password. Click on the icon for your Macs hard drive at the top. From the drop down below it select the user account which is having issues. At the bottom of the window, you'll see an area labeled Restore Home Directory Permissions and ACLs. Click the reset button there. The process takes a few minutes. When complete, restart.   
    Repair User Permissions

  • Share permissions issue - users reporting files readonly

    I have setup a share and the users need to have access to read,modify, write, delete on the files/folders in the new share. The users. For this:
    1. I added the user AD group to the Share Permissions and set 'Change' for the permissions. I noticed that there was already a group called Everyone here and had 'READ' permissions. I did not make any changes to this Everyone group.
    2. I added the user AD group to the NTFS Permissions and set 'Modify, Read&Execute, Read, Write' permissions. 
    It seems the users are seeing the files as 'read only'. They can view and open, but are not able to edit the file. What might be the issue?
    Regards

    Hi,
    I have added share and NTFS permissions the same as yours on a shared folder and I can eide files within the shared folder. Please check the NTFS permissions of the files in the shared folder to see it the NTFS permissions are inherited to the chiled files
    from the parent folder.
    HOW TO: Control NTFS Permissions Inheritance in Windows
    http://support.microsoft.com/kb/313398
    Best Regards,
    Mandy 
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact [email protected]

  • Mass movement of network file shares removed SHARE permissions

    We had a 10 year old server that had two iscsi drives containing all our company's shared file storage, about 2.5 TBs.
    A couple of days ago, we had to move those iscsi drives to a new server in order to retire the old server.
    Through previous experience, we were prepared for the loss of our "shares" but not the loss of our security permissions.  We documented every share and who had permissions to each folder. We were not surprised that this indeed occurred.
    As we were manually and hurriedly reapplying share permissions, we couldn't help but ask ourselves, "what does a company like Boeing do in a case such as this?"
    For our company, it took two people only about 45 minutes to complete the job but we are growing. In the future, is there a more automated procedure we could do instead of the manual flurry to quickly reset shares and their permissions after moving
    iscsi shared files and folders to another server?
    Please have an answer for us and thanks for your time.
    Sue

    Hi Sue,
    NTFS permission is on file/folder so we could migrate it with files/folders.
    However Share permission is stored in registry key:
    SYSTEM\CurrentControlSet\Services\LanmanServer\Shares
    If the path of all folders will not be changed, you can output and import the key to the new server directly.
    If path will be changed, you will need to modify the keys before import. 
    If you have any feedback on our support, please send to [email protected]

  • SCCM 2012 report on computers with local shares and share permissions

    Very new to SCCM 2012, want to put together a report to show computers with local shares and the permissions on those shares (for security purposes, need to investigate any systems that have open shares_.
    Managed to add and now collecting information that populates v_gs_share and I have a handle on the report itself, just wondering how to collect the share permissions - I've seen other qustions on the boards that are similar but reference earlier versions
    of SCCM so wondering how to do it in 2012.
    Thanks

    So, where are you at?  The script is running, and the clients have the data in their local WMI namespace, root\cimv2\sms_sharepermissions ?
    So all that's left is to modify hardware inventory to pull that custom WMI Namespace in?  If so, it's not too horrid.  Take note of a workstation (or server) to which you have remote rights to; and which has run the script, so that on THAT specific
    machine, root\cimv2\SMS_SharePermissions exists.
    In your CM12 Console, Administration, Client Settings.  Right-click "Default Client Settings", Properties.  On the left, select "hardware inventory".  then on the right, Set classes..., now the fun part.
    Add...
    Connect..., and put in ThatServerOrWorkstation (for computername), and wmi namespace is root\cimv2.  Click the option "recursive", Connect.  (the trick here is rights to the target).
    From the results, it might be easiest to click on "classname" at the top for sorting, then go find SMS_SharePermissions.  Select that, ok ok ok ok (however many times you need to agree); and... we're done here.  Sit and wait for inventory to report
    that data up.  If you're paranoid, you can monitor dataldr.log; and force policy refreshes and hinv deltas on some boxes; but the key is patience.  if you think you've waited long enough; you probably haven't.  ;)
    Standardize. Simplify. Automate.

  • Printer Share permissions

    I'm trying to modify the share permissions for a printer share in server 2008r2.  On the share tab we have  a check box for share printer.  No permissions tab.  I would like to remove the everyone permission from the share permissions. 
    Folder shares has a share permissions tab, why not printer shares.

    Hi,
    As Yagmoth555 mentioned, if you want to set permissions for a shared printer, you should click
    Properties, and then click the Security tab. For details, please refer to the following article.
    Set or remove permissions for a printer
    http://technet.microsoft.com/en-us/library/cc738233(v=ws.10).aspx
    Best Regards,
    Andy Qi
    TechNet Subscriber Support
    If you are
    TechNet Subscription user and have any feedback on our support quality, please send your feedback
    here.
    Andy Qi
    TechNet Community Support

  • How can I migrate file shares & permissions from one volume to another on the same server?

    I am replacing a storage array and as part of that process, I need to move files/folders and Shares/permissions from one Volume to another volume within the same server.
    The server is Windows 2003 file server.  The file transfers are not a problem, moving all 40 shares with permissions etc. is my main concern because in order to maintain everything I need to change the drive letter of the new volume to match the old
    one so that links to various resources throughout the network do not break.

    Hi, 
    If you want to copy files/folders from one Volume to another volume within the same server, you could use the File Server Migration Tool (FSMT) or Robocopy to accomplish your goals. The tool can move all of the files from the shares on your original volume
    to the new volume.
    For more detailed information, you could refer to the articles below:
    File Server Migration Toolkit
    http://technet.microsoft.com/en-us/magazine/2006.10.utilityspotlight.aspx
    The File Server Migration Toolkit (FSMT) is a free download available at:
    http://www.microsoft.com/en-us/download/details.aspx?DisplayLang=en&id=10268
    Robocopy
    http://technet.microsoft.com/en-us/library/cc733145.aspx
    FSMT and Robocopy will not copy Share permissions but only NTFS permissions. So if the drive letter will not be changed, you can backup and restore the Share permission with steps here:
    Saving and restoring existing Windows shares
    http://support.microsoft.com/kb/125996
    Regards, 
    Mandy
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • Unable to modify embedded Excel spreadsheet

    Unable to modify embedded Excel spreadsheet
    I am having problems with 2 Xcelsius files.  When I open them and try to change the tab name, the embedded Excel spreadsheet is coming up that it is protected, but I have never put a password on these 2 files.
    The following pop-up message appears - "Workbook is protected and cannot be changed".
    Please advise.
    Thanks,
    Neil.

    HI Neil
    Assuming your using Xcelsius 2008, have you tried exporting the spreadsheet (Data > Export), check the exported workbook for passwords and then re-imported the spreadsheet back into your model?
    Regards
    [Charles|http://www.reportex.co.uk/xc_waterfallchart.html]

  • No icons on google toolbar. I just get a blank toolbar with nothing on it. unable to modify/reset. reinstall did not volve the issue.

    no icons on google toolbar. I just get a blank toolbar with nothing on it. unable to modify/reset. reinstall did not volve the issue.
    Cannot click on gmail icon, google maps icon, ect... there is just a blank bar and you can do nothing.

    Do you have the latest version of the Google Toolbar?
    '''7.1.20110512W''' is the latest, as far as I know.

  • I am unable to modify template properties

    Hello,
    I have noticed that I am unable to modify properties of my template. The "Template Properties"  menu is disabled.
    I made a basic html page and saved as template, by thinking that my template is not proper.
    But nothing change
    What migth be reason for this strange situation in CS5 and the any solution?
    Thanks

    Of course I have editable regions.
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <!-- TemplateParam name="OptionalRegion1" type="boolean" value="true" -->
    <!-- TemplateBeginEditable name="head" -->head<!-- TemplateEndEditable -->
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>Untitled Document</title>
    </head>
    <body>
    <!-- TemplateBeginEditable name="EditRegion1" -->EditRegion1<!-- TemplateEndEditable -->
    <!-- TemplateBeginIf cond="OptionalRegion1" --><!-- TemplateBeginEditable name="EditRegion3" -->OptionalRegion1<!-- TemplateEndEditable --><!-- TemplateEndIf -->
    </body>
    </html>
    I am trying to change OptionalRegion1 property to enable/disable

  • Clustered File share Permissions won't set (with error)

    I have a s2012r2 cluster with a file server. When i go to create a new share it creates with read only permissions and i cannot change it to full or read/write. it is just the share permissions that won't set. when i create a share the error i get is "The
    Cluster Resource could not be found." if i try to edit the share permissions the error is "Error Occurred while update an SMB share: The cluster resource could not be found" the admin share is working perfectly and the folder permissions are
    accurate. 
    The only solution to this problem i have found online that worked for someone is to destroy the cluster and rebuild it. I really don't want to do that.

    Hi RaVell(Pinki),
    This error typically occur when 
    we have added the Disk from Available Storage to the File Share Server Group, please refer the following KB solution to avoid this action.
    You may receive error messages when you share a folder in a Windows Server 2008 failover cluster
    http://support.microsoft.com/kb/947051
    More information:
    Advanced resource configuration in Windows Server 2008 failover clusters
    http://support.microsoft.com/kb/947050
    I’m glad to be of help to you!
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Support, contact [email protected]

  • Directory Share Permissions Question

    Hello, Using MS server 2008 R2
    On the server we have a "D:" drive with several NTFS shared directories that were setup by another team.
    when I look at the share permissions, I see some that are Read/Write, and I see one called 'Contribute'.
    what is the 'Contribute' permission?
    Why would this be used instead of just Read/Write?
    Thanks
    MisterT99

    Greetings!
    It is a SharePoint related permission. Refer to the link below for more information:
    Permission levels and permissions
    Regards.
    Mahdi Tehrani   |  
      |  
    www.mahditehrani.ir
    Please click on Propose As Answer or to mark this post as
    and helpful for other people.
    This posting is provided AS-IS with no warranties, and confers no rights.
    How to query members of 'Local Administrators' group in all computers?

  • SCCM 2012 R2 and NTFS\Share permissions auditing and inventory

    Does SCCM 2012 have the ability to run inventory and audit reports on client systems' NTFS and Share permissions?
    Any help would be greatly appreciated, as always. 
    Thanks

    Not built-in no. See this post for adding share permissions:
    https://social.technet.microsoft.com/Forums/systemcenter/en-US/31be4d1c-28d3-4f67-a2f6-823ab2b13d1e/how-to-collect-share-permissions
    For NTFS permissions, something similar could be done if you had a limited set of folders or files that you wanted to inventory.
    You could also use compliance settings to track if/when specific permissions change.
    Jason | http://blog.configmgrftw.com | @jasonsandys

  • Unable to Modify DB_block_Size for OWB installation

    We are try to install OWB server on oracle DB server in windows xp professional, at the time of installation oracle suggests to increase db_block_size from 8192 to at least 16k for better performance. We are unable to modify the same thru Console or enterprise manager in INIT file since it is disabled or even we tried with multiple options but no use.
    Can you please help us ASAP & let us know if any clarification required.

    Your advice is completely incorrect in any currently supported version of Oracle.
    SQL> select name, value
      2  from gv$parameter
      3  where name like '%cache_size';
    NAME                           VALUE
    db_cache_size                  0
    db_2k_cache_size               0
    db_4k_cache_size               0
    db_8k_cache_size               0
    db_16k_cache_size              0
    db_32k_cache_size              0
    db_keep_cache_size             0
    db_recycle_cache_size          0
    client_result_cache_size       0
    9 rows selected.
    SQL>

  • Unable to home share with iPod Touch (4th Gen) and iPad 2

    Since I have upgraded to iTunes 11 I am unable to home share my HD movies to both my iPod Touch (4th Gen) and my iPad 2
    I was able to home share all my HD movies before iTunes 11.
    I know that the iPad 2 and 4th Gen iPod Touch can only support 720p, but by streaming/home sharing that was the work around.
    But again, once I upgraded to iTunes 11... when I go on my iPad or iPod Touch I can no longer see them in my shared library.
    Here is the crazy part though... if I go downstairs and get on my 2nd gen AppleTV... I can see all my movies in my shared library.
    DO YOU THINK IT IS iOS 6.0.1 ????

    There are no setting on the iPod. Unlike the iPad wich morrors the iPad display, TV out on an iPod only displays TV out on apps that support TV out. The Video app is one such app.
    Is that you problem?
    Otherwise:
    Try:
    - Reset the iPod. Nothing will be lost
    Reset iPod touch: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Reset all settings
    Go to Settings > General > Reset and tap Reset All Settings.
    All your preferences and settings are reset. Information (such as contacts and calendars) and media (such as songs and videos) aren’t affected.
    - Restore from backup
    - Restore to factory settings/new iPod.

Maybe you are looking for

  • Update RG register

    Hi experts u2026u2026u2026u2026.. Is any one having update RG register which will be very much helpful in my project if I am correct the registers provided by SAP is old one with out Higher education tax Regards, AVG.Rajan

  • Audio dub volume

    I've grappled with this problem since PP2. I am making a simple movie of a recent holiday trip and want to add an audio track to my timeline (to correct the wrong things I say in real time.) I am using a Presonus Firebox firewire mixer and record to

  • Macbook Air 2008, LCD display nothing but grey, external display works

    Hi Everyone, I've got a 2008 Macbook Air running 10.6.8 on a 1.86GHz Intel Core 2 with 2GB RAM and a NVIDIA GeForce 9400M. About a month ago something went wrong with the logic board - the unit wouldn't start up and gave 3 beeps indicating a bad RAM

  • Adobe drive V3.2 with Documentum

    Hello, I installed Adobe drive V3.2 and linked it with Documentum. I have now a network folder that is what I have in my Documentum repository. When I try to check out the document from this network folder by selecting the menu "Adobe drive 3" and th

  • I upgraded to Mavericks & have both old & new Pages icon in dock.

    I upgraded to Mavericks & got the new Pages with yellow-pen icon, I still have purple ink-well icon...