/build/static/layout/Breadcrumb_cap_w.png

How can I run one single silent script, or how can I do forced silent check in?

I am looking to run a single script file to automate a KACE agent check in. My problem is I need the script to run silently so that the users are unaware it is being ran in the back ground. I have been told to use a vbs script to run the .bat silent, but why can't I run everything from the vbs script in the first place?? Here is my .bat script that currently does what I need it to aside from being silent. I also wonder is there any runkbot flags I could send that would reduce the amount of output?

@ECHO OFF

 cd "C:\Program Files\Dell\Kace\"

 runkbot.exe 6 0

Thanks!


2 Comments   [ + ] Show comments
  • I assume you know that the command runkbot.exe 6 0 is for forcing managed installs and runkbot.exe 4 0 is for forcing a check-in.
    https://support.software.dell.com/k1000-systems-management-appliance/kb/123963 - RichB 9 years ago
  • Yeah I was aware of that, we decided on the 6 0 because if we have an important piece of software we need to get on the laptops the 6 0 would work the best in a short window of time and it still does the check in. Unless I am wrong here and it wouldn't be the first time, but I thought the 6 0 was a better catch all sort of speak. Thanks for the input though and if I am way off please let me know! - Jhogue 9 years ago
    • In that instance, I'd run something like "runkbot 4 0 && runkbot 6 0" to run the inventory then the MIs. MIs rely on an accurate inventory in order to deploy. - jknox 9 years ago

Answers (2)

Answer Summary:
Posted by: Jhogue 9 years ago
Senior Yellow Belt
1
Set oShell = WScript.CreateObject ("WScript.Shell")
oShell.run "cmd /K CD C:\Program Files\Dell\Kace & runkbot.exe 6 0", 0, TRUE


This .vbs script will silently check in an agent


Comments:
  • Technically, that will run managed installs. Check in is runkbot 4 0. - jknox 9 years ago
Posted by: htomlinson 9 years ago
Purple Belt
0
What are you trying to accomplish that you cant do with the built in "Force Check-In" script?
You can accomplish this using the regular actions under tasks by using the "launch a program" action.

Comments:
  • I am trying to have off site laptops check in with the Kbox without requiring me to manually do something. The problem lies in the fact that when a laptop connects to a non managed network and then makes a VPN connection into our network the agent never checks in. The script I have wrote is launched by the connection software after it has connected to our network thus catching the laptops when they are only on for a moment. The "Force Check-in" requires that I either am aware that the laptop are online, or it requires that I know a time the laptop will be online. Considering these are off site computers I have no idea when either of those times occur :-/ So to answer your question I am trying to get KACE to do what it should already be doing :-( - Jhogue 9 years ago
    • Ahh... Well if it inventoried as soon as an AMP connection was established for computers that haven't inventoried then a lot of customers would have issues with their boxes around 8 AM every morning...
      It should check in once the connected time equals your connection interval.
      If it is never checking in are you sure the agent can reach the KBOX on 52230(assuming defaults)? - htomlinson 9 years ago
      • Oh yeah our laptop agents check in just fine IF they are given a 2 hour window of VPN connection. Our heavy laptop users have no issues with check ins. Our problem comes from laptop users that will hop on for like 5 min to 1.45 hours and they miss the 2 hour interval for check in. I honestly have no idea how other people haven't had problems with getting their laptops to check in over VPN connections as we have talked to Dell directly about this problem and they have told us that they can see that being a problem, but they didn't have a fix. Maybe other companies the users bring their laptops into the office, or their connection interval is set to a much shorter time? Our users are typically only going to hop on the laptop while they are at their homes and usually only for like 10-20 minutes. That behavior over the last few months has forced us into requiring users to bring their devices back to the office for patching :-( - Jhogue 9 years ago
      • We just forwarded an external port to port 80/443/52230 on our k1000 to allow the devices to access the kbox from any network.
        You might consider going that route. a major advantage would be the ability to update and re-config the vpn software if needed.

        Another option would be to move your offsite laptops into a separate org with shorted intervals. - htomlinson 9 years ago
  • That isn't a bad idea actually, or even doing both to help open up check in windows. Thanks for the time you have spent bouncing some ideas with me :-) Sorry I didn't get back to the post I was quite busy over the weekend. - Jhogue 9 years ago
 
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