Access Denied in Powershell & Cmd prompt

Using either ps or cmd terminal when I try to run W32tm /query /source (domain workstations are off an hour) I get a “access is denied” error. I don’t want to interrupt the user with splashtop & just need a terminal. I get an nt authority/system when I do a whoami.
How can I run this command?
Thanks

I get the same “access denied” on a domain joined workstation.

Try putting it in a script and running that way. Background prompt has some weird issues.

That worked, thanks for the tip. I was wondering if there was a permission difference. Hope @john12 gives it a try.