/build/static/layout/Breadcrumb_cap_w.png

Copy a License File to all computers with a certain label

Need help creating a script to copy a license file (.LIC) to all computers having a certain label.  I'm not a scripting expert so I would help with the script.

I need to also overwrite the one that is there (named the same as the new file)

2 Comments   [ + ] Show comments
  • what is the destination path? - SMal.tmcc 8 years ago
  • On all the targeted machines it would be C:\Program Files (x86)\NetSupport\NetSupport School\
    and I would be copying this either from the KBOX or just a regular server share \\server\ - ericdanuser 8 years ago

Answers (2)

Posted by: SMal.tmcc 8 years ago
Red Belt
0
for the script you would upload the license file as an dependency and use

bfmXTi.jpeg

Comments:
  • /c xcopy $(KACE_DEPENDENCY_DIR)\licensefile.lic "c:\somedir\another dir\licensefile.lic" /q /y - SMal.tmcc 8 years ago
Posted by: Nico_K 8 years ago
Red Belt
0
You can also use the file sync functionality:
Distribution|File Syncronizations.
You need to setup a software item with the attached file.
Then fill out all needed fields and let it sync during check in.
Its easier to get all nessesary machines since they need to check in regulary.

Comments:
  • Nico_K The File Sync is the route I took before I posted this. Do we know if it will overwrite the existing one since it is named the same thing? - ericdanuser 8 years ago

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