/build/static/layout/Breadcrumb_cap_w.png

Cannot run batch file as admin

I'm trying to execute a simple batch file as admin and despite running with my rights (network admin), local system, or a service account with admin rights the script runs but does not execute successfully. I have run the script manually and confirmed it requires admin rights and works correctly. I'm not really sure where to go from there. 


2 Comments   [ + ] Show comments
  • Can you post more info about the script, how you are running it in KACE & what you are trying to achieve? This could help with further assisting you - TheITNooB 3 years ago
  • More info! lol.
    Could be kittens jamming the batch file for all we know... Kittens you say? - rileyz 3 years ago

Answers (1)

Posted by: Michelle.ashby 3 years ago
Purple Belt
0

Have you checked the log? Use Run Now to run the script and under Run Now status you will then have access to a log if you click on the job you ran (once it says completed).

OBzFxOAAAQgAAEIQAACEIghgOQj+Ug+MWAuBpD8mIzAMAQgAAEIQAACEIBA8ASQfATPnOBZqlgz1+hVC0h+8LmLCUAAAhCAAAQgAAEIxBBA8pF8JJ8YMBcDSH5MRmAYAhCAAAQgAAEIQCB4Akg+gmdO8KhuR1e3LXFB8oPPXUwAAhCAAAQgAAEIQCCGAJKP5CP5xIC5GEDyYzICwxCAAAQgAAEIQAACwRP4f+4hQHzkle3qAAAAAElFTkSuQmCC

If the log is not helpful, maybe you can add more logging to your batch script so the log tells you where it is getting stuck (ie. output successfully completed X step).

I often find that it says it completed successfully but it can't find the script or something to this tune once I look in the log. If you see an error in here that doesn't make sense, post it and maybe I can help further?



 
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