RainwayApp / warden

Warden.NET is an easy to use process management library for keeping track of processes on Windows.
Apache License 2.0
346 stars 25 forks source link

Access Denied #5

Closed kareemsulthan07 closed 7 years ago

kareemsulthan07 commented 7 years ago

Hi., While executing the WardenExample project in VS 2017 15.3 i'm getting "Access denied" error. And, here is exception details, Warden.Core.Exceptions.WardenException occurred HResult=0x80131500 Message=Access denied Source=Warden StackTrace: at Warden.Core.WardenManager.Initialize(Boolean killTressOnExit) in E:\Projects\Gits\warden\Warden\Core\WardenManager.cs:line 45 at WardenExample.Program.d__1.MoveNext() in E:\Projects\Gits\warden\WardenExample\Program.cs:line 30 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Runtime.CompilerServices.TaskAwaiter.GetResult() at WardenExample.Program.Main(String[] args) in E:\Projects\Gits\warden\WardenExample\Program.cs:line 25

Inner Exception 1: ManagementException: Access denied

andrewmd5 commented 7 years ago

Warden requires administrator privileges for your application. There is currently no polling fallback.