We've deployed serialized device licenses for Acrobat DC. Some users are suddenly losing their licensing and being prompted to log in with Adobe credentials to use Acrobat. I'm still trying to sort that issue out, but in the meantime, have created a script that uses Adobe's licensing tools to remove any licenses and then reapply the serialized machine license. The batch file works well locally, and succeeds about half the time when deployed using Run Now scripting through the K1000. When it fails, the Run Now Status Activity Log shows the following error:

2015-11-03 14:10:06: Error 6002 received while executing script
2015-11-03 14:10:06: Run As Console Logged in user failed: No User logged in to console
I've googled the error and found some ITNinja articles dating back to K1000 5.x, but we're running the latest (6.4.119927).
Trying to track down the issue - what should I be checking?

Or - is there an ITNinja blog/question already addressing this that I'm not finding?



3 Comments   [ + ] Show Comments

Comments

  • This content is currently hidden from public view.
    Reason: Removed by member request
    For more information, visit our FAQ's.
  • I am having this same issue. Even if I use online KScript and set "Allow run without a logged-in user"

    Didn't start seeing this until these versions.
    Server: 6.4.120261
    Client: 6.4.180
  • Any resolution. Seems like a pretty dumb error. I' running as administrator with admin credentials and I still get this error. On the 4 it said it was successful it was not.
  • Have you found a solution to this? I'm experiencing the same issue. I've tried every "Run as" option and always get this error. My script works running locally outside of K1000.
  • This content is currently hidden from public view.
    Reason: Spam
    For more information, visit our FAQ's.
Please log in to comment

Answers

0
Finally taking the time to work through my list of annoyances, and this is next.

I created another task today and received the same error, only that was the message I got before I thought to update the Script File Name field to have a .bat extension rather than a .sh (got tripped up working in a multi-platform world). That said, on previous scripts, I know I have received this error when a .bat task was sent and succeeded on some machines but not others. One thing I noticed when working though this today is that for this script, when the .sh is already in the KACE\scripts folder on the target device, the .bat won't overwrite it, but still shows as succeeding to execute from the Run Now Status window. It is possible the tasks I had succeed on some and not on others was because the others were still holding older scripts (possibly .sh files) in KACE\scripts folder that the working .bat couldn't write over, yes?

Thanks for your time on this.
Answered 01/04/2016 by: sarahmurray
Senior Yellow Belt

Please log in to comment
This content is currently hidden from public view.
Reason: Removed by member request
For more information, visit our FAQ's.

0
I just encountered this error on a Mac VM. Is there a way to force running as root in the script XML?
Answered 02/26/2016 by: JasonEgg
Third Degree Green Belt

Please log in to comment
0
what are your settings under "Windows Run As"
Answered 11/03/2015 by: SMal.tmcc
Red Belt

  • Local System, and it sometimes fails when I am logged into the target machine myself (as admin) with the "No User logged in to console" error message at failure. I can't seem to find a pattern.
    • what version is your kbox and clients?
      • kbox - Version: 6.4.119927
        clients - mix: 6.3.314, 6.4.180
      • are the ones failing 6.3 clients, there was a bug I saw on the forum like this that was going to be fixed in version 6.4
    • Did you ever get this resolved? I am now seeing the same behavior with my system.
      • I haven't yet - been side-tracked working on K2000 imaging issues (possibly related(?) - we've made a considerable number of network changes in the last 6 months or so).
      • having stated that, let me add - the machines that return the "no user logged on" error still successfully process inventory updates, so the K1 and agent are communicating.
Please log in to comment
0
Your script is set to run as the current logged on user and no one is logged in.  If you can execute without the user credentials run as system and check the box marked "Allow run without a logged-in user".
Answered 11/04/2015 by: CraigT
Orange Belt

  • My script is set to run as system: "Run the Online Shell Script and KScripts as LOCAL SYSTEM account."
    It works on some systems and not on others and i've been unable to establish a pattern.
    • Did you check "Allow run without a logged-in user"? I forget to check this all the time. It's located under the Schedule section.
      • That option is available for Kscripts, not shell scripting. And the part that has me puzzled is that in testing, I can be logged in to machines myself (admin credentials, even) when the script is running and it fails with the mentioned error message.
Please log in to comment
Answer this question or Comment on this question for clarity
Admin Script Editor
Admin Script Editor is an integrated scripting environment available free here at ITNinja

Share