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..
LVL 21
compdigit44Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

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

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Cloud Class® Course: CompTIA Healthcare IT Tech

This course will help prep you to earn the CompTIA Healthcare IT Technician certification showing that you have the knowledge and skills needed to succeed in installing, managing, and troubleshooting IT systems in medical and clinical settings.

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
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows Server 2003

From novice to tech pro — start learning today.