Microsoft-Windows-StateRepository
95 events across 3 channels
Event ID 100: Error ErrorCode: SQL.
#Event ID 101: [P:ProcessId T:ThreadId] Trace: Executing SQL 'SQL'.
#Event ID 102: Error ErrorCode: Failed to open settings at HKLM\Subkey.
#Event ID 103: Error ErrorCode: Failed to read setting Name.
#Event ID 104: Warning ErrorCode: SQL.
#Description
Warning ErrorCode: SQL
Message #
Fields #
| Name | Description |
|---|---|
ErrorCode HexInt32 | |
SQL AnsiString |
Example Event #
{
"system": {
"provider": "Microsoft-Windows-StateRepository",
"guid": "89592015-D996-4636-8F61-066B5D4DD739",
"event_source_name": "",
"event_id": 104,
"version": 0,
"level": 3,
"task": 1,
"opcode": 0,
"keywords": 4611686018427387905,
"time_created": "2026-02-12T04:58:02.340067+00:00",
"event_record_id": 2326,
"correlation": {
"ActivityID": "43A6D212-9A2A-000C-4A21-A9432A9ADC01"
},
"execution": {
"process_id": 9772,
"thread_id": 11932
},
"channel": "Microsoft-Windows-StateRepository/Operational",
"computer": "LAB-WIN11.ludus.domain",
"security": {
"user_id": "S-1-5-18"
}
},
"event_data": {
"ErrorCode": "0x80670007",
"SQL": "[sqlite3_exec] #5 Database 258B8E48A70: Try 1 (351ms) {90C40975-20C3-4EE8-817F-925B82C1D262} Cpu:8 Mem:5 Io:2 TID:11968 database is locked : SQL BEGIN EXCLUSIVE /*02C51573-873D-451F-AA58-23BF3327583E*/;"
},
"message": ""
}
Event ID 105: Info ErrorCode: SQL.
#Description
Info ErrorCode: SQL
Message #
Fields #
| Name | Description |
|---|---|
ErrorCode HexInt32 | |
SQL AnsiString |
Example Event #
{
"system": {
"provider": "Microsoft-Windows-StateRepository",
"guid": "{89592015-D996-4636-8F61-066B5D4DD739}",
"event_source_name": "",
"event_id": 105,
"version": 0,
"level": 4,
"task": 1,
"opcode": 0,
"keywords": 4611686018427387905,
"time_created": "2026-05-28T22:41:57.2143700+00:00",
"event_record_id": 337,
"correlation": {},
"execution": {
"process_id": 3696,
"thread_id": 3996
},
"channel": "Microsoft-Windows-StateRepository/Operational",
"computer": "telemetry-DC-a.cell-a.ludus.domain",
"security": {
"user_id": "S-1-5-18"
}
},
"event_data": {
"ErrorCode": "0x11b",
"SQL": "recovered 16 frames from WAL file C:\\ProgramData\\Microsoft\\Windows\\AppRepository\\StateRepository-Machine.srd-wal"
},
"message": "Info 0x11B: recovered 16 frames from WAL file C:\\ProgramData\\Microsoft\\Windows\\AppRepository\\StateRepository-Machine.srd-wal"
}
Event ID 106: Error ErrorCode: Failed to write setting Name.
#Event ID 107: CriticalError ErrorCode: SQL.
#Event ID 108: Verbose ErrorCode: SQL.
#Event ID 200: Error ErrorCode: Entity.
#Event ID 201: Error ErrorCode: Entity.
#Event ID 202: Error ErrorCode: Entity.
#Event ID 203: Error ErrorCode: Entity.
#Event ID 204: Error ErrorCode: Entity.
#Event ID 205: Error ErrorCode: Entity.
#Event ID 206: Error ErrorCode: Entity.
#Event ID 207: Error ErrorCode: Entity.
#Event ID 208: Error ErrorCode: Entity.
#Event ID 209: Error ErrorCode: Entity.
#Event ID 210: Error ErrorCode: Entity.
#Event ID 211: Error ErrorCode: Entity.
#Event ID 212: Error ErrorCode: Entity.
#Event ID 213: Error ErrorCode: Entity.
#Event ID 214: Blocking requests [Options=Options, ClientId=ProcessId].
#Description
Blocking requests [Options=Options, ClientId=ProcessId].
Message #
Fields #
| Name | Description |
|---|---|
Options HexInt32 | |
ProcessId UInt32 |
Example Event #
{
"system": {
"provider": "Microsoft-Windows-StateRepository",
"guid": "89592015-D996-4636-8F61-066B5D4DD739",
"event_source_name": "",
"event_id": 214,
"version": 0,
"level": 3,
"task": 2,
"opcode": 0,
"keywords": 4611686018427387905,
"time_created": "2023-10-25T22:55:29.458620+00:00",
"event_record_id": 1169,
"correlation": {},
"execution": {
"process_id": 2396,
"thread_id": 6812
},
"channel": "Microsoft-Windows-StateRepository/Operational",
"computer": "WinDevEval",
"security": {
"user_id": "S-1-5-18"
}
},
"event_data": {
"Options": "0x1",
"ProcessId": 4544
},
"message": ""
}
References #
- Example event sourced from https://github.com/NextronSystems/evtx-baseline
Event ID 215: Unblocking requests [Options=Options, ClientId=ProcessId].
#Event ID 216: StateRepository service started [ProcessId=ProcessId].
#Description
StateRepository service started [ProcessId=ProcessId].
Message #
Fields #
| Name | Description |
|---|---|
ProcessId UInt32 |
Example Event #
{
"system": {
"provider": "Microsoft-Windows-StateRepository",
"guid": "{89592015-D996-4636-8F61-066B5D4DD739}",
"event_source_name": "",
"event_id": 216,
"version": 0,
"level": 4,
"task": 2,
"opcode": 0,
"keywords": 4611686018427387905,
"time_created": "2026-05-29T16:33:17.2115459+00:00",
"event_record_id": 381,
"correlation": {},
"execution": {
"process_id": 3572,
"thread_id": 3764
},
"channel": "Microsoft-Windows-StateRepository/Operational",
"computer": "telemetry-DC-a.cell-a.ludus.domain",
"security": {
"user_id": "S-1-5-18"
}
},
"event_data": {
"ProcessId": "3572"
},
"message": "StateRepository service started [ProcessId=3572]"
}
Event ID 217: StateRepository service stopped [ProcessId=ProcessId].
#Event ID 218: Repository initialized [ProcessId=ProcessId].
#Event ID 219: Repository shutdown [ProcessId=ProcessId].
#Event ID 220: Error ErrorCode: Entity.
#Event ID 221: ANALYZE command has run; database statistics are updated [Partition=Partition, ProcessId=ProcessId, Scope=Scope].
#Description
ANALYZE command has run; database statistics are updated [Partition=Partition, ProcessId=ProcessId, Scope=Scope].
Message #
Fields #
| Name | Description |
|---|---|
Partition Int32 | |
ProcessId UInt32 | |
Scope AnsiString |
Example Event #
{
"system": {
"provider": "Microsoft-Windows-StateRepository",
"guid": "{89592015-D996-4636-8F61-066B5D4DD739}",
"event_source_name": "",
"event_id": 221,
"version": 0,
"level": 5,
"task": 2,
"opcode": 0,
"keywords": 4611686018427387905,
"time_created": "2026-06-13T05:45:50.9535662+00:00",
"event_record_id": 391,
"correlation": {
"ActivityID": "{C6821FB2-EF88-0003-695B-82C688EFDC01}"
},
"execution": {
"process_id": 1492,
"thread_id": 7976
},
"channel": "Microsoft-Windows-StateRepository/Operational",
"computer": "telemetry-DC-a.cell-a.ludus.domain",
"security": {
"user_id": "S-1-5-18"
}
},
"event_data": {
"Partition": "2",
"ProcessId": "1492"
},
"message": "ANALYZE command has run; database statistics are updated [Partition=2, ProcessId=1492]"
}
Event ID 222: Error ErrorCode: StateRepository partition Partition creation failed [Filename=Filename, Disposition=Disposition, FoundSchemaVersion=FoundSchemaVersion, TargetSchemaVersion=CreatedSchemaVersion].
#Description
Error ErrorCode: StateRepository partition Partition creation failed [Filename=Filename, Disposition=Disposition, FoundSchemaVersion=FoundSchemaVersion, TargetSchemaVersion=CreatedSchemaVersion].
Message #
Fields #
| Name | Description |
|---|---|
ErrorCode HexInt32 | |
Partition Int32 | |
Filename UnicodeString | |
Disposition Int32 | |
FoundSchemaVersion Int32 | |
CreatedSchemaVersion Int32 |
Event ID 223: StateRepository partition Partition exists and ready for use [SchemaVersion=SchemaVersion].
#Description
StateRepository partition Partition exists and ready for use [SchemaVersion=SchemaVersion].
Message #
Fields #
| Name | Description |
|---|---|
Partition Int32 | |
SchemaVersion Int32 | |
Filename UnicodeString |
Example Event #
{
"system": {
"provider": "Microsoft-Windows-StateRepository",
"guid": "{89592015-D996-4636-8F61-066B5D4DD739}",
"event_source_name": "",
"event_id": 223,
"version": 0,
"level": 4,
"task": 2,
"opcode": 0,
"keywords": 4611686018427387905,
"time_created": "2026-05-29T16:33:06.4518409+00:00",
"event_record_id": 370,
"correlation": {},
"execution": {
"process_id": 3572,
"thread_id": 3764
},
"channel": "Microsoft-Windows-StateRepository/Operational",
"computer": "telemetry-DC-a.cell-a.ludus.domain",
"security": {
"user_id": "S-1-5-18"
}
},
"event_data": {
"Partition": "2",
"SchemaVersion": "24064",
"Filename": "C:\\ProgramData\\Microsoft\\Windows\\AppRepository\\StateRepository-Deployment.srd"
},
"message": "StateRepository partition 2 exists and ready for use [SchemaVersion=24064]"
}
Event ID 224: StateRepository partition Partition created [SchemaVersion=SchemaVersion].
#Event ID 225: StateRepository partition Partition upgraded [SchemaVersion=FoundSchemaVersion -> SchemaVersion].
#Event ID 226: Error ErrorCode: Failed to raise Changed event on notification channel ChannelName for user UserSid.
#Event ID 227: Error ErrorCode: StateRepository service failed to start [Checkpoint=Checkpoint].
#Event ID 228: The StateRepository service is starting.
#Event ID 229: The StateRepository service is starting
#Event ID 230: The StateRepository service is starting.
#Event ID 231: RepositoryManagerServerUpgrade with options: Options.
#Description
RepositoryManagerServerUpgrade with options: Options.
Message #
Fields #
| Name | Description |
|---|---|
Options HexInt32 |
Example Event #
{
"system": {
"provider": "Microsoft-Windows-StateRepository",
"guid": "{89592015-D996-4636-8F61-066B5D4DD739}",
"event_source_name": "",
"event_id": 231,
"version": 0,
"level": 5,
"task": 2,
"opcode": 0,
"keywords": 4611686018427387905,
"time_created": "2026-06-13T05:39:37.6462549+00:00",
"event_record_id": 389,
"correlation": {},
"execution": {
"process_id": 3572,
"thread_id": 2788
},
"channel": "Microsoft-Windows-StateRepository/Operational",
"computer": "telemetry-DC-a.cell-a.ludus.domain",
"security": {
"user_id": "S-1-5-18"
}
},
"event_data": {
"Options": "0x1"
},
"message": "RepositoryManagerServerUpgrade with options: 0x1"
}
Event ID 232: Error ErrorCode: Entity.
#Event ID 233: Migration starting [Machine: Disposition=MachineDisposition, PreviousVersion=PreviousMachineVersion, Deployment: Disposition=DeploymentDisposition, PreviousVersion=PreviousDeploymentVersion.
#Description
Migration starting [Machine: Disposition=MachineDisposition, PreviousVersion=PreviousMachineVersion, Deployment: Disposition=DeploymentDisposition, PreviousVersion=PreviousDeploymentVersion.
Message #
Fields #
| Name | Description |
|---|---|
MachineDisposition Int32 | |
PreviousMachineVersion Int32 | |
DeploymentDisposition Int32 | |
PreviousDeploymentVersion Int32 |
Event ID 234: Migration completed successfully [Machine: Disposition=MachineDisposition, PreviousVersion=PreviousMachineVersion] [Deployment: Disposition=DeploymentDisposition, PreviousVersion=PreviousDeployment...
#Description
Migration completed successfully [Machine: Disposition=MachineDisposition, PreviousVersion=PreviousMachineVersion] [Deployment: Disposition=DeploymentDisposition, PreviousVersion=PreviousDeploymentVersion].
Message #
Fields #
| Name | Description |
|---|---|
MachineDisposition Int32 | |
PreviousMachineVersion Int32 | |
DeploymentDisposition Int32 | |
PreviousDeploymentVersion Int32 | |
MigratorErrors Int32 |
Example Event #
{
"system": {
"provider": "Microsoft-Windows-StateRepository",
"guid": "89592015-D996-4636-8F61-066B5D4DD739",
"event_source_name": "",
"event_id": 234,
"version": 0,
"level": 4,
"task": 3,
"opcode": 0,
"keywords": 4611686018427387905,
"time_created": "2023-11-06T06:21:57.817957+00:00",
"event_record_id": 1174,
"correlation": {},
"execution": {
"process_id": 1496,
"thread_id": 1516
},
"channel": "Microsoft-Windows-StateRepository/Operational",
"computer": "WinDev2310Eval",
"security": {
"user_id": "S-1-5-18"
}
},
"event_data": {
"MachineDisposition": 1,
"PreviousMachineVersion": 0,
"DeploymentDisposition": 1,
"PreviousDeploymentVersion": 0,
"MigratorErrors": 0
},
"message": ""
}
References #
- Example event sourced from https://github.com/NextronSystems/evtx-baseline
Event ID 235: Migration completed: MigratorErrors migrators encountered errors [Machine: Disposition=MachineDisposition, PreviousVersion=PreviousMachineVersion] [Deployment: Disposition=DeploymentDisposition, Pr...
#Description
Migration completed: MigratorErrors migrators encountered errors [Machine: Disposition=MachineDisposition, PreviousVersion=PreviousMachineVersion] [Deployment: Disposition=DeploymentDisposition, PreviousVersion=PreviousDeploymentVersion].
Message #
Fields #
| Name | Description |
|---|---|
MachineDisposition Int32 | |
PreviousMachineVersion Int32 | |
DeploymentDisposition Int32 | |
PreviousDeploymentVersion Int32 | |
MigratorErrors Int32 |
Event ID 236: Migrator 'Name' starting.
#Event ID 237: Migrator 'Name' completed successfully.
#Event ID 238: Migrator 'Name' encountered error ErrorCode.
#Event ID 239: Error ErrorCode: Migration encountered an error during Phase.
#Event ID 240: Error ErrorCode: Timeout exceeded accessing Filename: SQL.
#Event ID 241: Error ErrorCode: Timeout exceeded because Filename is in use by ProcessIndex process(es).
#Description
Error : Timeout exceeded because is in use by process(es). Process[] = processid , application , package , executable , user username /, session , commandline.
Message #
Fields #
| Name | Description |
|---|---|
ErrorCode HexInt32 | |
Filename AnsiString | |
ProcessIndex UInt32 | |
ProcessCount UInt32 | |
ProcessId UInt32 | |
ApplicationUserModelId UnicodeString | |
PackageFullName UnicodeString | |
ExecutableName UnicodeString | |
UserSID UnicodeString | |
UserDomain UnicodeString | |
UserName UnicodeString | |
SessionId UInt32 | |
CommandLine UnicodeString |
Event ID 242: Waiting TimeoutMSecmsec for requests in progress to complete.
#Description
Waiting TimeoutMSecmsec for requests in progress to complete.
Message #
Fields #
| Name | Description |
|---|---|
TimeoutMSec UInt64 | |
ElapsedTimeMSec UInt64 |
Example Event #
{
"system": {
"provider": "Microsoft-Windows-StateRepository",
"guid": "{89592015-D996-4636-8F61-066B5D4DD739}",
"event_source_name": "",
"event_id": 242,
"version": 0,
"level": 5,
"task": 1,
"opcode": 0,
"keywords": 4611686018427387905,
"time_created": "2026-06-13T05:22:34.5297625+00:00",
"event_record_id": 391,
"correlation": {},
"execution": {
"process_id": 3728,
"thread_id": 7968
},
"channel": "Microsoft-Windows-StateRepository/Operational",
"computer": "telemetry-DC-c.cell-c.ludus.domain",
"security": {
"user_id": "S-1-5-18"
}
},
"event_data": {
"TimeoutMSec": "5000",
"ElapsedTimeMSec": "0"
},
"message": "Waiting 5000msec for requests in progress to complete"
}
Event ID 243: Waited ElapsedTimeMSecmsec for requests in progress to complete.
#Description
Waited ElapsedTimeMSecmsec for requests in progress to complete.
Message #
Fields #
| Name | Description |
|---|---|
TimeoutMSec UInt64 | |
ElapsedTimeMSec UInt64 |
Example Event #
{
"system": {
"provider": "Microsoft-Windows-StateRepository",
"guid": "{89592015-D996-4636-8F61-066B5D4DD739}",
"event_source_name": "",
"event_id": 243,
"version": 0,
"level": 5,
"task": 1,
"opcode": 0,
"keywords": 4611686018427387905,
"time_created": "2026-06-13T05:22:34.5297640+00:00",
"event_record_id": 392,
"correlation": {},
"execution": {
"process_id": 3728,
"thread_id": 7968
},
"channel": "Microsoft-Windows-StateRepository/Operational",
"computer": "telemetry-DC-c.cell-c.ludus.domain",
"security": {
"user_id": "S-1-5-18"
}
},
"event_data": {
"TimeoutMSec": "5000",
"ElapsedTimeMSec": "0"
},
"message": "Waited 0msec for requests in progress to complete"
}
Event ID 244: Timeout exceeded waiting for requests in progress to complete [Timeout=TimeoutMSecmsec, Elapsed=ElapsedTimeMSecmsec].
#Event ID 245: Maintenance has been performed
#Description
Maintenance has been performed.
Message #
Fields #
| Name | Description |
|---|---|
ErrorCode HexInt32 | |
MachineSize_Before Int64 | |
MachineJournalSize_Before Int64 | |
DeploymentSize_Before Int64 | |
DeploymentJournalSize_Before Int64 | |
MachineSize_After Int64 | |
MachineJournalSize_After Int64 | |
DeploymentSize_After Int64 | |
DeploymentJournalSize_After Int64 | |
MaintenancePerformed HexInt32 |
Example Event #
{
"system": {
"provider": "Microsoft-Windows-StateRepository",
"guid": "{89592015-D996-4636-8F61-066B5D4DD739}",
"event_source_name": "",
"event_id": 245,
"version": 0,
"level": 5,
"task": 2,
"opcode": 0,
"keywords": 4611686018427387905,
"time_created": "2026-05-29T16:33:16.8803327+00:00",
"event_record_id": 379,
"correlation": {},
"execution": {
"process_id": 3572,
"thread_id": 3764
},
"channel": "Microsoft-Windows-StateRepository/Operational",
"computer": "telemetry-DC-a.cell-a.ludus.domain",
"security": {
"user_id": "S-1-5-18"
}
},
"event_data": {
"ErrorCode": "0x0",
"MachineSize_Before": "1048576",
"MachineJournalSize_Before": "0",
"DeploymentSize_Before": "1048576",
"DeploymentJournalSize_Before": "0",
"MachineSize_After": "1048576",
"MachineJournalSize_After": "0",
"DeploymentSize_After": "1048576",
"DeploymentJournalSize_After": "4096"
},
"message": "Maintenance has been performed"
}
Event ID 246: Error ErrorCode: Maintenance encountered an error.
#Description
Error ErrorCode: Maintenance encountered an error.
Message #
Fields #
| Name | Description |
|---|---|
ErrorCode HexInt32 | |
MachineSize_Before Int64 | |
MachineJournalSize_Before Int64 | |
DeploymentSize_Before Int64 | |
DeploymentJournalSize_Before Int64 | |
MachineSize_After Int64 | |
MachineJournalSize_After Int64 | |
DeploymentSize_After Int64 | |
DeploymentJournalSize_After Int64 | |
MaintenancePerformed HexInt32 |
Event ID 247: PreImport: Issue [SchemaVersion=SchemaVersion, Found=Found, Deleted=Deleted, Id(s)=Id].
#Event ID 248: Error ErrorCode: Failed to create setting Name.
#Event ID 249: Error ErrorCode: Failed to delete setting Name.
#Event ID 250: Error ErrorCode: Database corruption detected in partition Partition [Action=Action, Try#=Try, Elapsed=ElapsedTimeMSecmsec, Uptime=FirstReportedUptime, FirstReported=FirstReportedWhen].
#Description
Error ErrorCode: Database corruption detected in partition Partition [Action=Action, Try#=Try, Elapsed=ElapsedTimeMSecmsec, Uptime=FirstReportedUptime, FirstReported=FirstReportedWhen].
Message #
Fields #
| Name | Description |
|---|---|
ErrorCode HexInt32 | |
Action AnsiString | |
Partition Int32 | |
Filename AnsiString | |
SQL AnsiString | |
Try UInt64 | |
ElapsedTimeMSec UInt64 | |
FirstReportedUptime UInt64 | |
FirstReportedWhen UInt64 |
Event ID 251: Error ErrorCode: Failed to query StateRepository for PackageFamilyName for user UserSID.
#Event ID 252: Error ErrorCode: Failed to scan Name for user UserSID.
#Event ID 253: Error ErrorCode: Failed to delete Name for user UserSID.
#Event ID 254: Error ErrorCode: Completed for user UserSID.
#Event ID 255: Repairs have been performed for user UserSID [Options=Options, Found=Found, Deleted=Deleted].
#Event ID 256: Error ErrorCode: Repair for user UserSID encountered an error [Options=Options, Found=Found, Deleted=Deleted].
#Event ID 257: Repair deleted Context\Name for user UserSID.
#Event ID 258: Repair detected unknown object Context\Name for user UserSID.
#Event ID 259: Count invalid foreign keys detected for Entity.
#Description
Count invalid foreign keys detected for Entity.Field [Filename=Filename, Ids=Ids].
Message #
Fields #
| Name | Description |
|---|---|
Entity AnsiString | |
Field AnsiString | |
Filename AnsiString | |
SQL AnsiString | |
Count UInt64 | |
Ids AnsiString |
Example Event #
{
"system": {
"provider": "Microsoft-Windows-StateRepository",
"guid": "89592015-D996-4636-8F61-066B5D4DD739",
"event_source_name": "",
"event_id": 259,
"version": 0,
"level": 3,
"task": 1,
"opcode": 0,
"keywords": 4611756387171565569,
"time_created": "2026-02-18T21:51:27.389192+00:00",
"event_record_id": 2524,
"correlation": {
"ActivityID": "A84E255E-A05B-000B-B669-4EA85BA0DC01"
},
"execution": {
"process_id": 9436,
"thread_id": 316
},
"channel": "Microsoft-Windows-StateRepository/Operational",
"computer": "LAB-WIN11.ludus.domain",
"security": {
"user_id": "S-1-5-18"
}
},
"event_data": {
"Entity": "WowDependencyGraph",
"Field": "DependentPackage",
"Filename": "C:\\ProgramData\\Microsoft\\Windows\\AppRepository\\StateRepository-Machine.srd",
"SQL": "SELECT COUNT(*), GROUP_CONCAT(rowid) FROM WowDependencyGraph WHERE (DependentPackage>0) AND (DependentPackage NOT IN (SELECT _PackageID FROM Package));",
"Count": 2,
"Ids": "303,304"
},
"message": ""
}
Event ID 260: Count invalid foreign keys detected for Entity.
#Event ID 261: Check repository integrity has been performed [Options=Options, Disposition=Disposition, ErrorsDetected=ErrorCount].
#Event ID 262: Error ErrorCode: Check repository integrity encountered an error [Options=Options, Disposition=Disposition, ErrorsDetected=ErrorCount].
#Event ID 263: Fix repository integrity has been performed [Options=Options, ErrorsCorrected=FixCount].
#Event ID 264: Error ErrorCode: Fix repository integrity encountered an error [Options=Options, ErrorsCorrected=FixCount].
#Event ID 265: Checkpoint has been performed
#Description
Checkpoint has been performed.
Message #
Fields #
| Name | Description |
|---|---|
ErrorCode HexInt32 | |
Options HexInt32 | |
MachineDatabase_Pages Int32 | |
MachineDatabase_PagesCheckpointed Int32 | |
DeploymentDatabase_Pages Int32 | |
DeploymentDatabase_PagesCheckpointed Int32 |
Example Event #
{
"system": {
"provider": "Microsoft-Windows-StateRepository",
"guid": "{89592015-D996-4636-8F61-066B5D4DD739}",
"event_source_name": "",
"event_id": 265,
"version": 0,
"level": 5,
"task": 2,
"opcode": 0,
"keywords": 4611721202799476737,
"time_created": "2026-05-28T22:41:57.3363970+00:00",
"event_record_id": 338,
"correlation": {},
"execution": {
"process_id": 3696,
"thread_id": 3996
},
"channel": "Microsoft-Windows-StateRepository/Operational",
"computer": "telemetry-DC-a.cell-a.ludus.domain",
"security": {
"user_id": "S-1-5-18"
}
},
"event_data": {
"ErrorCode": "0x0",
"Options": "0x0",
"MachineDatabase_Pages": "0",
"MachineDatabase_PagesCheckpointed": "0",
"DeploymentDatabase_Pages": "0",
"DeploymentDatabase_PagesCheckpointed": "0"
},
"message": "Checkpoint has been performed"
}
Event ID 266: Error ErrorCode: Checkpoint encountered an error.
#Event ID 267: Count invalid foreign keys corrected for Entity.
#Description
Count invalid foreign keys corrected for Entity.Field [Filename=Filename].
Message #
Fields #
| Name | Description |
|---|---|
Entity AnsiString | |
Field AnsiString | |
Filename AnsiString | |
SQL AnsiString | |
Count UInt64 |
Example Event #
{
"system": {
"provider": "Microsoft-Windows-StateRepository",
"guid": "89592015-D996-4636-8F61-066B5D4DD739",
"event_source_name": "",
"event_id": 267,
"version": 0,
"level": 4,
"task": 1,
"opcode": 0,
"keywords": 4611721202799476737,
"time_created": "2026-02-18T21:51:27.416069+00:00",
"event_record_id": 2526,
"correlation": {
"ActivityID": "A84E255E-A05B-000B-B669-4EA85BA0DC01"
},
"execution": {
"process_id": 9436,
"thread_id": 316
},
"channel": "Microsoft-Windows-StateRepository/Operational",
"computer": "LAB-WIN11.ludus.domain",
"security": {
"user_id": "S-1-5-18"
}
},
"event_data": {
"Entity": "WowDependencyGraph",
"Field": "DependentPackage",
"Filename": "C:\\ProgramData\\Microsoft\\Windows\\AppRepository\\StateRepository-Machine.srd",
"SQL": "DELETE FROM WowDependencyGraph WHERE (DependentPackage>0) AND (DependentPackage NOT IN (SELECT _PackageID FROM Package));",
"Count": 2
},
"message": ""
}
Event ID 268: Count invalid foreign keys corrected for Entity.
#Event ID 269: SRCache successfully initialized [Options=Options].
#Description
SRCache successfully initialized [Options=Options].
Message #
Fields #
| Name | Description |
|---|---|
Options HexInt32 |
Example Event #
{
"system": {
"provider": "Microsoft-Windows-StateRepository",
"guid": "{89592015-D996-4636-8F61-066B5D4DD739}",
"event_source_name": "",
"event_id": 269,
"version": 0,
"level": 5,
"task": 2,
"opcode": 0,
"keywords": 4611721202799476737,
"time_created": "2026-05-29T16:33:17.1805848+00:00",
"event_record_id": 380,
"correlation": {},
"execution": {
"process_id": 3572,
"thread_id": 3764
},
"channel": "Microsoft-Windows-StateRepository/Operational",
"computer": "telemetry-DC-a.cell-a.ludus.domain",
"security": {
"user_id": "S-1-5-18"
}
},
"event_data": {
"Options": "0x0"
},
"message": "SRCache successfully initialized [Options=0x0]"
}
Event ID 270: Error ErrorCode: SRCache initialization encountered an error [Options=Options].
#Event ID 271: SRCache successfully updated [Options=Options].
#Description
SRCache successfully updated [Options=Options].
Message #
Fields #
| Name | Description |
|---|---|
Options HexInt32 |
Example Event #
{
"system": {
"provider": "Microsoft-Windows-StateRepository",
"guid": "{89592015-D996-4636-8F61-066B5D4DD739}",
"event_source_name": "",
"event_id": 271,
"version": 0,
"level": 5,
"task": 2,
"opcode": 0,
"keywords": 4611721202799476737,
"time_created": "2026-06-13T05:45:51.1407165+00:00",
"event_record_id": 393,
"correlation": {
"ActivityID": "{C6821FB2-EF88-0004-9642-82C688EFDC01}"
},
"execution": {
"process_id": 3572,
"thread_id": 6416
},
"channel": "Microsoft-Windows-StateRepository/Operational",
"computer": "telemetry-DC-a.cell-a.ludus.domain",
"security": {
"user_id": "S-1-5-18"
}
},
"event_data": {
"Options": "0x0"
},
"message": "SRCache successfully updated [Options=0x0]"
}
Event ID 272: Error ErrorCode: SRCache update encountered an error [Options=Options].
#Event ID 273: Check cache integrity has been performed [Options=Options, Disposition=Disposition, ErrorsDetected=ErrorCount].
#Event ID 274: Error ErrorCode: Check cache integrity encountered an error [Options=Options, Disposition=Disposition, ErrorsDetected=ErrorCount].
#Event ID 275: Count missing cache entries detected for Entity [Ids=Ids].
#Event ID 276: Count unexpected cache entries detected for Entity [Ids=Ids].
#Event ID 277: Invalid cache entry detected for Entity [Id=Id, Fields=Fields].
#Event ID 278: Waiting for transaction from TransactionCallerId to complete before setting package status.
#Event ID 279: Transaction from TransactionCallerId completed.
#Event ID 280: PackageDependency: Category[Index of Count]: Id=Id, UserSid=UserSID, PackageFullName=PackageFullName, PD.
#Description
PackageDependency: Category[Index of Count]: Id=Id, UserSid=UserSID, PackageFullName=PackageFullName, PD.PrimaryKey=PackageDependencyPrimaryKey, PD.User=PackageDependencyUser, PD.PackageFamilyName=PackageDependencyPackageFamilyName, PD.MinVersion=PackageDependencyMinVersion, PD.Architectures=PackageDependencyArchitectures, PD.LifetimeKind=PackageDependencyLifetimeKind, PD.LifetimeArtifact=PackageDependencyLifetimeArtifact, PD.Flags=PackageDependencyFlags, PD.ProcessId=PackageDependencyProcessId
Message #
Fields #
| Name | Description |
|---|---|
Category AnsiString | |
Index UInt32 | |
Count UInt32 | |
Id UnicodeString | |
UserSID UnicodeString | |
PackageFullName UnicodeString | |
PackageDependencyPrimaryKey Int64 | |
PackageDependencyUser Int64 | |
PackageDependencyPackageFamilyName UnicodeString | |
PackageDependencyMinVersion HexInt64 | |
PackageDependencyArchitectures Int32 | |
PackageDependencyLifetimeKind Int32 | |
PackageDependencyLifetimeArtifact UnicodeString | |
PackageDependencyFlags HexInt32 | |
PackageDependencyProcessId UInt32 |
Event ID 281: PackageDependency Summary: Resolved=ResolvedCount, Transient=TransientCount, Persisted=PersistedCount.
#Event ID 282: Error ErrorCode: Failed to import package status for user UserSid and package PackageFullName.
#Event ID 283: ImportPackageUserStatus completed with hr=ErrorCode.
#Event ID 284: REINDEX command has run; database indices are updated [Partition=Partition, ProcessId=ProcessId, Scope=Scope].
#Description
REINDEX command has run; database indices are updated [Partition=Partition, ProcessId=ProcessId, Scope=Scope].
Message #
Fields #
| Name | Description |
|---|---|
Partition Int32 | |
ProcessId UInt32 | |
Scope AnsiString |
Example Event #
{
"system": {
"provider": "Microsoft-Windows-StateRepository",
"event_id": 284,
"level": 5,
"task": 2,
"opcode": 0,
"time_created": "2026-04-28T01:03:43.2761551+00:00",
"computer": "DESKTOP-FF3N5XK.ludus.domain",
"channel": "Microsoft-Windows-StateRepository"
},
"event_data": {
"ProcessId": "3360",
"Scope": "(database)",
"Partition": "2"
}
}
Event ID 1000: [P:ProcessId T:ThreadId] Profile: ElapsedTime msec to run SQL 'SQL'.
#Provenance
Where this provider's schema came from, and which Windows build it was observed on. Windows can change a provider's event schema between builds, so use this to judge whether it matches the build you collect from.
ETW provider GUID 89592015-d996-4636-8f61-066b5d4dd739
Defined in Windows.StateRepository.dll, which carries the event manifest.
Observed on:
- WS2022-20348.4893, schema read from the registered manifest, binary version 10.0.20348.1, captured 2026-06-02
- Win11-26200.6584, schema read from the registered manifest, binary version 10.0.26100.4484, captured 2026-06-02