Filter by owner

English support forum

Moderators: petermad, Stefan2, Hacker

Post Reply
skylas
New Member
New Member
Posts: 1
Joined: 2026-05-27, 09:27 UTC

Filter by owner

Post by *skylas »

hello, can Ctrl+F12 be used to show only folders with certain owner (using a plugin such as 'shelldetails')?
i'm trying to show only folders with no owner (in an active directory) so it shows (via the plugin) as "S-1....."
thank you
User avatar
beb
Power Member
Power Member
Posts: 762
Joined: 2009-09-20, 08:03 UTC
Location: Odesa, Ukraine

Re: Filter by owner

Post by *beb »

Normally, in Windows, a directory cannot literally exist without an owner.
Every NTFS directory requires a Security Identifier (SID) assigned to its ownership.
If an "owner" is displayed as blank, unknown, or inaccessible, the account that originally created or managed the folder has likely been deleted or corrupted.

As I can see, the shelldetails.wdx has a single owner relatable 'Owner' field, that returns a value in a form 'OwnerDomain'\'OwnerName'.
There's also fileX.wdx plugin, which has more owner relatable fields such as 'OwnerName', 'OwnerDomain', 'OwnerType', 'OwnerSID'.

However, none of them work for me with Ctrl+F12: TC displays all the directories anyway.
Where it does work for me - in the search dialog.
E.g., this one will find all the folders with a blank owner's name:

Code: Select all

wincmd.ini
[searches]
weird owner: blank name_SearchFor=
weird owner: blank name_SearchIn=
weird owner: blank name_SearchText=
weird owner: blank name_SearchFlags=0|007002010021||||||||22221|0000|||
weird owner: blank name_plugin=filex.OwnerName = ""
This one will find all the folders with a blank owner's SID:

Code: Select all

wincmd.ini
[searches]
weird owner: blank sid_SearchFor=
weird owner: blank sid_SearchIn=
weird owner: blank sid_SearchText=
weird owner: blank sid_SearchFlags=0|007002010021||||||||22221|0000|||
weird owner: blank sid_plugin=filex.OwnerSID regex ^$
This one will try a combination of fields as an example (blank owner's SID and blank owner's name at the same time) [to my amazement, it turns out there is a bunch of such folders in the Windows directory]:

Code: Select all

wincmd.ini
[searches]
weird owner: combo_SearchFor=
weird owner: combo_SearchIn=
weird owner: combo_SearchText=
weird owner: combo_SearchFlags=0|007002010021||||||||22221|0000|||
weird owner: combo_plugin=filex.OwnerSID regex ^$ & filex.OwnerName = ""
Again, those will be visible as the filter entries upon Ctrl+F12, but they won't work there as actual filters (at least for me), while they do work in search.
#278521 User License
Total Commander [always the latest version, including beta] x86/x64 on Win10 x64/Windows 11/Android 17
Post Reply