WMIC command give Access denied

I’m new here!
I have a problem when using the WMIC command with jenkins.
What I am trying to do:
wmic process call create “cmd.exe”
wmic process where name=“program.exe” CALL setpriority “above normal”

12:45:32 ERROR:

12:45:32 Description = Access denied

Everything works using these commands directly on the Windows agent. Trying to run on Jenkins fails.

Does anyone know the solution to the above error?

does the user running jenkins (or the agent) have permission to do that?

I noticed that the problem is not with jenkins itself, but with the connection via SSH.
I haven’t found a solution yet

okay, same question, is the user you are sshing into have access to run wmic? it seems like a windows security setting.