Microsoft-Windows-StateRepository

95 events across 3 channels

Event IDTitleChannel
100Error ErrorCode: SQL.Operational
101[P:ProcessId T:ThreadId] Trace: Executing SQL 'SQL'.Operational
102Error ErrorCode: Failed to open settings at HKLM\Subkey.Operational
103Error ErrorCode: Failed to read setting Name.Operational
104Warning ErrorCode: SQL.Operational
105Info ErrorCode: SQL.Operational
106Error ErrorCode: Failed to write setting Name.Operational
107CriticalError ErrorCode: SQL.Operational
108Verbose ErrorCode: SQL.Operational
200Error ErrorCode: Entity.Operational
201Error ErrorCode: Entity.Operational
202Error ErrorCode: Entity.Operational
203Error ErrorCode: Entity.Operational
204Error ErrorCode: Entity.Operational
205Error ErrorCode: Entity.Operational
206Error ErrorCode: Entity.Operational
207Error ErrorCode: Entity.Operational
208Error ErrorCode: Entity.Operational
209Error ErrorCode: Entity.Operational
210Error ErrorCode: Entity.Operational
211Error ErrorCode: Entity.Operational
212Error ErrorCode: Entity.Operational
213Error ErrorCode: Entity.Operational
214Blocking requests [Options=Options, ClientId=ProcessId].Operational
215Unblocking requests [Options=Options, ClientId=ProcessId].Operational
216StateRepository service started [ProcessId=ProcessId].Operational
217StateRepository service stopped [ProcessId=ProcessId].Operational
218Repository initialized [ProcessId=ProcessId].Debug
219Repository shutdown [ProcessId=ProcessId].Debug
220Error ErrorCode: Entity.Operational
221ANALYZE command has run; database statistics are updated [Partition=Partition, …Operational
222Error ErrorCode: StateRepository partition Partition creation failed …Operational
223StateRepository partition Partition exists and ready for use …Operational
224StateRepository partition Partition created [SchemaVersion=SchemaVersion].Operational
225StateRepository partition Partition upgraded [SchemaVersion=FoundSchemaVersion …Operational
226Error ErrorCode: Failed to raise Changed event on notification channel …Operational
227Error ErrorCode: StateRepository service failed to start …Operational
228The StateRepository service is starting.Operational
229The StateRepository service is startingOperational
230The StateRepository service is starting.Operational
231RepositoryManagerServerUpgrade with options: Options.Operational
232Error ErrorCode: Entity.Operational
233Migration starting [Machine: Disposition=MachineDisposition, …Operational
234Migration completed successfully [Machine: Disposition=MachineDisposition, …Operational
235Migration completed: MigratorErrors migrators encountered errors [Machine: …Operational
236Migrator 'Name' starting.Operational
237Migrator 'Name' completed successfully.Operational
238Migrator 'Name' encountered error ErrorCode.Operational
239Error ErrorCode: Migration encountered an error during Phase.Operational
240Error ErrorCode: Timeout exceeded accessing Filename: SQL.Operational
241Error ErrorCode: Timeout exceeded because Filename is in use by ProcessIndex …Operational
242Waiting TimeoutMSecmsec for requests in progress to complete.Operational
243Waited ElapsedTimeMSecmsec for requests in progress to complete.Operational
244Timeout exceeded waiting for requests in progress to complete …Operational
245Maintenance has been performedOperational
246Error ErrorCode: Maintenance encountered an error.Operational
247PreImport: Issue [SchemaVersion=SchemaVersion, Found=Found, Deleted=Deleted, …Operational
248Error ErrorCode: Failed to create setting Name.Operational
249Error ErrorCode: Failed to delete setting Name.Operational
250Error ErrorCode: Database corruption detected in partition Partition …Operational
251Error ErrorCode: Failed to query StateRepository for PackageFamilyName for user …Operational
252Error ErrorCode: Failed to scan Name for user UserSID.Operational
253Error ErrorCode: Failed to delete Name for user UserSID.Operational
254Error ErrorCode: Completed for user UserSID.Operational
255Repairs have been performed for user UserSID [Options=Options, Found=Found, …Operational
256Error ErrorCode: Repair for user UserSID encountered an error [Options=Options, …Operational
257Repair deleted Context\Name for user UserSID.Operational
258Repair detected unknown object Context\Name for user UserSID.Operational
259Count invalid foreign keys detected for Entity.Operational
260Count invalid foreign keys detected for Entity.Operational
261Check repository integrity has been performed [Options=Options, …Operational
262Error ErrorCode: Check repository integrity encountered an error …Operational
263Fix repository integrity has been performed [Options=Options, …Operational
264Error ErrorCode: Fix repository integrity encountered an error [Options=Options, …Operational
265Checkpoint has been performedOperational
266Error ErrorCode: Checkpoint encountered an error.Operational
267Count invalid foreign keys corrected for Entity.Operational
268Count invalid foreign keys corrected for Entity.Operational
269SRCache successfully initialized [Options=Options].Operational
270Error ErrorCode: SRCache initialization encountered an error [Options=Options].Operational
271SRCache successfully updated [Options=Options].Operational
272Error ErrorCode: SRCache update encountered an error [Options=Options].Operational
273Check cache integrity has been performed [Options=Options, …Operational
274Error ErrorCode: Check cache integrity encountered an error [Options=Options, …Operational
275Count missing cache entries detected for Entity [Ids=Ids].Operational
276Count unexpected cache entries detected for Entity [Ids=Ids].Operational
277Invalid cache entry detected for Entity [Id=Id, Fields=Fields].Operational
278Waiting for transaction from TransactionCallerId to complete before setting …Operational
279Transaction from TransactionCallerId completed.Operational
280PackageDependency: Category[Index of Count]: Id=Id, UserSid=UserSID, …Operational
281PackageDependency Summary: Resolved=ResolvedCount, Transient=TransientCount, …Operational
282Error ErrorCode: Failed to import package status for user UserSid and package …Operational
283ImportPackageUserStatus completed with hr=ErrorCode.Operational
284REINDEX command has run; database indices are updated [Partition=Partition, …Operational
1000[P:ProcessId T:ThreadId] Profile: ElapsedTime msec to run SQL 'SQL'.Diagnostic

Event ID 100 — Error ErrorCode: SQL.

Provider
Microsoft-Windows-StateRepository
Channel
Operational
Task
StateRepository.Task.DataAccessLayer

Message #

Error %1: %2

Fields #

NameDescription
ErrorCode HexInt32
SQL AnsiString

Event ID 101 — [P:ProcessId T:ThreadId] Trace: Executing SQL 'SQL'.

Provider
Microsoft-Windows-StateRepository
Channel
Operational
Task
StateRepository.Task.DataAccessLayer

Description

[P:ProcessId T:ThreadId] Trace: Executing SQL 'SQL'.

Message #

[P:%2 T:%3] Trace: Executing SQL '%1'

Fields #

NameDescription
SQL AnsiString
ProcessId UInt32
ThreadId UInt32

Event ID 102 — Error ErrorCode: Failed to open settings at HKLM\Subkey.

Provider
Microsoft-Windows-StateRepository
Channel
Operational
Task
StateRepository.Task.DataAccessLayer

Description

Error ErrorCode: Failed to open settings at HKLM\Subkey.

Message #

Error %1: Failed to open settings at HKLM\%2

Fields #

NameDescription
ErrorCode HexInt32
Subkey UnicodeString

Event ID 103 — Error ErrorCode: Failed to read setting Name.

Provider
Microsoft-Windows-StateRepository
Channel
Operational
Task
StateRepository.Task.DataAccessLayer

Description

Error ErrorCode: Failed to read setting Name.

Message #

Error %1: Failed to read setting %2

Fields #

NameDescription
ErrorCode HexInt32
Name UnicodeString

Event ID 104 — Warning ErrorCode: SQL.

Provider
Microsoft-Windows-StateRepository
Channel
Operational
Level
Warning
Task
StateRepository.Task.DataAccessLayer

Message #

Warning %1: %2

Fields #

NameDescription
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.

#
Provider
Microsoft-Windows-StateRepository
Channel
Operational
Level
Informational
Task
StateRepository.Task.DataAccessLayer

Message #

Info %1: %2

Fields #

NameDescription
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": "2023-10-25T21:39:12.861376+00:00",
    "event_record_id": 376,
    "correlation": {},
    "execution": {
      "process_id": 6332,
      "thread_id": 6376
    },
    "channel": "Microsoft-Windows-StateRepository/Operational",
    "computer": "WinDevEval",
    "security": {
      "user_id": "S-1-5-18"
    }
  },
  "event_data": {
    "ErrorCode": "0x11b",
    "SQL": "recovered 10 frames from WAL file C:\\ProgramData\\Microsoft\\Windows\\CapabilityAccessManager\\CapabilityAccessManager.db-wal"
  },
  "message": ""
}

References #

Event ID 106 — Error ErrorCode: Failed to write setting Name.

Provider
Microsoft-Windows-StateRepository
Channel
Operational
Task
StateRepository.Task.DataAccessLayer

Description

Error ErrorCode: Failed to write setting Name.

Message #

Error %1: Failed to write setting %2

Fields #

NameDescription
ErrorCode HexInt32
Name UnicodeString

Event ID 107 — CriticalError ErrorCode: SQL.

Provider
Microsoft-Windows-StateRepository
Channel
Operational
Task
StateRepository.Task.DataAccessLayer

Description

CriticalError ErrorCode: SQL.

Message #

CriticalError %1: %2

Fields #

NameDescription
ErrorCode HexInt32
SQL AnsiString

Event ID 108 — Verbose ErrorCode: SQL.

Provider
Microsoft-Windows-StateRepository
Channel
Operational
Task
StateRepository.Task.DataAccessLayer

Message #

Verbose %1: %2

Fields #

NameDescription
ErrorCode HexInt32
SQL AnsiString

Event ID 200 — Error ErrorCode: Entity.

Provider
Microsoft-Windows-StateRepository
Channel
Operational
Task
StateRepository.Task.DataAccessLayer

Description

Error ErrorCode: Entity.Method() failed [WorkId=WorkId].

Message #

Error %1: %2.%3() failed [WorkId=%4]

Fields #

NameDescription
ErrorCode HexInt32
Entity AnsiString
Method AnsiString
WorkId Int64

Event ID 201 — Error ErrorCode: Entity.

Provider
Microsoft-Windows-StateRepository
Channel
Operational
Task
StateRepository.Task.DataAccessLayer

Description

Error ErrorCode: Entity.Method(Id=Id, Revision=Revision) failed [WorkId=WorkId].

Message #

Error %1: %2.%3(Id=%5, Revision=%6) failed [WorkId=%4]

Fields #

NameDescription
ErrorCode HexInt32
Entity AnsiString
Method AnsiString
WorkId Int64
Id Int64
Revision UInt64

Event ID 202 — Error ErrorCode: Entity.

Provider
Microsoft-Windows-StateRepository
Channel
Operational
Task
StateRepository.Task.DataAccessLayer

Description

Error ErrorCode: Entity.Method(Id=Id) failed [WorkId=WorkId].

Message #

Error %1: %2.%3(Id=%5) failed [WorkId=%4]

Fields #

NameDescription
ErrorCode HexInt32
Entity AnsiString
Method AnsiString
WorkId Int64
Id Int64

Event ID 203 — Error ErrorCode: Entity.

Provider
Microsoft-Windows-StateRepository
Channel
Operational
Task
StateRepository.Task.DataAccessLayer

Description

Error ErrorCode: Entity.Method(Id=Id) failed [WorkId=WorkId].

Message #

Error %1: %2.%3(Id=%5) failed [WorkId=%4]

Fields #

NameDescription
ErrorCode HexInt32
Entity AnsiString
Method AnsiString
WorkId Int64
Id Int64

Event ID 204 — Error ErrorCode: Entity.

Provider
Microsoft-Windows-StateRepository
Channel
Operational
Task
StateRepository.Task.DataAccessLayer

Description

Error ErrorCode: Entity.Method() failed [WorkId=WorkId].

Message #

Error %1: %2.%3() failed [WorkId=%4]

Fields #

NameDescription
ErrorCode HexInt32
Entity AnsiString
Method AnsiString
WorkId Int64

Event ID 205 — Error ErrorCode: Entity.

Provider
Microsoft-Windows-StateRepository
Channel
Operational
Task
StateRepository.Task.DataAccessLayer

Description

Error ErrorCode: Entity.Method(Id=Id) failed [WorkId=WorkId].

Message #

Error %1: %2.%3(Id=%5) failed [WorkId=%4]

Fields #

NameDescription
ErrorCode HexInt32
Entity AnsiString
Method AnsiString
WorkId Int64
Id Int64

Event ID 206 — Error ErrorCode: Entity.

Provider
Microsoft-Windows-StateRepository
Channel
Operational
Task
StateRepository.Task.DataAccessLayer

Description

Error ErrorCode: Entity.Method failed [WorkId=WorkId].

Message #

Error %1: %2.%3 failed [WorkId=%4]

Fields #

NameDescription
ErrorCode HexInt32
Entity AnsiString
Method AnsiString
WorkId Int64

Event ID 207 — Error ErrorCode: Entity.

Provider
Microsoft-Windows-StateRepository
Channel
Operational
Task
StateRepository.Task.DataAccessLayer

Description

Error ErrorCode: Entity.Method() failed [WorkId=WorkId].

Message #

Error %1: %2.%3() failed [WorkId=%4]

Fields #

NameDescription
ErrorCode HexInt32
Entity AnsiString
Method AnsiString
WorkId Int64

Event ID 208 — Error ErrorCode: Entity.

Provider
Microsoft-Windows-StateRepository
Channel
Operational
Task
StateRepository.Task.DataAccessLayer

Description

Error ErrorCode: Entity.Method(Id=Id) failed [WorkId=WorkId].

Message #

Error %1: %2.%3(Id=%5) failed [WorkId=%4]

Fields #

NameDescription
ErrorCode HexInt32
Entity AnsiString
Method AnsiString
WorkId Int64
Id Int64

Event ID 209 — Error ErrorCode: Entity.

Provider
Microsoft-Windows-StateRepository
Channel
Operational
Task
StateRepository.Task.DataAccessLayer

Description

Error ErrorCode: Entity.Method failed [WorkId=WorkId].

Message #

Error %1: %2.%3 failed [WorkId=%4]

Fields #

NameDescription
ErrorCode HexInt32
Entity AnsiString
Method AnsiString
WorkId Int64

Event ID 210 — Error ErrorCode: Entity.

Provider
Microsoft-Windows-StateRepository
Channel
Operational
Task
StateRepository.Task.DataAccessLayer

Description

Error ErrorCode: Entity.Method failed [WorkId=WorkId].

Message #

Error %1: %2.%3 failed [WorkId=%4]

Fields #

NameDescription
ErrorCode HexInt32
Entity AnsiString
Method AnsiString
WorkId Int64

Event ID 211 — Error ErrorCode: Entity.

Provider
Microsoft-Windows-StateRepository
Channel
Operational
Task
StateRepository.Task.DataAccessLayer

Description

Error ErrorCode: Entity.Method(Id=Id) failed [WorkId=WorkId].

Message #

Error %1: %2.%3(Id=%5) failed [WorkId=%4]

Fields #

NameDescription
ErrorCode HexInt32
Entity AnsiString
Method AnsiString
WorkId Int64
Id Int64

Event ID 212 — Error ErrorCode: Entity.

Provider
Microsoft-Windows-StateRepository
Channel
Operational
Task
StateRepository.Task.DataAccessLayer

Description

Error ErrorCode: Entity.Method failed [WorkId=WorkId].

Message #

Error %1: %2.%3 failed [WorkId=%4]

Fields #

NameDescription
ErrorCode HexInt32
Entity AnsiString
Method AnsiString
WorkId Int64

Event ID 213 — Error ErrorCode: Entity.

Provider
Microsoft-Windows-StateRepository
Channel
Operational
Task
StateRepository.Task.WinRTAPI

Description

Error ErrorCode: Entity.Method failed [ClientId=ClientId].

Message #

Error %1: %2.%3 failed [ClientId=%4]

Fields #

NameDescription
ErrorCode HexInt32
Entity AnsiString
Method AnsiString
ClientId UInt32

Event ID 214 — Blocking requests [Options=Options, ClientId=ProcessId].

#
Provider
Microsoft-Windows-StateRepository
Channel
Operational
Level
Warning
Task
StateRepository.Task.WinRTAPI

Description

Blocking requests [Options=Options, ClientId=ProcessId].

Message #

Blocking requests [Options=%1, ClientId=%2]

Fields #

NameDescription
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 #

Event ID 215 — Unblocking requests [Options=Options, ClientId=ProcessId].

Provider
Microsoft-Windows-StateRepository
Channel
Operational
Task
StateRepository.Task.WinRTAPI

Description

Unblocking requests [Options=Options, ClientId=ProcessId].

Message #

Unblocking requests [Options=%1, ClientId=%2]

Fields #

NameDescription
Options HexInt32
ProcessId UInt32

Event ID 216 — StateRepository service started [ProcessId=ProcessId].

#
Provider
Microsoft-Windows-StateRepository
Channel
Operational
Level
Informational
Task
StateRepository.Task.WinRTAPI

Description

StateRepository service started [ProcessId=ProcessId].

Message #

StateRepository service started [ProcessId=%1]

Fields #

NameDescription
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": "2023-11-06T06:25:42.462183+00:00",
    "event_record_id": 1406,
    "correlation": {},
    "execution": {
      "process_id": 1096,
      "thread_id": 2084
    },
    "channel": "Microsoft-Windows-StateRepository/Operational",
    "computer": "WinDev2310Eval",
    "security": {
      "user_id": "S-1-5-18"
    }
  },
  "event_data": {
    "ProcessId": 1096
  },
  "message": ""
}

References #

Event ID 217 — StateRepository service stopped [ProcessId=ProcessId].

Provider
Microsoft-Windows-StateRepository
Channel
Operational
Task
StateRepository.Task.WinRTAPI

Description

StateRepository service stopped [ProcessId=ProcessId].

Message #

StateRepository service stopped [ProcessId=%1]

Fields #

NameDescription
ProcessId UInt32

Event ID 218 — Repository initialized [ProcessId=ProcessId].

Provider
Microsoft-Windows-StateRepository
Channel
Debug
Task
StateRepository.Task.WinRTAPI

Description

Repository initialized [ProcessId=ProcessId].

Message #

Repository initialized [ProcessId=%1]

Fields #

NameDescription
ProcessId UInt32
ThreadId UInt32

Event ID 219 — Repository shutdown [ProcessId=ProcessId].

Provider
Microsoft-Windows-StateRepository
Channel
Debug
Task
StateRepository.Task.WinRTAPI

Description

Repository shutdown [ProcessId=ProcessId].

Message #

Repository shutdown [ProcessId=%1]

Fields #

NameDescription
ProcessId UInt32
ThreadId UInt32

Event ID 220 — Error ErrorCode: Entity.

Provider
Microsoft-Windows-StateRepository
Channel
Operational
Task
StateRepository.Task.DataAccessLayer

Description

Error ErrorCode: Entity.Method() failed [WorkId=WorkId].

Message #

Error %1: %2.%3() failed [WorkId=%4]

Fields #

NameDescription
ErrorCode HexInt32
Entity AnsiString
Method AnsiString
WorkId Int64

Event ID 221 — ANALYZE command has run; database statistics are updated [Partition=Partition, ProcessId=ProcessId, Scope=Scope].

#
Provider
Microsoft-Windows-StateRepository
Channel
Operational
Level
Verbose
Task
StateRepository.Task.WinRTAPI

Description

ANALYZE command has run; database statistics are updated [Partition=Partition, ProcessId=ProcessId, Scope=Scope].

Message #

ANALYZE command has run; database statistics are updated [Partition=%1, ProcessId=%2, Scope=%3]

Fields #

NameDescription
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": "2023-11-06T06:23:01.636858+00:00",
    "event_record_id": 1367,
    "correlation": {
      "ActivityID": "626F7C94-1079-0001-968C-6F627910DA01"
    },
    "execution": {
      "process_id": 1532,
      "thread_id": 1660
    },
    "channel": "Microsoft-Windows-StateRepository/Operational",
    "computer": "WinDev2310Eval",
    "security": {
      "user_id": "S-1-5-18"
    }
  },
  "event_data": {
    "Partition": 1,
    "ProcessId": 1532,
    "Scope": "(database)"
  },
  "message": ""
}

References #

Event ID 222 — Error ErrorCode: StateRepository partition Partition creation failed [Filename=Filename, Disposition=Disposition, FoundSchemaVersion=FoundSchemaVersion, TargetSchemaVersion=CreatedSchemaVersion].

Provider
Microsoft-Windows-StateRepository
Channel
Operational
Task
StateRepository.Task.WinRTAPI

Description

Error ErrorCode: StateRepository partition Partition creation failed [Filename=Filename, Disposition=Disposition, FoundSchemaVersion=FoundSchemaVersion, TargetSchemaVersion=CreatedSchemaVersion].

Message #

Error %1: StateRepository partition %2 creation failed [Filename=%3, Disposition=%4, FoundSchemaVersion=%5, TargetSchemaVersion=%6]

Fields #

NameDescription
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].

#
Provider
Microsoft-Windows-StateRepository
Channel
Operational
Level
Informational
Task
StateRepository.Task.WinRTAPI

Description

StateRepository partition Partition exists and ready for use [SchemaVersion=SchemaVersion].

Message #

StateRepository partition %1 exists and ready for use [SchemaVersion=%2]

Fields #

NameDescription
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": "2023-11-06T06:25:39.642624+00:00",
    "event_record_id": 1403,
    "correlation": {},
    "execution": {
      "process_id": 1096,
      "thread_id": 2084
    },
    "channel": "Microsoft-Windows-StateRepository/Operational",
    "computer": "WinDev2310Eval",
    "security": {
      "user_id": "S-1-5-18"
    }
  },
  "event_data": {
    "Partition": 2,
    "SchemaVersion": 26624,
    "Filename": "C:\\ProgramData\\Microsoft\\Windows\\AppRepository\\StateRepository-Deployment.srd"
  },
  "message": ""
}

References #

Event ID 224 — StateRepository partition Partition created [SchemaVersion=SchemaVersion].

Provider
Microsoft-Windows-StateRepository
Channel
Operational
Task
StateRepository.Task.WinRTAPI

Description

StateRepository partition Partition created [SchemaVersion=SchemaVersion].

Message #

StateRepository partition %1 created [SchemaVersion=%2]

Fields #

NameDescription
Partition Int32
SchemaVersion Int32
Filename UnicodeString

Event ID 225 — StateRepository partition Partition upgraded [SchemaVersion=FoundSchemaVersion -> SchemaVersion].

Provider
Microsoft-Windows-StateRepository
Channel
Operational
Task
StateRepository.Task.WinRTAPI

Description

StateRepository partition Partition upgraded [SchemaVersion=FoundSchemaVersion -> SchemaVersion].

Message #

StateRepository partition %1 upgraded [SchemaVersion=%3 -> %2]

Fields #

NameDescription
Partition Int32
SchemaVersion Int32
FoundSchemaVersion Int32
Filename UnicodeString

Event ID 226 — Error ErrorCode: Failed to raise Changed event on notification channel ChannelName for user UserSid.

Provider
Microsoft-Windows-StateRepository
Channel
Operational
Task
StateRepository.Task.WinRTAPI

Description

Error ErrorCode: Failed to raise Changed event on notification channel ChannelName for user UserSid.

Message #

Error %1: Failed to raise Changed event on notification channel %2 for user %3

Fields #

NameDescription
ErrorCode HexInt32
ChannelName UnicodeString
UserSid UnicodeString

Event ID 227 — Error ErrorCode: StateRepository service failed to start [Checkpoint=Checkpoint].

Provider
Microsoft-Windows-StateRepository
Channel
Operational
Task
StateRepository.Task.WinRTAPI

Description

Error ErrorCode: StateRepository service failed to start [Checkpoint=Checkpoint].

Message #

Error %1: StateRepository service failed to start [Checkpoint=%2]

Fields #

NameDescription
ErrorCode HexInt32
Checkpoint Int32

Event ID 228 — The StateRepository service is starting.

Provider
Microsoft-Windows-StateRepository
Channel
Operational
Task
StateRepository.Task.WinRTAPI

Description

The StateRepository service is starting. The service's last known status cannot be determined [LastStatus=LastKnownStatus].

Message #

The StateRepository service is starting. The service's last known status cannot be determined [LastStatus=%1]

Fields #

NameDescription
LastKnownStatus Int32

Event ID 229 — The StateRepository service is starting

Provider
Microsoft-Windows-StateRepository
Channel
Operational
Task
StateRepository.Task.WinRTAPI

Description

The StateRepository service is starting.

Message #

The StateRepository service is starting

Fields #

NameDescription
LastKnownStatus Int32

Event ID 230 — The StateRepository service is starting.

Provider
Microsoft-Windows-StateRepository
Channel
Operational
Task
StateRepository.Task.WinRTAPI

Description

The StateRepository service is starting. The service did not complete its shutdown work when previously active [LastStatus=LastKnownStatus].

Message #

The StateRepository service is starting. The service did not complete its shutdown work when previously active [LastStatus=%1]

Fields #

NameDescription
LastKnownStatus Int32

Event ID 231 — RepositoryManagerServerUpgrade with options: Options.

#
Provider
Microsoft-Windows-StateRepository
Channel
Operational
Level
Verbose
Task
StateRepository.Task.WinRTAPI

Description

RepositoryManagerServerUpgrade with options: Options.

Message #

RepositoryManagerServerUpgrade with options: %1

Fields #

NameDescription
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": "2023-11-06T06:25:42.875237+00:00",
    "event_record_id": 1407,
    "correlation": {},
    "execution": {
      "process_id": 1096,
      "thread_id": 3464
    },
    "channel": "Microsoft-Windows-StateRepository/Operational",
    "computer": "WinDev2310Eval",
    "security": {
      "user_id": "S-1-5-18"
    }
  },
  "event_data": {
    "Options": "0x1"
  },
  "message": ""
}

References #

Event ID 232 — Error ErrorCode: Entity.

Provider
Microsoft-Windows-StateRepository
Channel
Operational
Task
StateRepository.Task.DataAccessLayer

Description

Error ErrorCode: Entity.Method failed [WorkId=WorkId].

Message #

Error %1: %2.%3 failed [WorkId=%4]

Fields #

NameDescription
ErrorCode HexInt32
Entity AnsiString
Method AnsiString
WorkId Int64

Event ID 233 — Migration starting [Machine: Disposition=MachineDisposition, PreviousVersion=PreviousMachineVersion, Deployment: Disposition=DeploymentDisposition, PreviousVersion=PreviousDeploymentVersion.

Provider
Microsoft-Windows-StateRepository
Channel
Operational
Task
StateRepository.Task.Migrate

Description

Migration starting [Machine: Disposition=MachineDisposition, PreviousVersion=PreviousMachineVersion, Deployment: Disposition=DeploymentDisposition, PreviousVersion=PreviousDeploymentVersion.

Message #

Migration starting [Machine: Disposition=%1, PreviousVersion=%2, Deployment: Disposition=%3, PreviousVersion=%4

Fields #

NameDescription
MachineDisposition Int32
PreviousMachineVersion Int32
DeploymentDisposition Int32
PreviousDeploymentVersion Int32

Event ID 234 — Migration completed successfully [Machine: Disposition=MachineDisposition, PreviousVersion=PreviousMachineVersion] [Deployment: Disposition=DeploymentDisposition, PreviousVersion=PreviousDeployment...

#
Provider
Microsoft-Windows-StateRepository
Channel
Operational
Level
Informational
Task
StateRepository.Task.Migrate

Description

Migration completed successfully [Machine: Disposition=MachineDisposition, PreviousVersion=PreviousMachineVersion] [Deployment: Disposition=DeploymentDisposition, PreviousVersion=PreviousDeploymentVersion].

Message #

Migration completed successfully [Machine: Disposition=%1, PreviousVersion=%2] [Deployment: Disposition=%3, PreviousVersion=%4]

Fields #

NameDescription
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 #

Event ID 235 — Migration completed: MigratorErrors migrators encountered errors [Machine: Disposition=MachineDisposition, PreviousVersion=PreviousMachineVersion] [Deployment: Disposition=DeploymentDisposition, Pr...

Provider
Microsoft-Windows-StateRepository
Channel
Operational
Task
StateRepository.Task.Migrate

Description

Migration completed: MigratorErrors migrators encountered errors [Machine: Disposition=MachineDisposition, PreviousVersion=PreviousMachineVersion] [Deployment: Disposition=DeploymentDisposition, PreviousVersion=PreviousDeploymentVersion].

Message #

Migration completed: %5 migrators encountered errors [Machine: Disposition=%1, PreviousVersion=%2] [Deployment: Disposition=%3, PreviousVersion=%4]

Fields #

NameDescription
MachineDisposition Int32
PreviousMachineVersion Int32
DeploymentDisposition Int32
PreviousDeploymentVersion Int32
MigratorErrors Int32

Event ID 236 — Migrator 'Name' starting.

Provider
Microsoft-Windows-StateRepository
Channel
Operational
Task
StateRepository.Task.Migrate

Description

Migrator 'Name' starting.

Message #

Migrator '%1' starting

Fields #

NameDescription
Name UnicodeString

Event ID 237 — Migrator 'Name' completed successfully.

Provider
Microsoft-Windows-StateRepository
Channel
Operational
Task
StateRepository.Task.Migrate

Description

Migrator 'Name' completed successfully.

Message #

Migrator '%1' completed successfully

Fields #

NameDescription
Name UnicodeString

Event ID 238 — Migrator 'Name' encountered error ErrorCode.

Provider
Microsoft-Windows-StateRepository
Channel
Operational
Task
StateRepository.Task.Migrate

Description

Migrator 'Name' encountered error ErrorCode.

Message #

Migrator '%2' encountered error %1

Fields #

NameDescription
ErrorCode HexInt32
Name UnicodeString

Event ID 239 — Error ErrorCode: Migration encountered an error during Phase.

Provider
Microsoft-Windows-StateRepository
Channel
Operational
Task
StateRepository.Task.Migrate

Description

Error ErrorCode: Migration encountered an error during Phase.

Message #

Error %1: Migration encountered an error during %2

Fields #

NameDescription
ErrorCode HexInt32
Phase UnicodeString

Event ID 240 — Error ErrorCode: Timeout exceeded accessing Filename: SQL.

Provider
Microsoft-Windows-StateRepository
Channel
Operational
Task
StateRepository.Task.DataAccessLayer

Description

Error ErrorCode: Timeout exceeded accessing Filename: SQL.

Message #

Error %1: Timeout exceeded accessing %2: %3

Fields #

NameDescription
ErrorCode HexInt32
Filename AnsiString
SQL AnsiString
TransactionCallerId GUID
Priorities UnicodeString

Event ID 241 — Error ErrorCode: Timeout exceeded because Filename is in use by ProcessIndex process(es).

Provider
Microsoft-Windows-StateRepository
Channel
Operational
Task
StateRepository.Task.DataAccessLayer

Description

Error : Timeout exceeded because is in use by process(es). Process[] = processid , application , package , executable , user username /, session , commandline.

Message #

Error %1: Timeout exceeded because %2 is in use by %3 process(es). Process[%4] = processid %5, application %6, package %7, executable %8, user %9 username %10/%11, session %12, commandline %13

Fields #

NameDescription
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.

#
Provider
Microsoft-Windows-StateRepository
Channel
Operational
Level
Verbose
Task
StateRepository.Task.DataAccessLayer

Description

Waiting TimeoutMSecmsec for requests in progress to complete.

Message #

Waiting %1msec for requests in progress to complete

Fields #

NameDescription
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": "2023-11-06T06:23:40.349139+00:00",
    "event_record_id": 1400,
    "correlation": {},
    "execution": {
      "process_id": 1496,
      "thread_id": 1140
    },
    "channel": "Microsoft-Windows-StateRepository/Operational",
    "computer": "WinDev2310Eval",
    "security": {
      "user_id": "S-1-5-18"
    }
  },
  "event_data": {
    "TimeoutMSec": 5000,
    "ElapsedTimeMSec": 0
  },
  "message": ""
}

References #

Event ID 243 — Waited ElapsedTimeMSecmsec for requests in progress to complete.

#
Provider
Microsoft-Windows-StateRepository
Channel
Operational
Level
Verbose
Task
StateRepository.Task.DataAccessLayer

Description

Waited ElapsedTimeMSecmsec for requests in progress to complete.

Message #

Waited %2msec for requests in progress to complete

Fields #

NameDescription
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": "2023-11-06T06:23:40.349210+00:00",
    "event_record_id": 1401,
    "correlation": {},
    "execution": {
      "process_id": 1496,
      "thread_id": 1140
    },
    "channel": "Microsoft-Windows-StateRepository/Operational",
    "computer": "WinDev2310Eval",
    "security": {
      "user_id": "S-1-5-18"
    }
  },
  "event_data": {
    "TimeoutMSec": 5000,
    "ElapsedTimeMSec": 0
  },
  "message": ""
}

References #

Event ID 244 — Timeout exceeded waiting for requests in progress to complete [Timeout=TimeoutMSecmsec, Elapsed=ElapsedTimeMSecmsec].

Provider
Microsoft-Windows-StateRepository
Channel
Operational
Task
StateRepository.Task.DataAccessLayer

Description

Timeout exceeded waiting for requests in progress to complete [Timeout=TimeoutMSecmsec, Elapsed=ElapsedTimeMSecmsec].

Message #

Timeout exceeded waiting for requests in progress to complete [Timeout=%1msec, Elapsed=%2msec]

Fields #

NameDescription
TimeoutMSec UInt64
ElapsedTimeMSec UInt64

Event ID 245 — Maintenance has been performed

#
Provider
Microsoft-Windows-StateRepository
Channel
Operational
Level
Verbose
Task
StateRepository.Task.WinRTAPI

Description

Maintenance has been performed.

Message #

Maintenance has been performed

Fields #

NameDescription
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": "2023-11-06T06:25:40.066852+00:00",
    "event_record_id": 1404,
    "correlation": {},
    "execution": {
      "process_id": 1096,
      "thread_id": 2084
    },
    "channel": "Microsoft-Windows-StateRepository/Operational",
    "computer": "WinDev2310Eval",
    "security": {
      "user_id": "S-1-5-18"
    }
  },
  "event_data": {
    "ErrorCode": "0x0",
    "MachineSize_Before": 2097152,
    "MachineJournalSize_Before": 0,
    "DeploymentSize_Before": 5242880,
    "DeploymentJournalSize_Before": 0,
    "MachineSize_After": 2097152,
    "MachineJournalSize_After": 0,
    "DeploymentSize_After": 5242880,
    "DeploymentJournalSize_After": 0,
    "MaintenancePerformed": "0x53"
  },
  "message": ""
}

References #

Event ID 246 — Error ErrorCode: Maintenance encountered an error.

Provider
Microsoft-Windows-StateRepository
Channel
Operational
Task
StateRepository.Task.WinRTAPI

Description

Error ErrorCode: Maintenance encountered an error.

Message #

Error %1: Maintenance encountered an error

Fields #

NameDescription
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].

Provider
Microsoft-Windows-StateRepository
Channel
Operational
Task
StateRepository.Task.DataAccessLayer

Description

PreImport: Issue [SchemaVersion=SchemaVersion, Found=Found, Deleted=Deleted, Id(s)=Id].

Message #

PreImport: %4 [SchemaVersion=%2, Found=%5, Deleted=%7, Id(s)=%6]

Fields #

NameDescription
Partition Int32
SchemaVersion Int32
Filename AnsiString
Issue UnicodeString
Found Int32
Id UnicodeString
Deleted Int32

Event ID 248 — Error ErrorCode: Failed to create setting Name.

Provider
Microsoft-Windows-StateRepository
Channel
Operational
Task
StateRepository.Task.DataAccessLayer

Description

Error ErrorCode: Failed to create setting Name.

Message #

Error %1: Failed to create setting %2

Fields #

NameDescription
ErrorCode HexInt32
Name UnicodeString

Event ID 249 — Error ErrorCode: Failed to delete setting Name.

Provider
Microsoft-Windows-StateRepository
Channel
Operational
Task
StateRepository.Task.DataAccessLayer

Description

Error ErrorCode: Failed to delete setting Name.

Message #

Error %1: Failed to delete setting %2

Fields #

NameDescription
ErrorCode HexInt32
Name UnicodeString

Event ID 250 — Error ErrorCode: Database corruption detected in partition Partition [Action=Action, Try#=Try, Elapsed=ElapsedTimeMSecmsec, Uptime=FirstReportedUptime, FirstReported=FirstReportedWhen].

Provider
Microsoft-Windows-StateRepository
Channel
Operational
Task
StateRepository.Task.DataAccessLayer

Description

Error ErrorCode: Database corruption detected in partition Partition [Action=Action, Try#=Try, Elapsed=ElapsedTimeMSecmsec, Uptime=FirstReportedUptime, FirstReported=FirstReportedWhen].

Message #

Error %1: Database corruption detected in partition %3 [Action=%2, Try#=%6, Elapsed=%7msec, Uptime=%8, FirstReported=%9]

Fields #

NameDescription
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.

Provider
Microsoft-Windows-StateRepository
Channel
Operational
Task
StateRepository.Task.DataAccessLayer

Description

Error ErrorCode: Failed to query StateRepository for PackageFamilyName for user UserSID.

Message #

Error %1: Failed to query StateRepository for %3 for user %2

Fields #

NameDescription
ErrorCode HexInt32
UserSID UnicodeString
PackageFamilyName UnicodeString

Event ID 252 — Error ErrorCode: Failed to scan Name for user UserSID.

Provider
Microsoft-Windows-StateRepository
Channel
Operational
Task
StateRepository.Task.DataAccessLayer

Description

Error ErrorCode: Failed to scan Name for user UserSID.

Message #

Error %1: Failed to scan %3 for user %2

Fields #

NameDescription
ErrorCode HexInt32
UserSID UnicodeString
Name UnicodeString

Event ID 253 — Error ErrorCode: Failed to delete Name for user UserSID.

Provider
Microsoft-Windows-StateRepository
Channel
Operational
Task
StateRepository.Task.DataAccessLayer

Description

Error ErrorCode: Failed to delete Name for user UserSID.

Message #

Error %1: Failed to delete %3 for user %2

Fields #

NameDescription
ErrorCode HexInt32
UserSID UnicodeString
Name UnicodeString

Event ID 254 — Error ErrorCode: Completed for user UserSID.

Provider
Microsoft-Windows-StateRepository
Channel
Operational
Task
StateRepository.Task.DataAccessLayer

Description

Error ErrorCode: Completed for user UserSID.

Message #

Error %1: Completed for user %2

Fields #

NameDescription
ErrorCode HexInt32
UserSID UnicodeString

Event ID 255 — Repairs have been performed for user UserSID [Options=Options, Found=Found, Deleted=Deleted].

Provider
Microsoft-Windows-StateRepository
Channel
Operational
Task
StateRepository.Task.WinRTAPI

Description

Repairs have been performed for user UserSID [Options=Options, Found=Found, Deleted=Deleted].

Message #

Repairs have been performed for user %2 [Options=%3, Found=%4, Deleted=%5]

Fields #

NameDescription
ErrorCode HexInt32
UserSID UnicodeString
Options HexInt32
Found UInt32
Deleted UInt32

Event ID 256 — Error ErrorCode: Repair for user UserSID encountered an error [Options=Options, Found=Found, Deleted=Deleted].

Provider
Microsoft-Windows-StateRepository
Channel
Operational
Task
StateRepository.Task.WinRTAPI

Description

Error ErrorCode: Repair for user UserSID encountered an error [Options=Options, Found=Found, Deleted=Deleted].

Message #

Error %1: Repair for user %2 encountered an error [Options=%3, Found=%4, Deleted=%5]

Fields #

NameDescription
ErrorCode HexInt32
UserSID UnicodeString
Options HexInt32
Found UInt32
Deleted UInt32

Event ID 257 — Repair deleted Context\Name for user UserSID.

Provider
Microsoft-Windows-StateRepository
Channel
Operational
Task
StateRepository.Task.DataAccessLayer

Description

Repair deleted Context\Name for user UserSID.

Message #

Repair deleted %4\%3 for user %2

Fields #

NameDescription
ErrorCode HexInt32
UserSID UnicodeString
Name UnicodeString
Context UnicodeString

Event ID 258 — Repair detected unknown object Context\Name for user UserSID.

Provider
Microsoft-Windows-StateRepository
Channel
Operational
Task
StateRepository.Task.DataAccessLayer

Description

Repair detected unknown object Context\Name for user UserSID.

Message #

Repair detected unknown object %3\%2 for user %1

Fields #

NameDescription
UserSID UnicodeString
Name UnicodeString
Context UnicodeString

Event ID 259 — Count invalid foreign keys detected for Entity.

Provider
Microsoft-Windows-StateRepository
Channel
Operational
Level
Warning
Task
StateRepository.Task.DataAccessLayer

Description

Count invalid foreign keys detected for Entity.Field [Filename=Filename, Ids=Ids].

Message #

%5 invalid foreign keys detected for %1.%2 [Filename=%3, Ids=%6]

Fields #

NameDescription
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.

Provider
Microsoft-Windows-StateRepository
Channel
Operational
Task
StateRepository.Task.DataAccessLayer

Description

Count invalid foreign keys detected for Entity.Field [Filename=Filename, Ids=Ids].

Message #

%5 invalid foreign keys detected for %1.%2 [Filename=%3, Ids=%6]

Fields #

NameDescription
Entity AnsiString
Field AnsiString
Filename AnsiString
SQL AnsiString
Count UInt64
Ids AnsiString

Event ID 261 — Check repository integrity has been performed [Options=Options, Disposition=Disposition, ErrorsDetected=ErrorCount].

Provider
Microsoft-Windows-StateRepository
Channel
Operational
Task
StateRepository.Task.DataAccessLayer

Description

Check repository integrity has been performed [Options=Options, Disposition=Disposition, ErrorsDetected=ErrorCount].

Message #

Check repository integrity has been performed [Options=%2, Disposition=%3, ErrorsDetected=%4]

Fields #

NameDescription
ErrorCode HexInt32
Options HexInt32
Disposition Int32
ErrorCount UInt64

Event ID 262 — Error ErrorCode: Check repository integrity encountered an error [Options=Options, Disposition=Disposition, ErrorsDetected=ErrorCount].

Provider
Microsoft-Windows-StateRepository
Channel
Operational
Task
StateRepository.Task.DataAccessLayer

Description

Error ErrorCode: Check repository integrity encountered an error [Options=Options, Disposition=Disposition, ErrorsDetected=ErrorCount].

Message #

Error %1: Check repository integrity encountered an error [Options=%2, Disposition=%3, ErrorsDetected=%4]

Fields #

NameDescription
ErrorCode HexInt32
Options HexInt32
Disposition Int32
ErrorCount UInt64

Event ID 263 — Fix repository integrity has been performed [Options=Options, ErrorsCorrected=FixCount].

Provider
Microsoft-Windows-StateRepository
Channel
Operational
Task
StateRepository.Task.DataAccessLayer

Description

Fix repository integrity has been performed [Options=Options, ErrorsCorrected=FixCount].

Message #

Fix repository integrity has been performed [Options=%2, ErrorsCorrected=%3]

Fields #

NameDescription
ErrorCode HexInt32
Options HexInt32
FixCount UInt64

Event ID 264 — Error ErrorCode: Fix repository integrity encountered an error [Options=Options, ErrorsCorrected=FixCount].

Provider
Microsoft-Windows-StateRepository
Channel
Operational
Task
StateRepository.Task.DataAccessLayer

Description

Error ErrorCode: Fix repository integrity encountered an error [Options=Options, ErrorsCorrected=FixCount].

Message #

Error %1: Fix repository integrity encountered an error [Options=%2, ErrorsCorrected=%3]

Fields #

NameDescription
ErrorCode HexInt32
Options HexInt32
FixCount UInt64

Event ID 265 — Checkpoint has been performed

#
Provider
Microsoft-Windows-StateRepository
Channel
Operational
Level
Verbose
Task
StateRepository.Task.WinRTAPI

Description

Checkpoint has been performed.

Message #

Checkpoint has been performed

Fields #

NameDescription
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": "2023-11-06T06:21:57.898543+00:00",
    "event_record_id": 1175,
    "correlation": {},
    "execution": {
      "process_id": 1496,
      "thread_id": 1516
    },
    "channel": "Microsoft-Windows-StateRepository/Operational",
    "computer": "WinDev2310Eval",
    "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": ""
}

References #

Event ID 266 — Error ErrorCode: Checkpoint encountered an error.

Provider
Microsoft-Windows-StateRepository
Channel
Operational
Task
StateRepository.Task.WinRTAPI

Description

Error ErrorCode: Checkpoint encountered an error.

Message #

Error %1: Checkpoint encountered an error

Fields #

NameDescription
ErrorCode HexInt32
Options HexInt32
MachineDatabase_Pages Int32
MachineDatabase_PagesCheckpointed Int32
DeploymentDatabase_Pages Int32
DeploymentDatabase_PagesCheckpointed Int32

Event ID 267 — Count invalid foreign keys corrected for Entity.

Provider
Microsoft-Windows-StateRepository
Channel
Operational
Level
Informational
Task
StateRepository.Task.DataAccessLayer

Description

Count invalid foreign keys corrected for Entity.Field [Filename=Filename].

Message #

%5 invalid foreign keys corrected for %1.%2 [Filename=%3]

Fields #

NameDescription
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.

Provider
Microsoft-Windows-StateRepository
Channel
Operational
Task
StateRepository.Task.DataAccessLayer

Description

Count invalid foreign keys corrected for Entity.Field [Filename=Filename].

Message #

%5 invalid foreign keys corrected for %1.%2 [Filename=%3]

Fields #

NameDescription
Entity AnsiString
Field AnsiString
Filename AnsiString
SQL AnsiString
Count UInt64

Event ID 269 — SRCache successfully initialized [Options=Options].

#
Provider
Microsoft-Windows-StateRepository
Channel
Operational
Level
Verbose
Task
StateRepository.Task.WinRTAPI

Description

SRCache successfully initialized [Options=Options].

Message #

SRCache successfully initialized [Options=%1]

Fields #

NameDescription
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": "2023-11-06T06:25:42.070188+00:00",
    "event_record_id": 1405,
    "correlation": {},
    "execution": {
      "process_id": 1096,
      "thread_id": 2084
    },
    "channel": "Microsoft-Windows-StateRepository/Operational",
    "computer": "WinDev2310Eval",
    "security": {
      "user_id": "S-1-5-18"
    }
  },
  "event_data": {
    "Options": "0x0"
  },
  "message": ""
}

References #

Event ID 270 — Error ErrorCode: SRCache initialization encountered an error [Options=Options].

Provider
Microsoft-Windows-StateRepository
Channel
Operational
Task
StateRepository.Task.WinRTAPI

Description

Error ErrorCode: SRCache initialization encountered an error [Options=Options].

Message #

Error %1: SRCache initialization encountered an error [Options=%2]

Fields #

NameDescription
ErrorCode HexInt32
Options HexInt32

Event ID 271 — SRCache successfully updated [Options=Options].

#
Provider
Microsoft-Windows-StateRepository
Channel
Operational
Level
Verbose
Task
StateRepository.Task.WinRTAPI

Description

SRCache successfully updated [Options=Options].

Message #

SRCache successfully updated [Options=%1]

Fields #

NameDescription
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": "2023-11-06T06:23:19.485458+00:00",
    "event_record_id": 1399,
    "correlation": {
      "ActivityID": "626F7C94-1079-0000-B9AE-6F627910DA01"
    },
    "execution": {
      "process_id": 1496,
      "thread_id": 1864
    },
    "channel": "Microsoft-Windows-StateRepository/Operational",
    "computer": "WinDev2310Eval",
    "security": {
      "user_id": "S-1-5-18"
    }
  },
  "event_data": {
    "Options": "0x0"
  },
  "message": ""
}

References #

Event ID 272 — Error ErrorCode: SRCache update encountered an error [Options=Options].

Provider
Microsoft-Windows-StateRepository
Channel
Operational
Task
StateRepository.Task.WinRTAPI

Description

Error ErrorCode: SRCache update encountered an error [Options=Options].

Message #

Error %1: SRCache update encountered an error [Options=%2]

Fields #

NameDescription
ErrorCode HexInt32
Options HexInt32

Event ID 273 — Check cache integrity has been performed [Options=Options, Disposition=Disposition, ErrorsDetected=ErrorCount].

Provider
Microsoft-Windows-StateRepository
Channel
Operational
Task
StateRepository.Task.DataAccessLayer

Description

Check cache integrity has been performed [Options=Options, Disposition=Disposition, ErrorsDetected=ErrorCount].

Message #

Check cache integrity has been performed [Options=%2, Disposition=%3, ErrorsDetected=%4]

Fields #

NameDescription
ErrorCode HexInt32
Options HexInt32
Disposition Int32
ErrorCount UInt64

Event ID 274 — Error ErrorCode: Check cache integrity encountered an error [Options=Options, Disposition=Disposition, ErrorsDetected=ErrorCount].

Provider
Microsoft-Windows-StateRepository
Channel
Operational
Task
StateRepository.Task.DataAccessLayer

Description

Error ErrorCode: Check cache integrity encountered an error [Options=Options, Disposition=Disposition, ErrorsDetected=ErrorCount].

Message #

Error %1: Check cache integrity encountered an error [Options=%2, Disposition=%3, ErrorsDetected=%4]

Fields #

NameDescription
ErrorCode HexInt32
Options HexInt32
Disposition Int32
ErrorCount UInt64

Event ID 275 — Count missing cache entries detected for Entity [Ids=Ids].

Provider
Microsoft-Windows-StateRepository
Channel
Operational
Task
StateRepository.Task.DataAccessLayer

Description

Count missing cache entries detected for Entity [Ids=Ids].

Message #

%2 missing cache entries detected for %1 [Ids=%3]

Fields #

NameDescription
Entity AnsiString
Count UInt64
Ids AnsiString

Event ID 276 — Count unexpected cache entries detected for Entity [Ids=Ids].

Provider
Microsoft-Windows-StateRepository
Channel
Operational
Task
StateRepository.Task.DataAccessLayer

Description

Count unexpected cache entries detected for Entity [Ids=Ids].

Message #

%2 unexpected cache entries detected for %1 [Ids=%3]

Fields #

NameDescription
Entity AnsiString
Count UInt64
Ids AnsiString

Event ID 277 — Invalid cache entry detected for Entity [Id=Id, Fields=Fields].

Provider
Microsoft-Windows-StateRepository
Channel
Operational
Task
StateRepository.Task.DataAccessLayer

Description

Invalid cache entry detected for Entity [Id=Id, Fields=Fields].

Message #

Invalid cache entry detected for %1 [Id=%2, Fields=%3]

Fields #

NameDescription
Entity AnsiString
Id UInt64
Fields AnsiString

Event ID 278 — Waiting for transaction from TransactionCallerId to complete before setting package status.

Provider
Microsoft-Windows-StateRepository
Channel
Operational
Task
StateRepository.Task.WinRTAPI

Description

Waiting for transaction from TransactionCallerId to complete before setting package status.

Message #

Waiting for transaction from %1 to complete before setting package status.

Fields #

NameDescription
TransactionCallerId GUID

Event ID 279 — Transaction from TransactionCallerId completed.

Provider
Microsoft-Windows-StateRepository
Channel
Operational
Task
StateRepository.Task.WinRTAPI

Description

Transaction from TransactionCallerId completed. Proceeding to set package status.

Message #

Transaction from %1 completed. Proceeding to set package status.

Fields #

NameDescription
TransactionCallerId GUID

Event ID 280 — PackageDependency: Category[Index of Count]: Id=Id, UserSid=UserSID, PackageFullName=PackageFullName, PD.

Provider
Microsoft-Windows-StateRepository
Channel
Operational
Task
StateRepository.Task.WinRTAPI

Message #

PackageDependency: %1[%2 of %3]: Id=%4, UserSid=%5, PackageFullName=%6, PD.PrimaryKey=%7, PD.User=%8, PD.PackageFamilyName=%9, PD.MinVersion=%10, PD.Architectures=%11, PD.LifetimeKind=%12, PD.LifetimeArtifact=%13, PD.Flags=%14, PD.ProcessId=%15

Fields #

NameDescription
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.

Provider
Microsoft-Windows-StateRepository
Channel
Operational
Task
StateRepository.Task.WinRTAPI

Description

PackageDependency Summary: Resolved=ResolvedCount, Transient=TransientCount, Persisted=PersistedCount.

Message #

PackageDependency Summary: Resolved=%1, Transient=%2, Persisted=%3

Fields #

NameDescription
ResolvedCount UInt32
TransientCount UInt32
PersistedCount UInt32

Event ID 282 — Error ErrorCode: Failed to import package status for user UserSid and package PackageFullName.

Provider
Microsoft-Windows-StateRepository
Channel
Operational
Task
StateRepository.Task.WinRTAPI

Description

Error ErrorCode: Failed to import package status for user UserSid and package PackageFullName.

Message #

Error %1: Failed to import package status for user %2 and package %3

Fields #

NameDescription
ErrorCode HexInt32
UserSid UnicodeString
PackageFullName UnicodeString

Event ID 283 — ImportPackageUserStatus completed with hr=ErrorCode.

Provider
Microsoft-Windows-StateRepository
Channel
Operational
Task
StateRepository.Task.WinRTAPI

Description

ImportPackageUserStatus completed with hr=ErrorCode. Import succeeded for SuccessCount packages and failed for FailureCount packages.

Message #

ImportPackageUserStatus completed with hr=%1. Import succeeded for %2 packages and failed for %3 packages.

Fields #

NameDescription
ErrorCode HexInt32
SuccessCount UInt64
FailureCount UInt64

Event ID 284 — REINDEX command has run; database indices are updated [Partition=Partition, ProcessId=ProcessId, Scope=Scope].

Provider
Microsoft-Windows-StateRepository
Channel
Operational
Task
StateRepository.Task.WinRTAPI

Description

REINDEX command has run; database indices are updated [Partition=Partition, ProcessId=ProcessId, Scope=Scope].

Message #

REINDEX command has run; database indices are updated [Partition=%1, ProcessId=%2, Scope=%3]

Fields #

NameDescription
Partition Int32
ProcessId UInt32
Scope AnsiString

Event ID 1000 — [P:ProcessId T:ThreadId] Profile: ElapsedTime msec to run SQL 'SQL'.

Provider
Microsoft-Windows-StateRepository
Channel
Diagnostic
Task
StateRepository.Task.DataAccessLayer

Description

[P:ProcessId T:ThreadId] Profile: ElapsedTime msec to run SQL 'SQL'.

Message #

[P:%3 T:%4] Profile: %1 msec to run SQL '%2'

Fields #

NameDescription
ElapsedTime UInt32
SQL AnsiString
ProcessId UInt32
ThreadId UInt32