/build/static/layout/Breadcrumb_cap_w.png

script not working through KACE

I created a script.
The script does get copied to the local computer
The script does not run, through Kace.
When I manually run the script - in the Kace folder, it runs and works as intended.
So, the script gets copied to the Kace folder on the local PC, but doesn't run unattended. I have to manually run it. What the Hell are we doing wrong?

help!!!!!!!!!!!!!1

0 Comments   [ + ] Show comments

Answers (4)

Posted by: isolinear 12 years ago
Orange Belt
1
Colorado

Change the script from an offline script to an online script, but choose run as user logged into the console - dont actually enter crendentials.

Then run the script an let me know if it work correctly. Either way let me know how it works out. Depending on if it works, I'll tell you what I have found in my testing of multiple issues with the newest release of the 5.3 server update.
Posted by: cserrins 12 years ago
Red Belt
0
I'm assuming this is K1000? Can you copy/paste the script, maybe a screenshot of what you have so that we can see it?
Otherwise I would call in to support so that they can do a webex with you and get you situated.
Posted by: Colorado 12 years ago
Senior Yellow Belt
0
Was there ever a solution to this? We're having the same issue. Thanks!
Posted by: Colorado 12 years ago
Senior Yellow Belt
0
Our users don't have admin rights so the script can't be run as the logged on user. But yes, that would have solved all of my problems! I was able to fix it once I found out what was going on. As best I can tell, it worked when I ran it locally because I was using the 64-bit version of wscript.exe. So, when my script was looking for a file in c:\windows\system32, it really looked there. When KACE executed wscript.exe, it was the 32-bit version and Windows x64 has a built in/hidden redirect that sends 32-bit apps to c:\windows\syswow64 when they request c:\windows\system32. That makes perfect sense, right? 64-bit apps look in system32 & 32-bit apps look in syswow64!?!?! Anyway, there's a workaround. If you use %windir%\sysnative instead c:\windows\system32, it lets the 32-bit app peek into c:\windows\system32. Using that, I was able to use the built in "verify the file "%windir%\Sysnative\xxxx.xxx" exists and KACE looked in c:\windows\system32 instead of c:\windows\syswow64. Hopefully that makes sense. It'll be nice when a 64-bit KACE client is released!
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
 
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