I want to run this command and capture the output:
fsutil fsinfo volumeInfo C:
But unless I open a cmd.exe manually "as administrator", it won't execute the command for some absurd reason. This means that it cannot be run from PHP CLI.
What is a different, non-stupid way of getting this information? And why is the fsutil command requiring administrative privileges?
Please note that I've spent ages of my life just trying to get PHP CLI to run as administrator for this kind of thing to work, but it never does work. All "workarounds" I've heard are insane and make my skin crawl.