Start/StopService and FilterLoad/Unload missing token privilege

Hello,

It appears that something was changed recently and a new privilege is required for these? My app enables SE_LOAD_DRIVER and SE_SECURITY privileges, AdjustTokenPrivileges return TRUE, and GetLastError returns ERROR_SUCCESS (so it’s not ERROR_NOT_ALL_ASSIGNED, which is probably everyone’s first idea, myself included).

Does anyone know what is up? Fltmc Unload works of course, and the unload works on some Vms, but not all.

Regards, Dejan.

Heh, 2 days debugging and solved 5 minutes after posting :slight_smile: