/build/static/layout/Breadcrumb_cap_w.png

I want to run a Kace script from a batch file

I have a online Kace script I want to call from a batch file on the client. I want to create a batch file to attach to a managed install software package to call out for the online Kace script. 

Is this possible?

 


0 Comments   [ + ] Show comments

Answers (4)

Posted by: dugullett 11 years ago
Red Belt
3

I would vote here. This sounds like something you would need.

http://kace.uservoice.com/forums/82699-k1000/suggestions/1281951-ability-to-give-mi-s-dependencies


Comments:
  • good find - SMal.tmcc 11 years ago
    • I only know about it because I voted for it. I would think it would make things easier. I've needed it a time or two. - dugullett 11 years ago
Posted by: Mr_Moose 11 years ago
Senior White Belt
1

I have an install for an application that needs local admin rights and a permissions to a mapped drive. It can not be UNC because the way the app works.

The script I have will run as the correct user and map the drive for the install but I really have no control when it installs. The intent was to create an batch file to attach to the app and have it call out for the script for the install. Also as a managed install I get the reporting when and where it ran. 


Comments:
  • Can you create a MI calling a batch file that maps the drive as that user then calls the app.
    MI.bat
    Net use x: \\server\share \user:SpecificUser Password
    Start /wait x:app.exe - SMal.tmcc 11 years ago
Posted by: Mr_Moose 11 years ago
Senior White Belt
1

Yea got to love security on that... user name and password in clear text in a batch file. Trying to avoid that.


Comments:
  • And I do not think system can use a mapped drive. - Mr_Moose 11 years ago
    • It depends on your network, but it can if the mapped location allows anonymous access. - jknox 11 years ago
  • Use a batch to exe freeware and that will hide that, also tell your Mi to delete the local content after running. - SMal.tmcc 11 years ago
  • I think that this is where I wonder why I use Kace. If I have to batch and get other applications to do the work why not just use a logon script ro GPO?
    Just ranting. - Mr_Moose 11 years ago
    • We blend it here with the other aspects, we use GPO's, kix script at login and kace to deliver items to the desktops. we look at what would be easier and what section of IT (server or desktop) is in control of how the install goes - SMal.tmcc 11 years ago
Posted by: jknox 11 years ago
Red Belt
1

You can run a script manually if you know the script number.  You can get that by hovering your mouse over it in the script listing. It will show in the lower left hand side of the page.

Assuming 64 bit Windows and substituting script number for "xx":

program files (x86)\dell\kace\runkbot xx 0

For your problem, it seems like you could upload your batch as a dependency and then use an online kscript to run it from the computer as logged in users.

 

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

Share

 
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