How can I view the current owner of a file?
John Savill
January 8, 2000
1 Min Read
A. The normal method would be to right click on the file in Explorer, select Properties, click the Security tab and click Ownership. This will then show the current owner and give the option to take ownership.
To view from the command line you can use the SUBINACL.EXE utility that is shipped with the Windows NT Resource Kit Supplement 2. To view the current owner use as follows:
C:> subinacl /file
//++++
// D:Documents
//----
+ Owner = builtinadministrators
+ Primary Group= lnautd0001domain users
+ System ACE count =0
+ Disc. ACE count =1
lnautd0001saviljo ACCESS_ALLOWED_ACE_TYPE FILE_ALL_ACCESS
You could perform on *.* to list owners for all files in all subdirectories (no need for any /s switch).
About the Author
Sign up for the ITPro Today newsletter
Stay on top of the IT universe with commentary, news analysis, how-to's, and tips delivered to your inbox daily.
You May Also Like