w32tm /query /source does. Due to security reasons, the program may not spawn child processes, so just invoking w32tm and getting the output of it is not allowed and does not work.w32tm /query /source without spawning a new process to do so. It may effectively be impossible, which I feel like is entirely possible if the necessary API:s to make such a call simply aren't available.