/build/static/layout/Breadcrumb_cap_w.png

trying to make directory under current user not working

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

Answers (1)

Posted by: StockTrader 8 years ago
Red Belt
1
Hello,

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
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ