Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm using a DLL for hooking keyboard functions. In Windows Server 2000 and Windows 7 it is getting deleted.

Any ideas why it is getting deleted and how to avoid this?

share|improve this question

migrated from Jul 29 '10 at 16:49

This question came from our site for professional and enthusiast programmers.

This question isn't about Visual C++, and correct answers are going to include tools like sysInternals' Process Monitor. Voting to move to superuser. – Ben Voigt Jul 28 '10 at 13:31
Perhaps it looks like a security threat? Key loggers are popular for capturing confidential data. – DOK Jul 28 '10 at 13:31
Most probably,anti-virus installed is detecting it as some kind of threat !! – Mr-Right Jul 29 '10 at 16:53

Probably some virus checker thinking you have a virus. Keyboard hooks are a major security issue. Imagine entering passwords or banking info and having the keyboard hook send the info to another party.

share|improve this answer
Bingo............... – DOK Jul 28 '10 at 13:34
HI , Thanks for ur reply whether windows will write any log regarding deletion of files. If yes please tell me where i can see. Thank You – balajistackoverflow Jul 29 '10 at 8:39
You must have a virus checker on your machine that is doing it, most virus checkers will show you their removed threats. You might be able to configure it to not remove a certain process or a certain folder. – Romain Hippeau Jul 29 '10 at 12:43
Windows Defender may have removed it. Defender logs are in Event Viewer. – Moab Jul 29 '10 at 17:15

Most probably,anti-virus installed is detecting it as some kind of threat !!

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.