For the life of me I cannot figure out how to copy a file to all computers using the K1000 appliance. I dont want to use File Sync because I need to push the file out right away and so far what I've seen is that File Sync sucks for that - you have to wait until the machine checks in - thats silly.

So in the scripts section, I'm trying to run an online script, run as domain admin, and I've tried two different tasks 1- launch cmd and commit "xcopy \\share\folder\file c:\" and 2) launch batch file (with the same command). I've used start /wait and that doesn't help. Nothing will work so far. It shouldn't be hard to copy a 1K file to all PCs using kace but it has been .

Can someone please help?
0 Comments   [ + ] Show Comments

Comments

Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Answers

0
Hmmm. Can you share the exact script (all of it, excluding your domain admin account info) for the group to make suggestions? Screenshot or XML export is best.
Answered 10/09/2011 by: cblake
Red Belt

Please log in to comment
-1
Here's one we use for a simple file copy. For the task choose "Run a Batch File," give it a Script Name and modify these Batch file contents as needed for program "XYZ" and your UNC path to the samba share at "kbox\client."

md "%ProgramFiles%\XYZ"
xcopy "\\kbox\client\XYZ\*.*" "%ProgramFiles%\XYZ" /E /S /H /Y
Answered 10/09/2011 by: RichB
Third Degree Green Belt

Please log in to comment
0
\\share\folder\file
Does this location require AD credentials the server doesn't have? The samba share is better for server to file access permissions.
Answered 10/09/2011 by: RichB
Third Degree Green Belt

Please log in to comment
0
You can always add the file needed as a dependency and copy it from the local file system. i.e.
xcopy * c:\

This would copy everything from the dependency directory to the root of C:. Please note that if this is a "new" file and you have replication enabled, you'll have to failover or synchronize your replication machines.
Answered 10/10/2011 by: craig.thatcher
Orange Belt

Please log in to comment
0
I already did. The script is "xcopy \\share\folder\file c:\"

thats it. should work.
Answered 10/11/2011 by: lefttunknown
Orange Belt

Please log in to comment
0
I thought about putting the file in \\kbox\client\ but I dont have permissions. Any idea how to change that?

ORIGINAL: RichB

Here's one we use for a simple file copy. For the task choose "Run a Batch File," give it a Script Name and modify these Batch file contents as needed for program "XYZ" and your UNC path to the samba share at "kbox\client."

md "%ProgramFiles%\XYZ"
xcopy "\\kbox\client\XYZ\*.*" "%ProgramFiles%\XYZ" /E /S /H /Y

Answered 10/11/2011 by: lefttunknown
Orange Belt

Please log in to comment
0
ORIGINAL: lefttunknown

I thought about putting the file in \\kbox\client\ but I dont have permissions. Any idea how to change that?


mount the share \\kbox\clientdrop with admin credentials, add your file and it will show up in \\kbox\client. Enable the share in Security settings.
Answered 10/11/2011 by: RichB
Third Degree Green Belt

Please log in to comment
0
great thank you. I did just figure that out. I am trying to deploy the dell cctk along with the config file so I'm hoping I can do both in 1 script. If anyone has any recommendation, I would love to hear it. I have a thread going here: http://itninja.com/question/servers-installation-help13&mpage=1&key=&#83381
Answered 10/11/2011 by: lefttunknown
Orange Belt

Please log in to comment
0
add the file as a dependency to the script. accessing the share is not necessary since it will copy the files down to execute the script.
Answered 10/12/2011 by: craig.thatcher
Orange Belt

Please log in to comment
0

System account does not have network access which is what the scripts are set to as default, you need to run it as a user with network access to the source folder.

Answered 02/22/2013 by: MoranTug
Senior Purple Belt

Please log in to comment
Answer this question or Comment on this question for clarity