{"action":"created","issue":{"url":"https://api.github.com/repos/chocolatey/choco/issues/263","labels_url":"https://api.github.com/repos/chocolatey/choco/issues/263/labels{/name}","comments_url":"https://api.github.com/repos/chocolatey/choco/issues/263/comments","events_url":"https://api.github.com/repos/chocolatey/choco/issues/263/events","html_url":"https://github.com/chocolatey/choco/issues/263","id":72504180,"number":263,"title":"Failed to delete a .dll from lib-bkp during uninstall (access denied)","user":{"login":"vorou","id":3007167,"avatar_url":"https://avatars.githubusercontent.com/u/3007167?v=3","gravatar_id":"","url":"https://api.github.com/users/vorou","html_url":"https://github.com/vorou","followers_url":"https://api.github.com/users/vorou/followers","following_url":"https://api.github.com/users/vorou/following{/other_user}","gists_url":"https://api.github.com/users/vorou/gists{/gist_id}","starred_url":"https://api.github.com/users/vorou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vorou/subscriptions","organizations_url":"https://api.github.com/users/vorou/orgs","repos_url":"https://api.github.com/users/vorou/repos","events_url":"https://api.github.com/users/vorou/events{/privacy}","received_events_url":"https://api.github.com/users/vorou/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/chocolatey/choco/labels/0%20-%20_Triaging","name":"0 - _Triaging","color":"eeeeee"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-05-01T19:30:18Z","updated_at":"2015-05-01T19:38:47Z","closed_at":null,"body":"It happens after my `chocolateyUninstall.ps1` is finished. I've tried to log handles, didn't find the file there. I can remove it manually after uninstalling is finished.\r\n\r\n```\r\nAttempting to delete directory \"C:\\ProgramData\\chocolatey\\lib-bkp\\rbtray\".\r\nThis is try 1/3. Retrying after 300 milliseconds.\r\n Error converted to warning:\r\n System.UnauthorizedAccessException: Access to the path 'RBHook.dll' is denied.\r\n   at System.IO.Directory.DeleteHelper(String fullPath, String userPath, Boolean recursive, Boolean throwOnTopLevelDirectoryNotFound)\r\n   at System.IO.Directory.Delete(String fullPath, String userPath, Boolean recursive, Boolean checkHost)\r\n   at chocolatey.infrastructure.tolerance.FaultTolerance.<>c__DisplayClass1.<retry>b__0()\r\n   at chocolatey.infrastructure.tolerance.FaultTolerance.retry[T](Int32 numberOfTries, Func`1 function, Int32 waitDurationMilliseconds, Int32 increaseRetryByMilliseconds)\r\nThis is try 2/3. Retrying after 400 milliseconds.\r\n Error converted to warning:\r\n System.UnauthorizedAccessException: Access to the path 'RBHook.dll' is denied.\r\n   at System.IO.Directory.DeleteHelper(String fullPath, String userPath, Boolean recursive, Boolean throwOnTopLevelDirectoryNotFound)\r\n   at System.IO.Directory.Delete(String fullPath, String userPath, Boolean recursive, Boolean checkHost)\r\n   at chocolatey.infrastructure.tolerance.FaultTolerance.<>c__DisplayClass1.<retry>b__0()\r\n   at chocolatey.infrastructure.tolerance.FaultTolerance.retry[T](Int32 numberOfTries, Func`1 function, Int32 waitDurationMilliseconds, Int32 increaseRetryByMilliseconds)\r\nMaximum tries of 3 reached. Throwing error.\r\nAttempted to remove 'C:\\ProgramData\\chocolatey\\lib-bkp\\rbtray' but had an error::\r\n System.UnauthorizedAccessException: Access to the path 'RBHook.dll' is denied.\r\n   at System.IO.Directory.DeleteHelper(String fullPath, String userPath, Boolean recursive, Boolean throwOnTopLevelDirectoryNotFound)\r\n   at System.IO.Directory.Delete(String fullPath, String userPath, Boolean recursive, Boolean checkHost)\r\n   at chocolatey.infrastructure.tolerance.FaultTolerance.<>c__DisplayClass1.<retry>b__0()\r\n   at chocolatey.infrastructure.tolerance.FaultTolerance.retry[T](Int32 numberOfTries, Func`1 function, Int32 waitDurationMilliseconds, Int32 increaseRetryByMilliseconds)\r\n   at chocolatey.infrastructure.tolerance.FaultTolerance.<>c__DisplayClass4.<try_catch_with_logging_exception>b__3()\r\n   at chocolatey.infrastructure.tolerance.FaultTolerance.try_catch_with_logging_exception[T](Func`1 function, String errorMessage, Boolean throwError, Boolean logWarningInsteadOfError)\r\n```"},"comment":{"url":"https://api.github.com/repos/chocolatey/choco/issues/comments/98214476","html_url":"https://github.com/chocolatey/choco/issues/263#issuecomment-98214476","issue_url":"https://api.github.com/repos/chocolatey/choco/issues/263","id":98214476,"user":{"login":"ferventcoder","id":63502,"avatar_url":"https://avatars.githubusercontent.com/u/63502?v=3","gravatar_id":"","url":"https://api.github.com/users/ferventcoder","html_url":"https://github.com/ferventcoder","followers_url":"https://api.github.com/users/ferventcoder/followers","following_url":"https://api.github.com/users/ferventcoder/following{/other_user}","gists_url":"https://api.github.com/users/ferventcoder/gists{/gist_id}","starred_url":"https://api.github.com/users/ferventcoder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ferventcoder/subscriptions","organizations_url":"https://api.github.com/users/ferventcoder/orgs","repos_url":"https://api.github.com/users/ferventcoder/repos","events_url":"https://api.github.com/users/ferventcoder/events{/privacy}","received_events_url":"https://api.github.com/users/ferventcoder/received_events","type":"User","site_admin":false},"created_at":"2015-05-01T19:38:47Z","updated_at":"2015-05-01T19:38:47Z","body":"Can you include the full log please?\r\n"}}