Share folder but deny deletes

Discussion in 'Windows 7' started by windows.seven, Jul 7, 2015.

  1. windows.seven

    windows.seven MDL Junior Member

    Sep 14, 2011
    86
    3
    0
    I have a small network of Win 7 computers, peer-peer same workgroup. All have the same user name and password and the data folders are shared amongst all in read only mode. Is there any way that I can allow the data to be changed but no file or folder deletions allowed over network?
     
  2. Soulfate

    Soulfate MDL Member

    Feb 14, 2011
    185
    49
    10
    #2 Soulfate, Jul 7, 2015
    Last edited: Jul 7, 2015
    On the host computer, you can try to edit authorizations of your shared folder (Properties -> Security -> Advanced) to disallow deletion for everyone (or modify authorizations for each User that have actually full access). You can also create a special User to allow it to delete folders and files for this shared folder for administration purpose.

    Please note that disallow deletion will disallow renaming. You have to create a subfolder (or file) with the definitive name (command : md "Folder_name").

    An exemple if you share your folder with "Everyone" ("Tout le monde" on my pic because it's in french) :
    SharedFolder.png