I'm running jenkins pipeline on a slave computer (slave run from agent command line - user with full admin privileges). when trying to run a tool from system32 folder, it failes: The system cannot find the path specified. if I copy the tool to c:\myfolder, it succeeds.
I've also tried to run msbuild - fails on post build regsvr32. but, when running the same command via computer's command line (not jenkins), it succeeds.
It looks like I have a problem with permissions but I do not know what is wrong. jenkins is running via command line with a user that have administrator permissions.
any ideas?