Filter Events By User

12345<QueryList>   <Query Id="0" Path="Security">     <Select Path="Security">* [EventData[Data[@Name=’subjectUsername’]=’Tor’]]</Select>   </Query> </QueryList>

Rolemaster Fate Points

Fate Points Variant Rules for Rolemaster Standard System Copyright Nicholas HM Caldwell 1998 Destiny and the Player Characters “Some are born great, some achieve greatness, some have greatness thrust upon …

MSSQL Blocked Queries

12345SELECT * FROM sys.dm_exec_requests CROSS APPLY sys.dm_exec_sql_text(sql_handle) where session_id IN (     SELECT blocking_session_id FROM sys.dm_exec_requests WHERE DB_NAME(database_id)=’AIMS’ and blocking_session_id <> 0 )

Cannot Activate Windows

Moving an AWS AMI from one region to another causes Windows Validation to fail (180 days between checks). To tell Windows OS what validation server to use, run this powershell …

Initialize Disk Volume

Drive is attached but not usable in Computer Manager. – Launch command line – Run C:\> diskpart 12345list disk select disk 1 online disk attribute disk clear readonly exit

Recover Windows License Activation Key

Create a vbs file and run it: 1234567891011121314151617181920212223242526Set WshShell = CreateObject("WScript.Shell") MsgBox ConvertToKey(WshShell.RegRead("HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\DigitalProductId")) Function ConvertToKey(Key) Const KeyOffset = 52 i = 28 Chars = "BCDFGHJKMPQRTVWXY2346789" Do Cur = 0 …