I'm on a windows workstation, and I want a list of which files are open over the network on a windows server. The Shared Folders MMC Snap-in does this visually, and SysInternals' PSFile does it from the command line, but by default only for admins. I want to let regular users do this, too. What permissions do I need to grant them?

UPDATE: Running sysinternals' accesschk utility, I've found that there are lots of "weird" objects that have permissions but aren't in the filesystem, registry, or active directory. Run "accesschk -o" to see a list of object directories, and then add the name of a directory ("accesschk -o \BaseNamedObjects", for example) to see them. Could the functionality I'm looking for relate to some permissions in here? If so, is there any way to edit the ACLs on these things? (Even if not, I'd still love to find out which specific object represents the ability to enumerate remotely opened files.)

  • 4
    Just for my curiosity can you tell us why non admins need this ability? – Zoredache Mar 31 '10 at 19:13
  • 2
    If you find a way, be sure to report it to Microsoft so they can fix it!! – Bryan Mar 31 '10 at 19:44
  • I've wanted this for a variety of reasons, currently because the users of our portfolio management software often need to know a) who else is using it right now, and b) which files they're editing, since this can affect reporting and bulk updates, among other things. I wrote a script that parses the output from PSFile to present this information neatly, but currently only I can run it. – Josh Apr 1 '10 at 14:26

create a service that gets the info then dumps the result somewhere!

  • also it really is a strange request! – tony roth Mar 31 '10 at 22:15
  • Yes, this would work, but it seems like an awfully awkward kludge. Anything an Admin can do can be done by any user with the right permissions set... right? There must be some file, registry entry, or other object on which I can grant read access to non-admins. I just can't figure out where. – Josh Apr 1 '10 at 14:33
  • yes you could subinacl your way to a solution but in this case the final result might be admin any way. – tony roth Apr 1 '10 at 17:15

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.