Hi,
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”
or
wmic process where name=“program.exe” CALL setpriority “above normal”
Result:
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?