Skip to content

Commit

Permalink
Win11 Search SecStore.db
Browse files Browse the repository at this point in the history
  • Loading branch information
kacos2000 authored Oct 29, 2022
1 parent a98df95 commit 87be855
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions Win_Search_SecStore.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
-- This query is to show the content of the SecurityDescriptor table
-- of the new SecStore.db (Win 11 search database)
--
-- Database location:
-- C:\ProgramData\Microsoft\Search\Data\Applications\Windows\Projects\SystemIndex\SecStore\SecStore.db

Select
Id,
-- Since the field 'Value' is a BLOB containing Text
-- but has many separator which might cause mis-handling from, DB Browser & CSV tools,
-- this will show the content in quotes:
quote(value) as 'Value',
-- Remove null value from columns
case when EnterpriseIds notnull
then EnterpriseIds else ""
end as 'EnterpriseIds'

from SecurityDescriptor

0 comments on commit 87be855

Please sign in to comment.