system
August 8, 2009, 1:10am
1
(imported topic written by ahousten91)
I am trying to take this action:
//Delete existing backup.bat on client
delete “c:\tools\backup.bat”
//Copy new backup.bat to client
copy “\file01\source_code\backup\backup.bat” “c:\tools”
The first part, the delete, is working fine. The second part, the copy is failing. When I log onto a client pc where the command fails via BigFix and open a dos window then paste in the exact same copy command, it works with no problem.
Any ideas?
Noah
August 8, 2009, 1:15am
2
(imported comment written by NoahSalzman)
Remember that the BigFix Agent is running as SYSTEM. Does SYSTEM have access to the \file01 share?
system
August 10, 2009, 8:22pm
3
(imported comment written by ahousten91)
I set up a null session share as documented here: http://support.bigfix.com/bes/misc/null_session_share.html . It works when I follow the steps in the support doc but not when I use BES.
BenKus
August 11, 2009, 10:41am
4
(imported comment written by BenKus)
Possibly try changing the last line from:
copy “\file01\source_code\backup\backup.bat” “c:\tools”
to
copy “\file01\source_code\backup\backup.bat” “c:\tools\backup.bat”
And it might be interesting to try to double-check the null-session share…
Ben