CreateFile / CreatefileA getlasterror returns 5, even after driver sddl settings reduced
Hari
21
Reputation points
We have developed a c++ application tool to interact with one of the inhouse driver. we are suppose to use IOCTL's to communicate with driver. Initially the driver SDDL information was D:P(A;;GA;;;SY), and understood only the system account privilege is required from the app side to communicate / open the device.
later the driver updated the security to SECURITY_STRING = "D:P(A;;GA;;;SY)(A;;GA;;;LA)" and still it fails sometimes.
I would like to know if you have any sample code / reference that can have system account access privilege. please help much appreciated.
Windows development | Windows API - Win32
2,789 questions
Sign in to answer