\shared" -ot shr -actn list -lst f:tab > Sharefldr.txt but only got the NTFS permissions. I would like a list of all users and groups accessing this shared folder via shared properties. I've searched google but came up empty. Any help on this is appreciated. -J" /> Using SetACL.exe to get a list of 'Shared' permissions

+ Post New Thread
Results 1 to 5 of 5
Scripts Thread, Using SetACL.exe to get a list of 'Shared' permissions in Coding and Web Development; hey ppl, I ran this command> C:\>setacl -on "\ \shared" -ot shr -actn list -lst f:tab > Sharefldr.txt but only ...
  1. #1
    techie211's Avatar
    Join Date
    Feb 2009
    Posts
    134
    Thank Post
    34
    Thanked 1 Time in 1 Post
    Rep Power
    0

    Using SetACL.exe to get a list of 'Shared' permissions

    hey ppl, I ran this command> C:\>setacl -on "\\\shared" -ot shr -actn list -lst f:tab > Sharefldr.txt but only got the NTFS permissions. I would like a list of all users and groups accessing this shared folder via shared properties. I've searched google but came up empty. Any help on this is appreciated.

    -J

  2. #2

    Join Date
    Sep 2013
    Location
    Wyoming
    Posts
    32
    Thank Post
    2
    Thanked 5 Times in 4 Posts
    Rep Power
    2
    I would use powershell personally. Just type
    Code:
    get-acl \\server\folder\file
    Below I put a screenshot of what that gives you
    Attached Images Attached Images

  3. Thanks to amckinley from:

    techie211 (13th May 2014)

  4. #3
    techie211's Avatar
    Join Date
    Feb 2009
    Posts
    134
    Thank Post
    34
    Thanked 1 Time in 1 Post
    Rep Power
    0
    thanks! that will work. can I run this command for printer permissions?

  5. #4

    Join Date
    Sep 2013
    Location
    Wyoming
    Posts
    32
    Thank Post
    2
    Thanked 5 Times in 4 Posts
    Rep Power
    2
    If you have PS v4 on a windows 8 machine you should be able to do a 'get-printconfiguration'. For some reason the get-printconfig is tied directly to Windows 8. So if you are running 7 I don't think it will work... if you figure out how to make it work let me know!!

  6. #5
    techie211's Avatar
    Join Date
    Feb 2009
    Posts
    134
    Thank Post
    34
    Thanked 1 Time in 1 Post
    Rep Power
    0
    Quote Originally Posted by amckinley View Post
    If you have PS v4 on a windows 8 machine you should be able to do a 'get-printconfiguration'. For some reason the get-printconfig is tied directly to Windows 8. So if you are running 7 I don't think it will work... if you figure out how to make it work let me know!!
    I'm on a Win2008R2 box. that command does not work. I'm having a hard time finding the correct command

SHARE:
+ Post New Thread

Similar Threads

  1. Newbie trying to get data out of SIMS
    By Gorf in forum MIS Systems
    Replies: 12
    Last Post: 25th October 2013, 12:58 PM
  2. Replies: 0
    Last Post: 14th June 2013, 02:20 PM
  3. Trying to get on top of Google search
    By waynebev in forum Web Development
    Replies: 7
    Last Post: 30th April 2012, 01:53 PM
  4. Replies: 1
    Last Post: 6th June 2011, 01:51 PM
  5. Replies: 13
    Last Post: 6th May 2008, 09:28 AM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •