Hi, I'm trying to push a job to Make directory
md "C:\Users\%username%\Documents\test

this works if i do it from command line, but not when i create a task and push it.  I'm running under user context.  any ideas?

0 Comments   [ + ] Show Comments


Please log in to comment



if you are using KACE consider that the KACE AGENT works under the LocalSystem context so for it the %username% is something different.
You can use a KACE script and run it as an Online Script and select the option to run as the logged in user.
 Kind regards,
Marco - StockTrader
Answered 02/18/2016 by: StockTrader
Red Belt

Please log in to comment
Answer this question or Comment on this question for clarity