Results 1 to 4 of 4

Thread: how to read inheritance property of folder in vbscript

  1. #1
    Join Date
    Jun 2009
    Posts
    18

    Post how to read inheritance property of folder in vbscript

    hi.



    i have written a script that fetch me all folders and files and their ACL of the files and folder what i need is i need to populate a list of folder that does not have inheritance access to the child folder.(ie i need to populate a list of folder whose inculde inheritance permission from this object's parent checkbox is not checked in advance tab of security tab of properties option of folders) is there any way to do this ...



    i need it urgently............

    pls help me.................

  2. #2
    Join Date
    Aug 2008
    Posts
    71

    Re: how to read inheritance property of folder in vbscript

    CAn you be more specific about what exactly you want to do? Your post looks too confusing for the reader. Please define what you exactly want to do.
    What is inheritance for a folder?

  3. #3
    Join Date
    Jun 2009
    Posts
    18

    Post Re: how to read inheritance property of folder in vbscript

    hi

    srry for unclearness what i am asking is i have written script which loops through every drive and in every folder and pull for NTFS security permissionof each folder in computer what i need is i have to capture the folder whose inheritance access permission to the child folder is not available.

    to be clear when you right click on any folder there will be properties option at the end.when you click on the option you will get popup window, in that popup window there will be a tab named security, click on that you will find advance tab below, click on that you will get popup window in that window there will be two check boxes at the end. for every folder the frist check box (allow inheritance from parent to child some thing similar)will always enable but for some reason the check box will disable for some folder in need to caputure only that folder whose checkbox are disable.

    i think now you got my problem

    i need solution....... as soon as possible

  4. #4
    Join Date
    Apr 2008
    Posts
    22

    Re: how to read inheritance property of folder in vbscript

    Are you talking about Windows Management Instrumentation (WMI)?

    Scripting NTFS Permissions with ADSI

    I hope this is what you were looking for.

    Please go through the link till someone comes to help you out with your problem.

Similar Threads

  1. Replies: 3
    Last Post: 08-01-2011, 06:32 AM
  2. Replies: 2
    Last Post: 30-07-2009, 05:14 PM
  3. Prevent folder from Read-only
    By Chintam in forum Windows Software
    Replies: 3
    Last Post: 03-07-2009, 08:48 AM
  4. Reset child permissions / inheritance of folder with script
    By Thomas in forum Windows Server Help
    Replies: 8
    Last Post: 03-02-2009, 05:50 AM
  5. How to modify the proxyAdress property in AD with VBScript
    By Raskil2000 in forum Windows Server Help
    Replies: 2
    Last Post: 17-07-2007, 11:47 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,713,506,639.04013 seconds with 17 queries