/build/static/layout/Breadcrumb_cap_w.png

How can I use the K1000 to distribute a tiny .cmd file to each devices startup folder?

I'm having trouble figuring out how to do this.  I've tried copying the file from my machine to the samba share but I'm not sure what to do with it from there.  I've also tried using scripting but can't seem to figure this out.  It seems too simple to be having problems but I'm sure I'm overthinking it.

4 Comments   [ + ] Show comments
  • Check File Synchronization under the Distribution module. That might be what you seek. More info is in the Administrator Guide beginning at about page 308. http://www.kace.com/support/resources/documentation - grayematter 10 years ago
  • You could also zip the .cmd file and use scripting to extract it to the correct folder. That is my usual method of getting files to PC's. - KHaught 10 years ago
  • Or add the CMD to RUN (or RUNONCE) of the registry. - dedenker 10 years ago
  • Thank you grayematter - I was able to accomplish what I wanted using the File Synchronization - rpljosh 10 years ago

Answers (1)

Answer Summary:
Posted by: dugullett 10 years ago
Red Belt
2
Online script.

Add you .cmd as a dependency. 

Verify a File Exists:
Dir: %allusersprofile%\Microsoft\Windows\Start Menu\Programs\Startup
File: Your.cmd

Remediation: Run a Batch File
copy /y your.cmd "%allusersprofile%\Microsoft\Windows\Start Menu\Programs\Startup"

Don't be a Stranger!

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

Sign up! or login

View more:

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