There's one particular error showing up after giving all necessary privileges in unprivileged mode.
Could not return any performance counter values for \\.\C: .Error: Access is denied.
- This is triggered here when it tries to open a volume for later
DeviceIoControlcall.
It tries to open a volume (not the filesystem) to fetch performance counters. As per this microsoft doc,
Direct access to the disk or to a volume is restricted.
We can fix this error by giving administrative privileges to our unprivileged user. But isn't it the very thing we're trying to avoid?
Originally posted by @VihasMakwana in #4705 (comment)
There's one particular error showing up after giving all necessary privileges in unprivileged mode.
Could not return any performance counter values for \\.\C: .Error: Access is denied.DeviceIoControlcall.It tries to open a volume (not the filesystem) to fetch performance counters. As per this microsoft doc,
We can fix this error by giving administrative privileges to our unprivileged user. But isn't it the very thing we're trying to avoid?
Originally posted by @VihasMakwana in #4705 (comment)