[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 691
  • Last Modified:

Windows 2003 File Server Find OWNER of all sub folders

I have a share hosted on a Windows 2003 file server. Anyway I need to find a way to generate a list of all the OWNER of all sub-folder with in a share..

How can I do this..
0
compdigit44
Asked:
compdigit44
  • 4
  • 2
1 Solution
 
DarrinZCommented:
You can view folder permissions by using the CACLS command at a command prompt and pipe the results to a text file.  For example:

C:\>CACLS d:\workgroup\shared_folder\*.* >permissions.txt

This will create a text file called "permissions.txt" that contains the folder permissions for all sub-folders located under "d:\workgroup\shared_folder"
0
 
compdigit44Author Commented:
ok, but when I run this command how can I tell who OWNS these folders?
0
 
DarrinZCommented:
Try this:

C:\>DIR /ad /q d:\workgroup\shared_folder\ >owners.txt

/ad = Display files with the Directory attribute
/q = Display the owner of the file
0
Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
compdigit44Author Commented:
at the end of the name of the folder owner what does one dot mean vs. two dotts?
0
 
compdigit44Author Commented:
at the end of the name of the folder owner what does one dot mean vs. two dotts?
0
 
compdigit44Author Commented:
HOw can I find out who is the OWNER of a folder when the administor is even locked out of the folder..

I know I can easily take ownership of these folders BUT I need to find out WHO owns themm
0

Featured Post

Receive 1:1 tech help

Solve your biggest tech problems alongside global tech experts with 1:1 help.

  • 4
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now