• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 630
  • Last Modified:

ERROR ACCESS DINIED with NDIS Intermediate Driver (non - Admin)

I have a NDIS Intermediate Driver. But i can run only with Administrators privileges. When i run with normal user, the function CreateFile(device_file_name, GENERIC_WRITE, 0, NULL, CREATE_ALWAYS, FILE_ATTRIBUTE_NORMAL, NULL) return invalid handle and GetLastError return value 5 (ERROR_ACCESS_DENIED).  Please help me fix this bug. How to use IoCreateDeviceSecure or How to config in INF file?
0
doluong
Asked:
doluong
1 Solution
 
mahesh1402Commented:
>>How to config in INF file?

Specifying a Security Descriptor From an INF File
http://msdn2.microsoft.com/en-us/library/aa377450.aspx

-MAHESH
0
 
Computer101Commented:
Forced accept.

Computer101
EE Admin
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now