Hi
I am developing an application control module i.e. restricting some applications from executing.
For this I registered a callback routine using PsSetCreateProcessNotifyRoutine.
In the callback routine I get the process ID using which I decide whether to allow the process or not.
If I don't have to allow the process I set the value of CreateInfo->CreationStatus of PS_CREATE_NOTIFY_INFO structure to STATUS_ACCESS_DENIED.
Everything works fine but the problem is when I prevent the process from being created the user gets a dialog box saying
"Windows cannot access the specified device, path or file. You may not have appropriate permissions to access the item"
I don't want this dialog box to be displayed.
Thanks and Regards
Utsav
I am developing an application control module i.e. restricting some applications from executing.
For this I registered a callback routine using PsSetCreateProcessNotifyRoutine.
In the callback routine I get the process ID using which I decide whether to allow the process or not.
If I don't have to allow the process I set the value of CreateInfo->CreationStatus of PS_CREATE_NOTIFY_INFO structure to STATUS_ACCESS_DENIED.
Everything works fine but the problem is when I prevent the process from being created the user gets a dialog box saying
"Windows cannot access the specified device, path or file. You may not have appropriate permissions to access the item"
I don't want this dialog box to be displayed.
Thanks and Regards
Utsav