Questions tagged [event-viewer]

Event Viewer - tool in Windows systems that allows users to inspect the event logs.

Event Viewer - tool in Windows systems that allows users to inspect the event logs.

353 questions
0
votes
1 answer

Is it possible to inject events in the event viewer in an old date

I need to know if anyone can inject events in event viewer logs in an old date, how event viewer data are stored, and can anyone change them?
Saw
  • 6,199
  • 11
  • 53
  • 104
0
votes
2 answers

Event Viewer sorting data

How can I filter the Event viewer by databinding it in a gridview?
user175877
0
votes
1 answer

Write windows event log from javascript

Does anyone know how to write an event to the windows event log using javascript (or whether it's even possible)? Thanks, Genaro
GPicazo
  • 6,516
  • 3
  • 21
  • 24
0
votes
2 answers

What's the difference between using EventLog .NET type and having eventLog registry entry?

Using System.Diagnostics.EventLog .NET type one can programmatically create logs into the Event Viewer application. Does anybody knows about "HKLM\SYSTEM\CurrentControlSet\Services\EventLog\Application\XXX\" registry entry? Who uses this assembly…
dattebayo
  • 2,012
  • 4
  • 30
  • 40
0
votes
1 answer

Issue with Response.TransmitFile

I have been working on an issue for the past 2 days.I have tried to debug in every way possible but in vain. Everything works fine on my local.But on production this fails. Here is a brief description about the problem. I have a download button and…
0
votes
2 answers

The file size exceeds the limit allowed and cannot be saved on EventLog

Getting this exception The file size exceeds the limit allowed and cannot be saved when writing to event viewer using EventLog Code used: string cs = "LoggingService"; EventLog elog = new EventLog(); …
Praneeth
  • 2,527
  • 5
  • 30
  • 47
0
votes
3 answers

Process.Kill() is not logged in Event Viewer

I have a parent service that watches other child service processes. When I need to kill a certain child process via the process' object.Kill() and waiting for it to complete. Then, I'm surprised that this is not logged to the Event Viewer…
sOltan
  • 447
  • 1
  • 7
  • 20
-1
votes
1 answer

How to disable Audit Removable Storage on partition D:\

I have admin rights to Windows server 2016(on virtual machine) with two partitions C:/ and D:/. On local disk D:/ web server is started. The problem is that in event viewer security logs are spammed with Audit Success for every file in D:/. One more…
Hristian Yordanov
  • 650
  • 1
  • 6
  • 25
-1
votes
2 answers

Get Incorrect handle as error with GetFileSizeEx

My goal is to find the size of log files which is present in (%SystemRoot%\System32\winevt\logs) using c++ (For Eg : To get the file size of Application.evtx). I tried with GetFileSizeEx…
Naresh
  • 9
  • 1
-1
votes
1 answer

Bad Practice to log everything to the Event Viewer?

I searched this and couldn't find an answer. How many entries can the event viewer hold? I am trying to log the origination of a rest request as I have multiple applications that call a single api. I want to log all of these requests in the event…
CodeMan03
  • 570
  • 3
  • 18
  • 43
-1
votes
2 answers

Windows - how can I create event log with "Comment" level?

How can I create a "comment" Level of a log manually ? in number the level is 5. Here an image:
-1
votes
1 answer

I run my code and, File is flagged as dirty. How can I fix it?

package main import ( "fmt" "time" evtx "github.com/0xrawsec/golang-evtx/evtx" ) func main() { fd, err := evtx.Open("D:\\ForwardedEvents\\Logs\\ForwardedEvents.evtx") if err != nil { fmt.Println(err) } stopchan…
Asher
  • 1
  • 2
-1
votes
2 answers

Windows Event Viewer xPath query doesn't work on certain strings. Escape characters?

I am trying to return an event log entry from the Windows security log using xPath (in PowerShell, in Event Viewer UI) and not succeeding. This query doesn't work, as it returns zero results event though there is are appropriate entries in the…
Julian
  • 13
  • 3
-1
votes
1 answer

How to add specific time in recycling application pool through IIS and it will show in event logs?

I wanted to test an application app pool in recycling specific time. I already configure it in IIS settings but still upon checking on event viewer recycling time is not showing. Is there anybody can help me with it?
-1
votes
1 answer

Where should be custom EventLog created?

I have a Windows Service. I'm struggling to get an EventLog working properly. In the Windows Service's constructor I do: public MyService() { InitializeComponent(); AutoLog = false; if…
Ish Thomas
  • 2,270
  • 2
  • 27
  • 57
1 2 3
23
24